this repo has no description
1
fork

Configure Feed

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

Provide constant output for Mix deps

+10 -5
+5 -1
nix/.config/nixpkgs/overlays/erlang/elixir-ls.nix
··· 12 12 deps = fetchMixDeps { 13 13 name = "${name}-${version}"; 14 14 inherit src; 15 + 16 + sha256 = "0jfv98ibrfm0p46sanjnpxp3hivqafh5qi8cf0c71ssvcqbfk9il"; 15 17 }; 16 18 17 19 # refresh: nix-prefetch-git https://github.com/elixir-lsp/elixir-ls.git [--rev branchName | --rev sha] ··· 32 34 33 35 cp --no-preserve=all -R ${deps} deps 34 36 37 + mix deps.compile --no-deps-check 38 + 35 39 runHook postConfigure 36 40 ''; 37 41 38 42 buildPhase = '' 39 43 runHook preBuild 40 44 41 - mix elixir_ls.release 45 + mix do compile --no-deps-check, elixir_ls.release 42 46 43 47 runHook postBuild 44 48 '';
+5 -4
nix/.config/nixpkgs/overlays/erlang/fetch-mix-deps.nix
··· 1 1 { stdenvNoCC, elixir, rebar, rebar3, git, cacert }: 2 2 3 - { name ? null, src, env ? "prod", ... }: 3 + { name ? null, src, sha256, env ? "prod" }: 4 4 5 5 stdenvNoCC.mkDerivation { 6 6 name = "mix-deps" + (if name != null then "-${name}" else ""); ··· 25 25 26 26 buildPhase = '' 27 27 mix deps.get 28 + find "$out" -path '*/.git/*' -a ! -name HEAD -exec rm -rf {} + 28 29 ''; 29 30 30 31 dontInstall = true; 31 32 32 - # outputHashAlgo = "sha256"; 33 - # outputHashMode = "recursive"; 34 - # outputHash = sha256; 33 + outputHashAlgo = "sha256"; 34 + outputHashMode = "recursive"; 35 + outputHash = sha256; 35 36 36 37 impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars; 37 38 }