language: nix
script:
- - nix-env -i -f default.nix -A latest
- - ./check.sh .
+ - nix-build --no-out-link scripts/check.nix
+ - nix-env -i -f default.nix -A latest
+ - ./scripts/check.sh .
notifications:
slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB
Then, run `nix build`. It will give you the correct values for the hashes. Correct those, run it again and you'll see `result-` directories, one per version. Go ahead and make sure they all work.
-Finally, don't forget to update `check.sh` with the latest version number.
+Finally, don't forget to update `scripts/check.sh` with the latest version number.
+++ /dev/null
-[ "$(clever --version)" == "1.6.3" ]
--- /dev/null
+with import <nixpkgs> {};
+
+# Check all versions
+lib.collect lib.isDerivation (callPackage ../default.nix {})
--- /dev/null
+#!/usr/bin/env bash
+
+[ "$(clever --version)" = "1.6.3" ]