Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
652 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, stdenvNoCC, gx, gx-go, go, cacert,}:
lib.fetchers.withNormalizedHash { } ( { name, src, outputHash, outputHashAlgo, }:
stdenvNoCC.mkDerivation { name = "${name}-gxdeps"; inherit src;
nativeBuildInputs = [ cacert go gx gx-go ];
inherit outputHash outputHashAlgo; outputHashMode = "recursive";
dontConfigure = true; doCheck = false; doInstallCheck = false;
buildPhase = '' export GOPATH=$(pwd)/vendor mkdir -p vendor gx install '';
installPhase = '' mv vendor $out '';
preferLocalBuild = true; })