pkgs: comma: allow override which nixpkgs is used
This is useful for me to use my pinned `pkgs` instead.
This commit is contained in:
parent
b8f1f85bc2
commit
60309fad02
|
@ -30,4 +30,4 @@ if [ -z "$PROGRAM" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nix shell "nixpkgs#$PROGRAM" -c "$@"
|
nix shell "${COMMA_PKGS_FLAKE:-nixpkgs}#$PROGRAM" -c "$@"
|
||||||
|
|
Loading…
Reference in a new issue