diff options
author | Florian Klink <flokli@flokli.de> | 2020-05-21 10:35:34 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-05-21 10:35:34 +0200 |
commit | d69f95e2fe4f7fe157539ad8312c73390d456688 (patch) | |
tree | 2c47a52fa50f1273b21cbd80077f658ac558a97b /pkgs/tools/virtualization/google-compute-engine | |
parent | 2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4 (diff) | |
download | nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.tar nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.tar.gz nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.tar.bz2 nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.tar.lz nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.tar.xz nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.tar.zst nixlib-d69f95e2fe4f7fe157539ad8312c73390d456688.zip |
google-compute-engine: run systemctl of the currently running systemd
Diffstat (limited to 'pkgs/tools/virtualization/google-compute-engine')
-rw-r--r-- | pkgs/tools/virtualization/google-compute-engine/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/virtualization/google-compute-engine/default.nix b/pkgs/tools/virtualization/google-compute-engine/default.nix index 48255ca68a73..34f2bc9e1909 100644 --- a/pkgs/tools/virtualization/google-compute-engine/default.nix +++ b/pkgs/tools/virtualization/google-compute-engine/default.nix @@ -29,7 +29,7 @@ buildPythonApplication rec { postPatch = '' for file in $(find google_compute_engine -type f); do substituteInPlace "$file" \ - --replace /bin/systemctl "/run/current-system/sw/bin/systemctl" \ + --replace /bin/systemctl "/run/current-system/systemd/bin/systemctl" \ --replace /bin/bash "${bashInteractive}/bin/bash" \ --replace /sbin/hwclock "${utillinux}/bin/hwclock" # SELinux tool ??? /sbin/restorecon |