wip: gftest: init

This commit is contained in:
msyds committed 2026-02-15 22:29:36 -07:00
1 parent d3252333eb
commit 1efbb7d4a2
6 files changed
+82 -17

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
{ gf-core
, breakpointHook
, fetchFromGitHub
, compiler ? "ghc98"
, haskell
}:
let
src = fetchFromGitHub {
owner = "GrammaticalFramework";
repo = "gftest";
rev = "ef7c99143d84a29fb28bbc464f661566d44a6130";
hash = "sha256-t/LaG5+bdv7f0URcn/aFx6nUIvxSSEbpWeZS92/Gbog=";
};
hpkgs = haskell.packages.${compiler}.override {
overrides = hself: hsuper: {
pgf2 = gf-core;
};
};
pkg = hpkgs.callCabal2nix "gftest" src {};
in pkg.overrideAttrs (final: prev: {
nativeBuildInputs = (prev.nativeBuildInputs or []) ++ [
breakpointHook
];
})