ref(nix): reworked flake entry point

This commit is contained in:
Léana 江 2024-02-26 17:03:14 +01:00 committed by Léana 江
parent a5c009f77c
commit 377150ddd2
19 changed files with 46 additions and 29 deletions

View file

@ -0,0 +1,33 @@
{
description = ''
Bring XMonad library to $PATH for the language server to work
'';
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
packages = [
(pkgs.haskell.packages.ghc947.ghcWithPackages (hpkgs:
with hpkgs; [
haskell-language-server
stylish-haskell
xmonad
xmonad-contrib
neat-interpolation
]))
];
};
});
}