lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 41 lines 708 B view raw
1{ lib, stdenv, rebar3 }: 2 3{ name 4, version 5, sha256 6, src 7, meta ? { } 8}: 9 10stdenv.mkDerivation ({ 11 pname = "rebar-deps-${name}"; 12 inherit version; 13 14 dontUnpack = true; 15 dontConfigure = true; 16 dontFixup = true; 17 18 buildPhase = '' 19 cp -r ${src} src 20 chmod -R u+w src 21 cd src 22 HOME='.' DEBUG=1 ${rebar3}/bin/rebar3 get-deps 23 ''; 24 25 installPhase = '' 26 runHook preInstall 27 mkdir -p "$out/_checkouts" 28 for i in ./_build/default/lib/* ; do 29 echo "$i" 30 cp -R "$i" "$out/_checkouts" 31 done 32 runHook postInstall 33 ''; 34 35 outputHashAlgo = "sha256"; 36 outputHashMode = "recursive"; 37 outputHash = sha256; 38 39 impureEnvVars = lib.fetchers.proxyImpureEnvVars; 40 inherit meta; 41})