mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Add gx-go to nativeBuildInputs for ipfs-cluster
This commit is contained in:
parent
d8b4a46b0e
commit
314d1fcdcb
@ -21,11 +21,13 @@ buildGoPackage rec {
|
||||
sha256 = "132whjyplcifq8747hcdrgbc0amhp618dg049jq5nyslcxfgdypm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gx-go ];
|
||||
|
||||
preBuild = ''
|
||||
# fetchgx stores packages by their ipfs hash
|
||||
# this will rewrite github.com/ imports to gx/ipfs/
|
||||
cd go/src/${goPackagePath}
|
||||
${gx-go}/bin/gx-go rewrite
|
||||
gx-go rewrite
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user