.files/shell.nix
Léana 江 55fa2198bc
init manage.hs script
colors and helpful output

remove Justfile

build manage as a package

add manage as a precompiled tool to installer
2026-01-31 10:43:48 +01:00

34 lines
621 B
Nix

let
sources = import ./npins;
in
{
pkgs ? import sources.nixpkgs {
overlays = map import [
./nix/overlays/disko.nix
./nix/overlays/npins.nix
./nix/packages/overlay.nix
];
},
withGHC ? false,
}:
let
inherit (pkgs) lib;
in
pkgs.mkShell {
packages =
with pkgs;
[
npins # from npins repo
disko # from disko flake
manage
nixos-anywhere # comes from nixpkgs
]
++ lib.optionals withGHC [
(haskellPackages.ghcWithPackages (self: [
self.xmonad-contrib
self.xmonad-extras
self.xmobar
]))
cabal-install
];
}