mirror of
https://github.com/justinwoo/easy-dhall-nix.git
synced 2024-11-23 03:29:42 +01:00
e555e2201c
The test list would go out-of-date when new packages were added. This does the same check as before, but uses the binaries we already specify on the nix level (via a passthru). The next step is to try to run the binaries (e.g. with --version), which will give us a better test of whether they are actually executable.
4 lines
83 B
Bash
Executable file
4 lines
83 B
Bash
Executable file
#!/usr/bin/env sh
|
|
set -e
|
|
test_script="$(nix-build ./test.nix)"
|
|
exec "$test_script"
|