mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Another saturday another useless formatter change. It's my dotfiles, after all alejandra doesn't handle c-style inline comments well.
31 lines
508 B
Nix
31 lines
508 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
|
|
];
|
|
}
|