forked from mirrors/nixpkgs
haskellPackages.GLHUI: fix build on darwin
This commit is contained in:
parent
c66cc62b6c
commit
9a39115172
|
@ -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 "");
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue