From ac6ae29f4690b55f94b88dfe7dcbbd1b877178d3 Mon Sep 17 00:00:00 2001 From: papojari Date: Fri, 8 Apr 2022 17:50:15 +0200 Subject: [PATCH] ipfetch: fix phase name --- pkgs/tools/networking/ipfetch/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/ipfetch/default.nix b/pkgs/tools/networking/ipfetch/default.nix index 802ef749373..a8b354ec9e6 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