about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-04-09 19:50:43 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-01-27 18:12:54 +0100
commit7504179397e11841dae9879dfe419ca1e21c4af6 (patch)
treece7455330c9a6cc93af7fe466eba69ce999437db
parent58c189c2a4f8d4c2ca028a6d1b1e4157251e450a (diff)
dhcpcd: change files after patching
otherwise patches that touch the files do not apply
-rw-r--r--pkgs/tools/networking/dhcpcd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/dhcpcd/default.nix b/pkgs/tools/networking/dhcpcd/default.nix
index 0350a4989262a..a10383c9564bd 100644
--- a/pkgs/tools/networking/dhcpcd/default.nix
+++ b/pkgs/tools/networking/dhcpcd/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
     runtimeShellPackage # So patchShebangs finds a bash suitable for the installed scripts
   ];
 
-  prePatch = ''
+  postPatch = ''
     substituteInPlace hooks/dhcpcd-run-hooks.in --replace /bin/sh ${runtimeShell}
   '';