3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.GLHUI: fix build on darwin

This commit is contained in:
sternenseemann 2021-08-05 08:28:42 +02:00 committed by sterni
parent c66cc62b6c
commit 9a39115172

View file

@ -198,4 +198,12 @@ self: super: {
# We are lacking pure pgrep at the moment for tests to work
tmp-postgres = dontCheck super.tmp-postgres;
# On darwin librt doesn't exist and will fail to link against,
# however linking against it is also not necessary there
GLHUI = overrideCabal super.GLHUI (drv: {
postPatch = ''
substituteInPlace GLHUI.cabal --replace " rt" ""
'' + (drv.postPatch or "");
});
}