uhc: 1.1.9.2 -> 1.1.9.3
This commit is contained in:
parent
e08dd09c25
commit
fbd857ab72
|
@ -1,23 +1,17 @@
|
||||||
# Note: The Haskell package set used for building UHC is
|
# Note: The Haskell package set used for building UHC is
|
||||||
# determined in the file top-level/haskell-packages.nix.
|
# determined in the file top-level/haskell-packages.nix.
|
||||||
# We are using Stackage LTS to avoid constant breakage.
|
{ stdenv, coreutils, m4, libtool, clang, ghcWithPackages, fetchFromGitHub }:
|
||||||
# Bump the Stackage LTS release to the last release if possible
|
|
||||||
# when a new UHC version is released.
|
|
||||||
{ stdenv, coreutils, fetchgit, m4, libtool, clang, ghcWithPackages }:
|
|
||||||
|
|
||||||
let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [fgl vector syb uulib network binary hashable uhc-util mtl transformers directory containers array process filepath shuffle uuagc] );
|
let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [fgl vector syb uulib network binary hashable uhc-util mtl transformers directory containers array process filepath shuffle uuagc] );
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
# Important:
|
version = "1.1.9.3";
|
||||||
# The commits "Fixate/tag v..." are the released versions.
|
|
||||||
# Ignore the "bumped version to ...." commits, they do not
|
|
||||||
# correspond to releases.
|
|
||||||
version = "1.1.9.2";
|
|
||||||
name = "uhc-${version}";
|
name = "uhc-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/UU-ComputerScience/uhc.git";
|
owner = "UU-ComputerScience";
|
||||||
rev = "292d259113b98c32154a5be336875751caa5edbc";
|
repo = "uhc";
|
||||||
sha256 = "1f462xq9ilkp9mnxm8hxhh1cdwps5d0hxysyibxryk32l7hh53cz";
|
rev = "v${version}";
|
||||||
|
sha256 = "1r3mja77dqj2ncgp1d9nnc7dhp3gzrb1b1qvml3rq2321mn3m2ad";
|
||||||
};
|
};
|
||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/EHC";
|
postUnpack = "sourceRoot=\${sourceRoot}/EHC";
|
||||||
|
@ -55,10 +49,5 @@ in stdenv.mkDerivation rec {
|
||||||
# On Darwin, the GNU libtool is used, which does not
|
# On Darwin, the GNU libtool is used, which does not
|
||||||
# support the -static flag and thus breaks the build.
|
# support the -static flag and thus breaks the build.
|
||||||
platforms = ["x86_64-linux"];
|
platforms = ["x86_64-linux"];
|
||||||
# Hydra currently doesn't build the Stackage LTS package set,
|
|
||||||
# and we don't want to build all our haskell dependencies
|
|
||||||
# from scratch just to build UHC.
|
|
||||||
hydraPlatforms = stdenv.lib.platforms.none;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,10 +65,7 @@ rec {
|
||||||
|
|
||||||
uhc = callPackage ../development/compilers/uhc/default.nix ({
|
uhc = callPackage ../development/compilers/uhc/default.nix ({
|
||||||
stdenv = pkgs.clangStdenv;
|
stdenv = pkgs.clangStdenv;
|
||||||
# UHC 1.1.9.2 is incompatible with hashable 1.2.4.0,
|
inherit (pkgs.haskellPackages) ghcWithPackages;
|
||||||
# latest LTS with a compatible hashable is LTS 4.1
|
|
||||||
# See also https://github.com/UU-ComputerScience/uhc/issues/69
|
|
||||||
inherit (pkgs.haskell.packages.lts-4_1) ghcWithPackages;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue