mirror of
https://github.com/nmattia/niv.git
synced 2024-11-08 08:26:02 +03:00
17 lines
245 B
Plaintext
Executable File
17 lines
245 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 --no-link
|
|
|
|
echo "all good"
|