.files/shell.nix
Léana 江 363a8f4036
shell: use nix-shell args to call
This makes the different shell options easier to compose with
2025-07-04 17:36:33 +02:00

30 lines
571 B
Nix

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