1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00
niv/script/test

18 lines
302 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-06-12 14:48:59 +03:00
#!nix-shell --keep SSL_CERT_FILE
2019-02-01 17:51:40 +03:00
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-06-09 23:42:35 +03:00
nix-build --sandbox --no-link --max-jobs 10
2019-02-03 16:07:42 +03:00
2019-02-01 17:51:40 +03:00
echo "all good"