mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
switch-to-configuration: Use full path to sync
This commit is contained in:
parent
8d5c252ae1
commit
86f11dadaa
@ -36,7 +36,7 @@ if ($action eq "switch" || $action eq "boot") {
|
||||
}
|
||||
|
||||
# Just in case the new configuration hangs the system, do a sync now.
|
||||
system("sync") unless ($ENV{"NIXOS_NO_SYNC"} // "") eq "1";
|
||||
system("@coreutils@/bin/sync") unless ($ENV{"NIXOS_NO_SYNC"} // "") eq "1";
|
||||
|
||||
exit 0 if $action eq "boot";
|
||||
|
||||
|
@ -148,7 +148,7 @@ let
|
||||
preferLocalBuild = true;
|
||||
buildCommand = systemBuilder;
|
||||
|
||||
inherit (pkgs) utillinux;
|
||||
inherit (pkgs) utillinux coreutils;
|
||||
systemd = config.systemd.package;
|
||||
|
||||
inherit children;
|
||||
|
Loading…
Reference in New Issue
Block a user