mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 13:01:28 +00:00
nixos: nix flake lock /etc/nixos --update-input sp-modules
This commit is contained in:
parent
400be88738
commit
6735784bb7
|
@ -100,9 +100,9 @@ in
|
|||
SendSIGKILL = "no";
|
||||
};
|
||||
script = ''
|
||||
# relock sp-modules to absolute path (in terms of Nix) due to Nix bugs:
|
||||
# https://github.com/NixOS/nix/issues/9339
|
||||
${config.nix.package}/bin/nix flake lock /etc/nixos --override-input sp-modules /etc/nixos/sp-modules
|
||||
# sync with sp-modules sub-flake
|
||||
# (https://github.com/NixOS/nix/issues/9339)
|
||||
${config.nix.package}/bin/nix flake lock /etc/nixos --update-input sp-modules
|
||||
|
||||
${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake /etc/nixos#sp-nixos
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue