1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-29 23:07:40 +03:00

Updated nix (ghc-8.6.2)

This commit is contained in:
Marcin Szamotulski 2018-12-16 18:08:20 +01:00
parent 786cb93890
commit 20fdc8d189
No known key found for this signature in database
GPG Key ID: 788D56E52D63FAA4
3 changed files with 32 additions and 5 deletions

View File

@ -38,10 +38,10 @@ jobs:
steps:
- setup
- run:
name: "GHC 861"
name: "GHC 862"
command: |
nix-build -A free-category -o result-fc --argstr compiler ghc861
nix-build -A examples -o result-ex --argstr compiler ghc861
nix-build -A free-category -o result-fc --argstr compiler ghc862
nix-build -A examples -o result-ex --argstr compiler ghc862
- cachix-push:
o: result-fc
- cachix-push:

18
nix/hoopl-3.10.2.2.nix Normal file
View File

@ -0,0 +1,18 @@
{ mkDerivation, base, containers, filepath, mtl, parsec, stdenv
, test-framework, test-framework-hunit
}:
mkDerivation {
pname = "hoopl";
version = "3.10.2.2";
sha256 = "097b1316d5f1c8ffe71133223209eb2b095fe13f43dc01d1fe43fd8a545a2b97";
revision = "2";
editedCabalFile = "0j6pz4jzhvviyrhhn1j22ikmjvzrg60nzvq26lbpkcb6y4q6rlyx";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [
base containers filepath mtl parsec test-framework
test-framework-hunit
];
homepage = "https://github.com/haskell/hoopl";
description = "A library to support dataflow analysis and optimization";
license = stdenv.lib.licenses.bsd3;
}

View File

@ -1,7 +1,7 @@
{}:
with builtins;
let
rev = "722fcbbb80b2142583e9266efe77992f8e32ac4c";
rev = "cb95a3c1d1b6cd9da65650be269436cbe9e265fa";
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
config =
{ packageOverrides = super:
@ -13,7 +13,16 @@ let
in {
haskell = super.haskell // {
packages = super.haskell.packages // {
ghc861 = super.haskell.packages.ghc861.override { inherit overrides; };
ghc862 = super.haskell.packages.ghc862.override {
overrides = super: self: overrides super self // {
hoopl_3_10_2_2 = self.callPackage ./hoopl-3.10.2.2.nix {};
};
};
ghc861 = super.haskell.packages.ghc861.override {
overrides = super: self: overrides super self // {
hoopl_3_10_2_2 = self.callPackage ./hoopl-3.10.2.2.nix {};
};
};
ghc844 = super.haskell.packages.ghc844.override { inherit overrides; };
ghc822 = super.haskell.packages.ghc822.override { inherit overrides; };
ghc802 = super.haskell.packages.ghc802.override {