haskell-mikmod: fix build

This commit is contained in:
Peter Simons 2015-02-03 12:24:13 +01:00
parent 31ecab7b7e
commit 353e276937
2 changed files with 6 additions and 0 deletions

View file

@ -412,6 +412,9 @@ self: super: {
# Nix-specific workaround
xmonad = appendPatch super.xmonad ./xmonad-nix.patch;
# https://github.com/evanrinehart/mikmod/issues/1
mikmod = addExtraLibrary super.mikmod pkgs.libmikmod;
} // {
# Not on Hackage.

View file

@ -25,6 +25,9 @@ rec {
addBuildTool = drv: x: addBuildTools drv [x];
addBuildTools = drv: xs: overrideCabal drv (drv: { buildTools = (drv.buildTools or []) ++ xs; });
addExtraLibrary = drv: x: addExtraLibraries drv [x];
addExtraLibraries = drv: xs: overrideCabal drv (drv: { extraLibraries = (drv.extraLibraries or []) ++ xs; });
addBuildDepend = drv: x: addBuildDepends drv [x];
addBuildDepends = drv: xs: overrideCabal drv (drv: { buildDepends = (drv.buildDepends or []) ++ xs; });