mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-27 02:27:13 +08:00
16 lines
437 B
Nix
16 lines
437 B
Nix
# Since the xmonad config will be built by nixos-rebuild, we use the
|
|
# nix-channel's nixpkgs.
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.haskellPackages.developPackage {
|
|
name = "xmobar-srid";
|
|
root = ./.;
|
|
modifier = drv:
|
|
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
|
|
[
|
|
cabal-install
|
|
cabal-fmt
|
|
ghcid
|
|
haskell-language-server
|
|
]);
|
|
overrides = self: super: with pkgs.haskell.lib; { };
|
|
}
|