ipfs: patch shebang in builder script
This commit is contained in:
parent
496899068e
commit
e89ceffefb
@ -5,11 +5,6 @@ buildGoModule rec {
|
|||||||
version = "0.5.0";
|
version = "0.5.0";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
sed -i 'd#\$(d)/preload.sh > $@#' plugin/loader/Rules.mk
|
|
||||||
make install
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ipfs";
|
owner = "ipfs";
|
||||||
repo = "go-ipfs";
|
repo = "go-ipfs";
|
||||||
@ -19,6 +14,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm -rf test/dependencies
|
rm -rf test/dependencies
|
||||||
|
patchShebangs plugin/loader/preload.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
modSha256 = "00xgsvpl47miy6paxl8yn6p76h6ssccackh50z0l4r5s7wcc25q8";
|
modSha256 = "00xgsvpl47miy6paxl8yn6p76h6ssccackh50z0l4r5s7wcc25q8";
|
||||||
|
Loading…
Reference in New Issue
Block a user