{ description = "Personal XMonad configuration."; inputs.nixpkgs = { type = "github"; owner = "NixOS"; repo = "nixpkgs"; ref = "nixpkgs-unstable"; }; outputs = { nixpkgs, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; project = returnShellEnv: pkgs.haskellPackages.developPackage { inherit returnShellEnv; name = "xmonad-ng"; root = ./.; withHoogle = false; overrides = self: super: with pkgs.haskell.lib; { # TODO Override xmobar. }; }; in { defaultPackage.${system} = project false; devShell.${system} = project true; }; }