1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-19 11:27:40 +03:00
niv/script/test
2019-06-09 23:04:10 +02:00

17 lines
269 B
Plaintext
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -i bash
#!nix-shell -I nixpkgs=./nix
#!nix-shell -p nix
#!nix-shell --pure
set -euo pipefail
export NIX_PATH="nixpkgs=./nix"
echo "Building"
# Build and create a root
nix-build --sandbox --no-link --max-jobs 10
echo "all good"