mirror of
https://github.com/nmattia/niv.git
synced 2024-11-07 22:36:53 +03:00
20 lines
340 B
Plaintext
Executable File
20 lines
340 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
|
|
#!nix-shell --keep NIX_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"
|