anchor.diff:                `additionalKeys`
                 [ ( (mod4Mask,xK_r), compileRestart True)
                 , ( (mod4Mask,xK_q), restart "xmonad" True ) ]
  +        '';
  +      };
  +
  +      enableConfiguredRecompile = mkOption {
  +        default = false;
  +        type = lib.types.bool;
  +        description = ''
  +          Enable recompilation even if <option>config</option> is set to a
  +          non-null value. This adds the necessary Haskell dependencies (GHC with
  +          packages) to the xmonad binary's environment.
           '';
         };
   
  
positive.code:     in
        pkgs.runCommandLocal "xmonad" {
          nativeBuildInputs = [ pkgs.makeWrapper ];
        } ''
          install -D ${xmonadEnv}/share/man/man1/xmonad.1.gz $out/share/man/man1/xmonad.1.gz
          makeWrapper ${configured}/bin/xmonad $out/bin/xmonad \
            --set XMONAD_XMESSAGE "${pkgs.xorg.xmessage}/bin/xmessage"
        '';
  
    xmonad = if (cfg.config != null) then xmonad-config else xmonad-vanilla;
  in {
  
negative.code: 
  with lib;
  let
    inherit (lib) mkOption mkIf optionals literalExpression optionalString;
    cfg = config.services.xserver.windowManager.xmonad;
  
    ghcWithPackages = cfg.haskellPackages.ghcWithPackages;
  