Nix shell
This commit is contained in:
parent
d833f27ac1
commit
144b5f414d
3 changed files with 181 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.ghc9102.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