-
-
Save bennofs/a1720859b53fcc743894 to your computer and use it in GitHub Desktop.
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
# This file was auto-generated by cabal2nix. Please do NOT edit manually! | |
{ cabal, convertible, exceptions, HDBC, HDBCSqlite3, monadHdbc, mtl | |
, options, text, time, transformers | |
}: | |
cabal.mkDerivation (self: { | |
pname = "scrumgr"; | |
version = "0.1.0.0"; | |
src = ./.; | |
isLibrary = false; | |
isExecutable = true; | |
buildDepends = [ | |
convertible exceptions HDBC HDBCSqlite3 monadHdbc mtl options text | |
time transformers | |
]; | |
meta = { | |
homepage = "https://github.com/JLimperg/scrumgr"; | |
license = self.stdenv.lib.licenses.mit; | |
platforms = self.ghc.meta.platforms; | |
}; | |
}) |
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 pkgs = (import <nixpkgs> {}); | |
haskellPackages = pkgs.recurseIntoAttrs (pkgs.haskellPackages.override { | |
extension = self : super : | |
let callPackage = self.callPackage; | |
in { | |
# add cabal package dependencies here, like so: | |
# prettyCompact = callPackage ./nix/pretty-compact.nix {}; | |
monadHdbc = haskellPackages.callPackage ./nix/monad-hdbc.nix {}; | |
thisPackage = haskellPackages.callPackage (import ./default.nix) {}; | |
};}); | |
in pkgs.lib.overrideDerivation haskellPackages.thisPackage (old: { | |
buildInputs = old.buildInputs ++ [ | |
haskellPackages.cabalInstall | |
# add other build tools here | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment