.files/shell.nix
Léana 江 fb1f6624f9 hetzner_benchmark: init (#21)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/21
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
2025-11-08 05:50:00 +01:00

32 lines
575 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
nixos-anywhere # comes from nixpkgs
disko # comes from disko flake
]
++ lib.optionals withGHC [
(haskellPackages.ghcWithPackages (self: [
self.xmonad-contrib
self.xmonad-extras
self.xmobar
]))
haskell-language-server
cabal-install
];
}