mateamt: hack around new default.nix

This commit is contained in:
Astro 2019-12-15 21:27:41 +01:00
parent ae998efd13
commit fe7b49b6ce
1 changed files with 17 additions and 5 deletions

View File

@ -2,12 +2,24 @@
}: }:
with pkgs; with pkgs;
let let
mateamt = haskellPackages.callPackage <mateamt/shell.nix>; mateamtSrc = stdenv.mkDerivation {
name = "mateamt-src";
src = <mateamt>;
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
patchPhase = ''
substituteInPlace default.nix \
--replace \
"builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz" \
"<haskell-nix>"
'';
installPhase = "cp -ar . $out";
};
mateamt = haskellPackages.callPackage "${mateamtSrc}/shell.nix";
ghcBlacklist = [ ghcBlacklist = [
"ghc822" # "ghc822"
"ghc844" # "ghc844"
"ghc881" # "ghc881"
"ghcHEAD" # "ghcHEAD"
]; ];
ghcVersions = ghcVersions =
builtins.filter (p: builtins.filter (p: