Peter's XMonad configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 762B

1234567891011121314151617181920212223
  1. { pkgs ? import <nixpkgs> {}
  2. }:
  3. let
  4. # Use my copy of some packages:
  5. overrides = self: super: with pkgs.haskell.lib; {
  6. playlists = import ./nix/playlists.nix { inherit pkgs haskell; };
  7. playlists-http = import ./nix/playlists-http.nix { inherit pkgs haskell; };
  8. xmonad = import ./nix/xmonad.nix { inherit pkgs haskell; };
  9. xmonad-contrib = import ./nix/xmonad-contrib.nix { inherit pkgs haskell; };
  10. http-client = if super ? http-client_0_6_2
  11. then super.http-client_0_6_2
  12. else super.http-client;
  13. };
  14. # Apply the overrides from above:
  15. haskell = pkgs.haskellPackages.override (orig: {
  16. overrides = pkgs.lib.composeExtensions
  17. (orig.overrides or (_: _: {})) overrides; });
  18. in haskell.callPackage ./xmonadrc.nix { }