Test with release-9.4.nix (#1386)

* Test with release-9.4.nix

* release-9.4.nix: update

* Remove extra newline
This commit is contained in:
Vaibhav Sagar 2022-12-05 10:46:36 +11:00 committed by GitHub
parent dd761af169
commit c466b4fa2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -36,6 +36,7 @@ jobs:
versions:
- release: 'release-9.0.nix'
- release: 'release-9.2.nix'
- release: 'release-9.4.nix'
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12

View File

@ -25,20 +25,18 @@ let
});
ihaskellOverlay = (self: super: {
ihaskell = (nixpkgs.haskell.lib.overrideCabal (
ihaskell = nixpkgs.haskell.lib.overrideCabal (
self.callCabal2nix "ihaskell" ihaskell-src {}) (_drv: {
preCheck = ''
export HOME=$TMPDIR/home
export PATH=$PWD/dist/build/ihaskell:$PATH
export GHC_PACKAGE_PATH=$PWD/dist/package.conf.inplace/:$GHC_PACKAGE_PATH
'';
configureFlags = (_drv.configureFlags or []) ++ [ "-f" "-use-hlint" ];
})).overrideScope (self: super: {
hlint = null;
});
ghc-parser = self.callCabal2nix "ghc-parser" (builtins.path { path = ./ghc-parser; name = "ghc-parser-src"; }) {};
ipython-kernel = self.callCabal2nix "ipython-kernel" (builtins.path { path = ./ipython-kernel; name = "ipython-kernel-src"; }) {};
hlint = super.hlint_3_5;
zeromq4-haskell = nixpkgs.haskell.lib.addPkgconfigDepend super.zeromq4-haskell nixpkgs.libsodium;
} // displays self);