about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpapojari <papojari-git.ovoid@aleeas.com>2022-04-08 17:50:15 +0200
committerpapojari <papojari-git.ovoid@aleeas.com>2022-04-08 17:50:15 +0200
commitac6ae29f4690b55f94b88dfe7dcbbd1b877178d3 (patch)
tree9b1055f4c0735db79eac092d2b06a28d542032f9
parent433236f6156b8ff2af09295064e4e08bbe96235c (diff)
ipfetch: fix phase name
-rwxr-xr-xpkgs/tools/networking/ipfetch/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/ipfetch/default.nix b/pkgs/tools/networking/ipfetch/default.nix
index 802ef749373e2..a8b354ec9e6d3 100755
--- a/pkgs/tools/networking/ipfetch/default.nix
+++ b/pkgs/tools/networking/ipfetch/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   strictDeps = true;
   buildInputs = [ bash wget ];
   nativeBuildInputs = [ makeWrapper ];
-  patchPhase = ''
+  postPatch = ''
     patchShebangs --host ipfetch
     # Not only does `/usr` have to be replaced but also `/flags` needs to be added because with Nix the script is broken without this. The `/flags` is somehow not needed if you install via the install script in the source repository.
     substituteInPlace ./ipfetch --replace /usr/share/ipfetch $out/usr/share/ipfetch/flags