From e89ceffefbcbe36f6797e783053cbc4dcb092f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 7 May 2020 15:26:09 +0100 Subject: [PATCH] ipfs: patch shebang in builder script --- pkgs/applications/networking/ipfs/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/ipfs/default.nix b/pkgs/applications/networking/ipfs/default.nix index 037b94f9acf..f8b229d21ac 100644 --- a/pkgs/applications/networking/ipfs/default.nix +++ b/pkgs/applications/networking/ipfs/default.nix @@ -5,11 +5,6 @@ buildGoModule rec { version = "0.5.0"; rev = "v${version}"; - buildPhase = '' - sed -i 'd#\$(d)/preload.sh > $@#' plugin/loader/Rules.mk - make install - ''; - src = fetchFromGitHub { owner = "ipfs"; repo = "go-ipfs"; @@ -19,6 +14,11 @@ buildGoModule rec { postPatch = '' rm -rf test/dependencies + patchShebangs plugin/loader/preload.sh + ''; + + buildPhase = '' + make install ''; modSha256 = "00xgsvpl47miy6paxl8yn6p76h6ssccackh50z0l4r5s7wcc25q8";