diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2016-05-26 19:05:07 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2016-05-26 19:05:07 -0500 |
commit | d078fe1e9c826a63ad078ca4d5364c967984f393 (patch) | |
tree | cb483d173187462187e960dc6f5c3aaf77d24c14 /pkgs/development/compilers/emscripten-fastcomp | |
parent | e746e1ffbc8ff2283cb696ec6f0c23ce726ede87 (diff) | |
download | nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.tar nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.tar.gz nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.tar.bz2 nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.tar.lz nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.tar.xz nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.tar.zst nixpkgs-d078fe1e9c826a63ad078ca4d5364c967984f393.zip |
Fix hash issue in emscripten.
Just use "fetchFromGitHub" because that seems to be more reliable. Still unclear what the actual issue was but I'm thinking this will fix it. At least, this will put it more in line with other packages.
Diffstat (limited to 'pkgs/development/compilers/emscripten-fastcomp')
-rw-r--r-- | pkgs/development/compilers/emscripten-fastcomp/default.nix | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/pkgs/development/compilers/emscripten-fastcomp/default.nix b/pkgs/development/compilers/emscripten-fastcomp/default.nix index c33c3992e00..2b8761ac62d 100644 --- a/pkgs/development/compilers/emscripten-fastcomp/default.nix +++ b/pkgs/development/compilers/emscripten-fastcomp/default.nix @@ -1,22 +1,24 @@ -{ stdenv, fetchgit, python }: +{ stdenv, fetchFromGitHub, python }: let - tag = "1.36.4"; + rev = "1.36.4"; in -stdenv.mkDerivation rec { - name = "emscripten-fastcomp-${tag}"; +stdenv.mkDerivation { + name = "emscripten-fastcomp-${rev}"; - srcFC = fetchgit { - url = git://github.com/kripken/emscripten-fastcomp; - rev = "refs/tags/${tag}"; - sha256 = "0qmrc83yrlmlb11gqixxnwychif964054lgdiycz0l10yj0q37j5"; + srcFC = fetchFromGitHub { + owner = "kripken"; + repo = "emscripten-fastcomp"; + sha256 = "0838rl0n9hyq5dd0gmj5rvigbmk5mhrhzyjk0zd8mjs2mk8z510l"; + inherit rev; }; - srcFL = fetchgit { - url = git://github.com/kripken/emscripten-fastcomp-clang; - rev = "refs/tags/${tag}"; - sha256 = "1av58y9s24l32hsdgp3jh4fkc5005xbzzjd27in2r9q3p6igd5d4"; + srcFL = fetchFromGitHub { + owner = "kripken"; + repo = "emscripten-fastcomp-clang"; + sha256 = "169hfabamv3jmf88flhl4scwaxdh24196gwpz3sdb26lzcns519q"; + inherit rev; }; buildInputs = [ python ]; |