about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-05-21 10:35:34 +0200
committerFlorian Klink <flokli@flokli.de>2020-05-21 10:35:34 +0200
commitd69f95e2fe4f7fe157539ad8312c73390d456688 (patch)
tree2c47a52fa50f1273b21cbd80077f658ac558a97b /pkgs/tools
parent2d5de92f8e3b3f34f1ea1e156a16b41ce3e923e4 (diff)
downloadnixlib-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')
-rw-r--r--pkgs/tools/virtualization/google-compute-engine/default.nix2
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