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
plata-theme: 0.9.8 -> 0.9.9 #101093
plata-theme: 0.9.8 -> 0.9.9 #101093
Conversation
buildInputs = [ | ||
gdk-pixbuf | ||
librsvg |
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.
From reading https://gitlab.com/tista500/plata-theme#installation-from-git-source, I would expect librsvg to be needed for generating images or something. So it should probably go to nativeBuildInputs
.
But here it looks like gdk-pixbuf is needed as a library: https://gitlab.com/tista500/plata-theme/-/blob/1dd0953f1d6a35777388d39f46e2428c038042be/configure.ac#L42
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.
librsvg
is not needed or mentioned anywhere in the repo; inkscape
is used to generate images.
gdk-pixbuf
seems to be a sanity check, there's not really a reason to require it to build the theme. I added it to nativeBuildInputs
just in case it causes an error.
Result of 1 package built:
|
@tadfisher would you mind rebasing this? :) |
809621c
to
b943976
Compare
@IvarWithoutBones Rebased, thanks. |
pkgs/data/themes/plata/default.nix
Outdated
librsvg | ||
# GTK2 engines must be on the system path at runtime to be loaded. | ||
propagatedUserEnvPkgs = [ | ||
gtk2 |
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.
afaik only gtk-engine-murrine needs to be in propagatedUserEnvPkgs, if so gtk2 should be in buildInputs
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.
And probably gtk_engines
instead of gtk2
.
Motivation for this change
buildInputs
as this derivation produces static files with no binary dependencies.propagatedUserEnvPkgs
for GTK2 support at runtime.0.9.9
.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)