Merge pull request #13480 from phile314/master

uhc: 1.1.9.2 -> 1.1.9.3

+8 -22
+7 -18
pkgs/development/compilers/uhc/default.nix
··· 1 # Note: The Haskell package set used for building UHC is 2 # determined in the file top-level/haskell-packages.nix. 3 - # We are using Stackage LTS to avoid constant breakage. 4 - # Bump the Stackage LTS release to the last release if possible 5 - # when a new UHC version is released. 6 - { stdenv, coreutils, fetchgit, m4, libtool, clang, ghcWithPackages }: 7 8 let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [fgl vector syb uulib network binary hashable uhc-util mtl transformers directory containers array process filepath shuffle uuagc] ); 9 in stdenv.mkDerivation rec { 10 - # Important: 11 - # The commits "Fixate/tag v..." are the released versions. 12 - # Ignore the "bumped version to ...." commits, they do not 13 - # correspond to releases. 14 - version = "1.1.9.2"; 15 name = "uhc-${version}"; 16 17 - src = fetchgit { 18 - url = "https://github.com/UU-ComputerScience/uhc.git"; 19 - rev = "292d259113b98c32154a5be336875751caa5edbc"; 20 - sha256 = "1f462xq9ilkp9mnxm8hxhh1cdwps5d0hxysyibxryk32l7hh53cz"; 21 }; 22 23 postUnpack = "sourceRoot=\${sourceRoot}/EHC"; ··· 55 # On Darwin, the GNU libtool is used, which does not 56 # support the -static flag and thus breaks the build. 57 platforms = ["x86_64-linux"]; 58 - # Hydra currently doesn't build the Stackage LTS package set, 59 - # and we don't want to build all our haskell dependencies 60 - # from scratch just to build UHC. 61 - hydraPlatforms = stdenv.lib.platforms.none; 62 - 63 }; 64 }
··· 1 # Note: The Haskell package set used for building UHC is 2 # determined in the file top-level/haskell-packages.nix. 3 + { stdenv, coreutils, m4, libtool, clang, ghcWithPackages, fetchFromGitHub }: 4 5 let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [fgl vector syb uulib network binary hashable uhc-util mtl transformers directory containers array process filepath shuffle uuagc] ); 6 in stdenv.mkDerivation rec { 7 + version = "1.1.9.3"; 8 name = "uhc-${version}"; 9 10 + src = fetchFromGitHub { 11 + owner = "UU-ComputerScience"; 12 + repo = "uhc"; 13 + rev = "v${version}"; 14 + sha256 = "1r3mja77dqj2ncgp1d9nnc7dhp3gzrb1b1qvml3rq2321mn3m2ad"; 15 }; 16 17 postUnpack = "sourceRoot=\${sourceRoot}/EHC"; ··· 49 # On Darwin, the GNU libtool is used, which does not 50 # support the -static flag and thus breaks the build. 51 platforms = ["x86_64-linux"]; 52 }; 53 }
+1 -4
pkgs/top-level/haskell-packages.nix
··· 65 66 uhc = callPackage ../development/compilers/uhc/default.nix ({ 67 stdenv = pkgs.clangStdenv; 68 - # UHC 1.1.9.2 is incompatible with hashable 1.2.4.0, 69 - # latest LTS with a compatible hashable is LTS 4.1 70 - # See also https://github.com/UU-ComputerScience/uhc/issues/69 71 - inherit (pkgs.haskell.packages.lts-4_1) ghcWithPackages; 72 }); 73 74 };
··· 65 66 uhc = callPackage ../development/compilers/uhc/default.nix ({ 67 stdenv = pkgs.clangStdenv; 68 + inherit (pkgs.haskellPackages) ghcWithPackages; 69 }); 70 71 };