about summary refs log tree commit diff
path: root/pkgs/tools/virtualization/google-compute-engine/default.nix
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2020-05-22 09:13:23 +0000
committerOrivej Desh <orivej@gmx.fr>2020-05-22 09:13:23 +0000
commit16d7f7edae6847e7a792d79b533b245f71907f46 (patch)
treea304b937bc072e96e2745ede17c7e6b9b4495bee /pkgs/tools/virtualization/google-compute-engine/default.nix
parenteae4f22176789ce3b6a66bad773a45b12e895cdf (diff)
parent5de1e307f29ab91baeb43ab2a58ed13a944e40ea (diff)
downloadnixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.gz
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.bz2
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.lz
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.xz
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.zst
nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.zip
Merge branch 'master' into staging
Diffstat (limited to 'pkgs/tools/virtualization/google-compute-engine/default.nix')
-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