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
gdk-pixbuf: rename from gdk_pixbuf #61876
Conversation
Cannot review at the moment but the main problem I had with this the last time I attempted this is that |
@@ -92057,7 +92057,7 @@ self: { | |||
}) {inherit (pkgs) gtk3;}; | |||
|
|||
"gi-gdkpixbuf" = callPackage | |||
({ mkDerivation, base, bytestring, Cabal, containers, gdk_pixbuf | |||
({ mkDerivation, base, bytestring, Cabal, containers, gdk-pixbuf |
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.
You'll have to change this in hackage2nix
here: https://github.com/NixOS/cabal2nix/blob/f4355aa45723abd15b29eb826800839278f91ed9/src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs#L50
Fixing it in this file will just make it reappear the next time it's regenerated.
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.
Opened NixOS/cabal2nix#424
It would be best to start by making an alias. And keep it like that for one release. That way it will be easier to back-port security fixes. |
@zimbatm This pr has always included an alias in |
I mean one solution would be to merge the alias now, and then do the rename and swap the aliases in the next release. |
@zimbatm If I were to merge that alias in |
@worldofpeace I don't know. Sorry for holding the PR back, I guess renaming things directly will be ok too. |
@peti would it be appropriate after this is merged to manually update the haskell package set? |
Yes, I think so.
Done. |
@peti Is merged 👍 |
evaluation of staging is failing: |
Yeah that's expected, it needs to be manually updated... |
What do you mean expected? Failing builds is one thing, but failing evaluation is another. Can we do a simple sed substitute? |
You can't/shouldn't manually change anything in Since I have no control over the haskell infustructure in nixpkgs and know very little of it, I'm expecting @peti to correct this and why I expected this to happen. I'm waiting for it to be corrected because it's out of my control. |
For now we can just do a substitute until. It does no harm and when the next time someone (likely @peti) generates the set it will be fine anyway. |
I won't re-generate the package set for at least one week or longer as I'm on vacation. Generally speaking, I never re-generate anything in |
I would suggest manually |
Motivation for this change
@jtojnar mentioned doing this in #56966 (comment)
so I guess that time is now.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)