.files/shell.nix

30 lines
552 B
Nix

{
sources ? import ./npins,
pkgs ?
import sources.nixpkgs {
overlays = map import [
./nix/overlays/disko.nix
];
},
withGHC ? false,
}: let
inherit (pkgs) lib;
in
pkgs.mkShell {
packages = with pkgs;
[
just
jq
npins
disko
]
++ lib.optionals withGHC [
(haskellPackages.ghcWithPackages (self: [
self.xmonad-contrib
self.xmonad-extras
self.xmobar
]))
haskell-language-server
cabal-install
];
}