1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-08 08:26:02 +03:00
niv/script/test

17 lines
245 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"
2019-02-05 16:19:17 +03:00
# Build and create a root
2019-04-04 13:32:51 +03:00
nix-build --no-link
2019-02-03 16:07:42 +03:00
2019-02-01 17:51:40 +03:00
echo "all good"