NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.99k stars 14.01k forks source link

Xmonad is out of date #145730

Closed darealdrzoidberg closed 2 years ago

darealdrzoidberg commented 2 years ago
Checklist
Project name

nix search name:

current version: 0.15 desired version: 0.17

Notify maintainers

maintainers:

Note for maintainers

Please tag this issue in your PR.

jyooru commented 2 years ago

maintainers: @peti

prusnak commented 2 years ago

There is already xmonad_0_17_0 in https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/hackage-packages.nix

jakobneufeld commented 2 years ago

How do I use xmonad _0_17_0 services.x11.windowManager.xmonad

nixos-discourse commented 2 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/1

peti commented 2 years ago

Ping @NixOS/haskell.

sternenseemann commented 2 years ago

How do I use xmonad _0_17_0 services.x11.windowManager.xmonad

It doesn't seem to be possible easily with how the module is implemented at the moment. You could try using an overlay like this:

self: super: {
  haskellPackages = super.haskellPackages.override {
    overrides = hself: hsuper: {
     xmonad = self.xmonad_0_17_0;
     xmonad-contrib = self.xmonad-contrib_0_17_0;
     xmonad-extras = self.xmonad-extras_0_17_0;
    };
  };
}

The default xmonad version will change as soon as stackage (lts atm) changes it. We could contemplate ignoring stackage for xmonad to have a more cutting edge version, but this likely means more maintenance work.

nixos-discourse commented 2 years ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/2

cdepillabout commented 2 years ago

I'm going to close this, since it is currently "by design", since we pin to packages in stackage, and xmonad is in stackage.