-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haskellPackages.greenclip: unbreak #124593
Conversation
xscrnsaver is a new transitive dep of greenclip
@@ -275,6 +275,7 @@ self: super: { | |||
github-rest = dontCheck super.github-rest; # test suite needs the network | |||
gitlib-cmdline = dontCheck super.gitlib-cmdline; | |||
GLFW-b = dontCheck super.GLFW-b; # https://github.com/bsl/GLFW-b/issues/50 | |||
greenclip = markUnbroken (addExtraLibrary super.greenclip pkgs.xlibs.libXScrnSaver); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you instead remove greenclip
from the file pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
?
Also, do you know why this extra library is needed? If it should actually be added to the cabal file, could you create an issue upstream? Or if this is a library that cabal2nix
doesn't know about, could you send a PR there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a valid dependency https://github.com/erebe/greenclip/issues/110. I've submitted NixOS/cabal2nix#496 : when this last PR is merged, when can I expect that version of cabal2nix to be usable from nixpkgs ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Immediately after someone runs the "update-cabal2nix-unstable" maintainer script. And after a merge there are no reasons to hold of on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could I do that in this PR too ? or is it too impactful ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no reason against it.
I merged in NixOS/cabal2nix#496, updated our @teto If you're a nixpkgs/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml Lines 123 to 130 in 259177f
You'll get pinged if greenclip ever stops building on Hydra. For instance, in a message like #123682 (comment). |
@cdepillabout I have a bad experience with automatic notifcations, just too much spam. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/21-05-and-overriding-a-haskell-package-dependency/13421/1 |
Motivation for this change
adding xscrnsaver that is a new transitive dep of greenclip.
Maybe I should remove the broken status somewhere else, but maybe it will be
fixed automatically on next update ?
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)