gftest: init
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:
19
pkgs/pgf2-haskell/default.nix
Normal file
19
pkgs/pgf2-haskell/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ haskell
|
||||
, compiler ? "ghc96"
|
||||
, gf-pgf
|
||||
, gf-core
|
||||
, breakpointHook
|
||||
}:
|
||||
|
||||
let
|
||||
src = "${gf-core.src}/src/runtime/haskell-bind";
|
||||
hpkgs = haskell.packages.${compiler};
|
||||
pkg = hpkgs.callCabal2nix "pgf2" src {
|
||||
# gf-pgf provides both libpgf and libgu.
|
||||
gu = gf-pgf;
|
||||
};
|
||||
in haskell.lib.overrideCabal pkg (prev: {
|
||||
librarySystemDepends = (prev.librarySystemDepends or []) ++ [
|
||||
gf-pgf
|
||||
];
|
||||
})
|
||||
Reference in New Issue
Block a user