Last active
August 29, 2015 14:20
-
-
Save bennofs/0d633b10199feed3212d to your computer and use it in GitHub Desktop.
HaskellNG: override hakyll without patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
nixpkgs = import <nixpkgs> {}; | |
haskellNg = nixpkgs.pkgs.haskell-ng; | |
# hopefully temporary, but ghc 7.8 fails because of non-deterministic builds (of GHC) | |
ghc710 = haskellNg.packages.ghc7101; | |
fixedHakyll = ghc710.hakyll.override { inherit (ghc710) mkDerivation; }; | |
pkg = ghc710.callPackage ./. { | |
hakyll = fixedHakyll; | |
}; | |
in nixpkgs.lib.overrideDerivation pkg.env (old:{ | |
buildInputs = old.buildInputs ++ [ghc710.cabal-install]; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment