-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
chore: convert xscrnsaver to xlibs.libXScrnSaver #496
Conversation
following up on NixOS/nixpkgs#124593 |
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.
The "xlibs." prefix should be unnecessary.
done. I couldn't find an easy way to test (this repo weirdly doesnt provide a shell.nix/flake.nix to check one's changes, the regenerate scripts fail because they ask for a nixpkgs). Hope that's good. |
Shouldn't it be |
which is why I had used xlibs.libXScrnSaver ( |
|
to fix greenclip generation
Yeah distribution-nixpkgs does that, I should know that.
… On 27. May 2021, at 23:50, Matthieu Coudron ***@***.***> wrote:
I've just noticed that in the line below my change Xss references libXScrnSaver directly so maybe that 's why @peti made his comment ? looking at hackage-packages.nix it seems cabal2nix is smart enough to do inherit (pkgs.xorg) libXScrnSaver; so I think @peti may be right.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@teto Thanks for taking the time to put this together. I tried regenerating diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index ec260563848..ccdef5fd12b 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -110881,9 +110881,9 @@ self: {
"greenclip" = callPackage
({ mkDerivation, base, binary, bytestring, directory, exceptions
- , hashable, libXau, microlens, microlens-mtl, protolude, text
- , tomland, unix, vector, wordexp, X11, xcb, xdmcp, xlibsWrapper
- , xscrnsaver
+ , hashable, libXau, libXScrnSaver, microlens, microlens-mtl
+ , protolude, text, tomland, unix, vector, wordexp, X11, xcb, xdmcp
+ , xlibsWrapper
}:
mkDerivation {
pname = "greenclip";
@@ -110896,14 +110896,14 @@ self: {
microlens-mtl protolude text tomland unix vector wordexp X11
];
executablePkgconfigDepends = [
- libXau xcb xdmcp xlibsWrapper xscrnsaver
+ libXau libXScrnSaver xcb xdmcp xlibsWrapper
];
description = "Simple clipboard manager to be integrated with rofi";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
- }) {inherit (pkgs.xorg) libXau; xcb = null; xdmcp = null;
- inherit (pkgs) xlibsWrapper; xscrnsaver = null;};
+ }) {inherit (pkgs.xorg) libXScrnSaver; inherit (pkgs.xorg) libXau;
+ xcb = null; xdmcp = null; inherit (pkgs) xlibsWrapper;};
"greg-client" = callPackage
({ mkDerivation, base, binary, bytestring, clock, hostname, network
|
thanks for the guidance ! |
No description provided.