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
dwm-status: add xsetroot and alsaUtils as runtime deps #41815
Conversation
@andir cc |
|
||
let | ||
runtimeDeps = [ xorg.xsetroot ] | ||
++ lib.optional (alsaUtils != null) alsaUtils; |
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.
As you can see in the ofborg failure you are missing an import to the lib attributeset:
undefined variable 'lib' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/applications/window-managers/dwm/dwm-status.nix:5:8
@@ -15,11 +20,17 @@ rustPlatform.buildRustPackage rec { | |||
dbus | |||
gdk_pixbuf | |||
libnotify | |||
makeWrapper | |||
pkgconfig |
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.
while we are at it lets move pkgconfig
to nativeBuildInputs
, also makeWrapper
should be a nativeBuildInput
.
pkgconfig | ||
]; | ||
|
||
cargoSha256 = "0169k91pb7ipvi0m71cmkppp1klgp5ghampa7x0fxkyrvrf0dvqg"; | ||
|
||
postInstall = '' | ||
wrapProgram $out/bin/${name} \ |
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.
Is ${name}
really the right thing to do here?
Is the binary called dwm-status-0.4.0
or is it called dwm-status
?
3c63c55
to
6df11a0
Compare
I'm sorry.. It is a bit late for me, should go to sleep now :D |
6df11a0
to
4d48694
Compare
@GrahamcOfBorg build dwm-status |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: dwm-status Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: dwm-status Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: dwm-status Partial log (click to expand)
|
Motivation for this change
Adds
xorg.xsetroot
and optionalalsaUtils
as runtime dependencies.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)