haskellPackages.gio & haskellPackages.gtk Fixes#227690
haskellPackages.gio & haskellPackages.gtk Fixes#227690maralorn merged 3 commits intoNixOS:haskell-updatesfrom
Conversation
|
hold on, building |
|
@hellwolf When you figure out your problem, make sure to also base this on the |
Sure done. I am wondering, if there is already other attempt of fixing the gtk package? It seems an important one? |
|
fwiw: |
|
Found a way to fix gtk. The usage of Also what do you think of the usage of |
sternenseemann
left a comment
There was a problem hiding this comment.
Would be nice if you could split the refactoring and the change into separate commits for review.
Also commit message of haskellPackages.gio: … etc. is more appropriate since this change affects all package sets. I also hope you have tested this in other (at least the main) package set(s).
|
@ofborg build haskellPackages.gio haskellPackages.gtk |
Done. Separated in two two commit, and all tested with ghc92, ghc94. With ghc96, haskellPackages.glib fails too. |
|
This looks good to me, and building
|
check it out again. |
- using lib.pipe
- More addPkgconfigDepends - Tested pkgsets: - [x] .#haskell.packages.ghc92.gio - [x] .#haskell.packages.ghc94.gio
|
Sorry, forgot this earlier, but I have one last change request. The |
- More addPkgconfigDepends - doJailbreak - Tested pkgsets: - [x] .#haskell.packages.ghc92.gtk - [x] .#haskell.packages.ghc94.gtk
done! |
|
Excellent! |
|
Just realized that this PR breaks eval on darwin because of the selinux dependency. |
|
oh shoot, would disable selinux for gtk on darwin work? |
|
I fixed it with f7e7809 but this feels a bit fishy. It’s unclear to me whether all those overrides are needed on all plattforms. |
Agreed. I had to manually add them because of the builds fail on my x86_64-linux environment. |
Description of changes
The haskell.packages.ghc94.gio fails to build, affecting packages that relies on it.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)