nixos/shell.nix

21 lines
619 B
Nix
Raw Normal View History

2023-07-07 03:06:45 +04:00
# Shell for bootstrapping flake-enabled nix and home-manager
# You can enter it through 'nix develop' or (legacy) 'nix-shell'
{ pkgs ? (import ./nixpkgs.nix) { } }: {
default = pkgs.mkShell {
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [ nix home-manager git ];
};
2023-07-27 03:32:54 +04:00
xmonad = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
haskell-language-server
ghc
];
buildInputs = with pkgs; [
haskellPackages.xmonad
haskellPackages.xmonad-contrib
];
};
2023-07-07 03:06:45 +04:00
}