1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00
niv/script/test
2019-06-12 13:48:59 +02:00

18 lines
302 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
#!nix-shell --keep SSL_CERT_FILE
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"