mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-28 11:47:12 +08:00
20 lines
599 B
Nix
20 lines
599 B
Nix
# Since the xmonad config will be built by nixos-rebuild, we use the
|
|
# nix-channel's nixpkgs.
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
let
|
|
inherit (import ./dep/gitignoresrc { inherit (pkgs) lib; }) gitignoreSource;
|
|
haskellOverlays = import ./overlay.nix { inherit pkgs; };
|
|
in
|
|
# FIXME: overlays not working
|
|
(pkgs.haskellPackages.extend haskellOverlays).developPackage {
|
|
name = "xmonad-srid";
|
|
root = gitignoreSource ./.;
|
|
modifier = drv:
|
|
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
|
|
[
|
|
cabal-install
|
|
cabal-fmt
|
|
ghcid
|
|
haskell-language-server
|
|
]);
|
|
}
|