allow ability to override nixpkgs

This commit is contained in:
eyjhb 2024-08-14 12:22:33 +02:00
parent 6655200f41
commit 87f69b6f5a
Signed by: eyjhb
GPG key ID: 609F508E3239F920
5 changed files with 11 additions and 4 deletions

View file

@ -4,7 +4,7 @@ set -ex
USERNAME="root"
IP="gerd.fricloud.dk"
NIXPKGS=$(jq -r '.nixpkgs.url' ./shared/sources/sources.json)
NIXPKGS=$(nix build --impure --json --expr '(import ./shared/sources).nixpkgs' | jq -r '.[].outputs.out')
export NIX_PATH="nixpkgs=$NIXPKGS"