gf-core: pin compiler version
Some checks failed
Build and populate cache / tests (sydpkgs, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz, sydpkgs) (push) Has been cancelled
Some checks failed
Build and populate cache / tests (sydpkgs, nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz, sydpkgs) (push) Has been cancelled
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
{ haskell
|
{ haskell
|
||||||
, haskellPackages
|
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, gf-pgf
|
, gf-pgf
|
||||||
, applyPatches
|
, applyPatches
|
||||||
|
, compiler ? "ghc98"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@@ -21,7 +21,8 @@ let
|
|||||||
./fix-cabal-syntax-error.patch
|
./fix-cabal-syntax-error.patch
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
pkg = haskellPackages.callCabal2nixWithOptions "gf" src "--flag=-server" {};
|
hpkgs = haskell.packages.${compiler};
|
||||||
|
pkg = hpkgs.callCabal2nixWithOptions "gf" src "--flag=-server" {};
|
||||||
in haskell.lib.overrideCabal pkg (prev: {
|
in haskell.lib.overrideCabal pkg (prev: {
|
||||||
jailbreak = true;
|
jailbreak = true;
|
||||||
configureFlags = [ "-f" "c-runtime" ];
|
configureFlags = [ "-f" "c-runtime" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user