mirror of
https://github.com/nix-community/naersk
synced 2024-11-26 13:30:17 +00:00
15 lines
261 B
Text
Executable file
15 lines
261 B
Text
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash
|
|
#!nix-shell -I nixpkgs=./nix
|
|
#!nix-shell -p nix
|
|
|
|
set -euo pipefail
|
|
|
|
export NIX_PATH="nixpkgs=./nix"
|
|
|
|
echo "Building"
|
|
|
|
# Build and create a root
|
|
nix-build ./test.nix --sandbox --no-link --max-jobs 10
|
|
|
|
echo "all good"
|