tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Add gx-go to nativeBuildInputs for ipfs-cluster
Joseph Lukasik
7 years ago
314d1fcd
d8b4a46b
+3
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
ipfs-cluster
default.nix
+3
-1
pkgs/applications/networking/ipfs-cluster/default.nix
···
21
21
sha256 = "132whjyplcifq8747hcdrgbc0amhp618dg049jq5nyslcxfgdypm";
22
22
};
23
23
24
24
+
nativeBuildInputs = [ gx-go ];
25
25
+
24
26
preBuild = ''
25
27
# fetchgx stores packages by their ipfs hash
26
28
# this will rewrite github.com/ imports to gx/ipfs/
27
29
cd go/src/${goPackagePath}
28
28
-
${gx-go}/bin/gx-go rewrite
30
30
+
gx-go rewrite
29
31
'';
30
32
31
33
meta = with stdenv.lib; {