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