1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-29 09:42:35 +03:00
niv/script/test

20 lines
268 B
Plaintext
Raw Normal View History

2019-02-01 17:51:40 +03:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash
#!nix-shell -I nixpkgs=./nix
#!nix-shell -p nix
#!nix-shell --pure
2019-02-03 16:07:42 +03:00
set -euo pipefail
export NIX_PATH="nixpkgs=./nix"
2019-02-01 17:51:40 +03:00
echo "Building"
nix build --no-link
2019-02-03 16:07:42 +03:00
echo "Testing shell"
nix-shell --run "echo -n"
2019-02-01 17:51:40 +03:00
echo "all good"