1
1
mirror of https://github.com/nmattia/niv.git synced 2024-12-02 00:18:06 +03:00
niv/script/test
2019-02-05 14:30:07 +01:00

17 lines
235 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
echo "all good"