forked from mirrors/nixpkgs
nixos containers: fix system path when reloading
This commit is contained in:
parent
f4b7be4f04
commit
682777ed24
|
@ -299,7 +299,7 @@ in
|
||||||
''
|
''
|
||||||
#! ${pkgs.stdenv.shell} -e
|
#! ${pkgs.stdenv.shell} -e
|
||||||
${nixos-container}/bin/nixos-container run "$INSTANCE" -- \
|
${nixos-container}/bin/nixos-container run "$INSTANCE" -- \
|
||||||
bash --login -c "/nix/var/nix/profiles/system/bin/switch-to-configuration test"
|
bash --login -c "''${SYSTEM_PATH:-/nix/var/nix/profiles/system}/bin/switch-to-configuration test"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
SyslogIdentifier = "container %i";
|
SyslogIdentifier = "container %i";
|
||||||
|
|
Loading…
Reference in a new issue