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
395f15f181
commit
da21e7a6f2
|
@ -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