about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-04-08 21:56:05 +0300
committerGitHub <noreply@github.com>2022-04-08 21:56:05 +0300
commitde0f2e81e82654f314d62e679fa435e877dfd144 (patch)
treed3639a3b635f55c129514eb903d3aeddf7fab6d5
parenta508643346dfadf77678e5eda8651778eabcb4e7 (diff)
parentac6ae29f4690b55f94b88dfe7dcbbd1b877178d3 (diff)
Merge pull request #167897 from papojari/ipfetch
-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