1
0
Fork 0

Install releaser

This commit is contained in:
Malte Brandy 2020-01-22 19:14:04 +01:00
parent 4670554ec0
commit 4ebac97a74
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -28,20 +28,20 @@ rec {
doCheck = false; doCheck = false;
}); });
shh = unBreak pkgs.haskellPackages.shh; shh = unBreak pkgs.haskellPackages.shh;
ghc = pkgs.ghc.withPackages (p: [ ghc = unstable.ghc.withPackages (p: [
(unBreak p.shh) (unBreak p.shh)
p.brittany p.brittany
p.hlint p.hlint
p.ghcid p.ghcid
p.cabal-install p.cabal-install
p.classy-prelude p.relude
p.haskell-ci
p.shake p.shake
p.hledger-lib p.hledger-lib
p.releaser
]); ]);
haskellList = list: ''["${builtins.concatStringsSep ''", "'' list}"]''; haskellList = list: ''["${builtins.concatStringsSep ''", "'' list}"]'';
writeHaskellScript = { name ? "haskell-script", bins ? [ pkgs.coreutils ] writeHaskellScript =
, libraries ? [ ], imports ? [ ] }: { name ? "haskell-script", bins ? [ ], libraries ? [ ], imports ? [ ] }:
code: code:
pkgs.writers.writeHaskellBin name { pkgs.writers.writeHaskellBin name {
libraries = libraries ++ [ libraries = libraries ++ [