mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-17 16:19:14 +00:00
nix flake lock --override-input sp-modules
instead of --update-input
This commit is contained in:
parent
0e6d5414f5
commit
1344aaa92c
|
@ -423,7 +423,7 @@ infect() {
|
||||||
# see https://github.com/NixOS/nix/issues/3978#issuecomment-952418478
|
# see https://github.com/NixOS/nix/issues/3978#issuecomment-952418478
|
||||||
/root/.nix-profile/bin/nix flake lock ${LOCAL_FLAKE_DIR} \
|
/root/.nix-profile/bin/nix flake lock ${LOCAL_FLAKE_DIR} \
|
||||||
--extra-experimental-features "nix-command flakes" \
|
--extra-experimental-features "nix-command flakes" \
|
||||||
--update-input sp-modules
|
--override-input sp-modules ${LOCAL_FLAKE_DIR}/sp-modules
|
||||||
|
|
||||||
echo "nix build the configuration flake..."
|
echo "nix build the configuration flake..."
|
||||||
if ! /root/.nix-profile/bin/nix build \
|
if ! /root/.nix-profile/bin/nix build \
|
||||||
|
|
Loading…
Reference in a new issue