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
|
||||
, haskellPackages
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, gf-pgf
|
||||
, applyPatches
|
||||
, compiler ? "ghc98"
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -21,7 +21,8 @@ let
|
||||
./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: {
|
||||
jailbreak = true;
|
||||
configureFlags = [ "-f" "c-runtime" ];
|
||||
|
||||
Reference in New Issue
Block a user