mirror of
https://github.com/Platonic-Systems/process-compose-flake.git
synced 2024-10-26 22:38:39 +03:00
test.sh: check for NixOS
This commit is contained in:
parent
97e7dd23d4
commit
641ae9fa27
4
test.sh
4
test.sh
@ -7,4 +7,6 @@ cd ./example
|
|||||||
nix build -L --no-link --print-out-paths --override-input process-compose-flake ..
|
nix build -L --no-link --print-out-paths --override-input process-compose-flake ..
|
||||||
|
|
||||||
# On NixOS, run the VM tests to test runtime behaviour
|
# On NixOS, run the VM tests to test runtime behaviour
|
||||||
nix flake check -L --override-input process-compose-flake ..
|
if command -v nixos-rebuild &> /dev/null; then
|
||||||
|
nix flake check -L --override-input process-compose-flake ..
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user