forked from elland/haddock2
nixify + npins (#9)
Reviewed-on: elland/haddock2#9 Co-authored-by: Igor Ranieri <igor@elland.me> Co-committed-by: Igor Ranieri <igor@elland.me>
This commit is contained in:
parent
82eb8435ab
commit
ebda9e1d12
5 changed files with 184 additions and 0 deletions
24
shell.nix
Normal file
24
shell.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
let
|
||||
sources = import ./npins;
|
||||
in
|
||||
{
|
||||
pkgs ? import sources.nixpkgs { },
|
||||
}:
|
||||
|
||||
pkgs.mkShell rec {
|
||||
name = "haddock2";
|
||||
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
haskell.packages.ghc912.ghc
|
||||
zlib
|
||||
]
|
||||
++ map haskell.lib.justStaticExecutables [
|
||||
haskellPackages.cabal-gild
|
||||
haskellPackages.fourmolu
|
||||
cabal-install
|
||||
];
|
||||
|
||||
env.LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath packages;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue