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
xidlehook: init at 0.4.6 #39968
xidlehook: init at 0.4.6 #39968
Conversation
pkgs/tools/X11/xidlehook/default.nix
Outdated
repo = "xidlehook"; | ||
rev = version; | ||
|
||
sha256 = "0mj02w959h0sr8b2r3l54dqn4j3y88xdr434y3jyfqd371kg0i39"; |
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.
I am getting another hash here:
unpacking source archive /build/0.4.5.tar.gz
fixed-output derivation produced path '/nix/store/f78zppjisrw0chk8dmx3vifqrwzkshql-source' with sha256 hash '1jdy85sh7w8drcahx33swqwnv2ik7rpxl0hc07waxw3iwwk63m66' instead of the expected hash '0mj02w959h0sr8b2r3l54dqn4j3y88xdr434y3jyfqd371kg0i39'
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.
Whoops, I forgot to update the hash since 0.0.4. My bad!
pkgs/tools/X11/xidlehook/default.nix
Outdated
sha256 = "0mj02w959h0sr8b2r3l54dqn4j3y88xdr434y3jyfqd371kg0i39"; | ||
}; | ||
|
||
cargoSha256 = "0grx7qcyah6xclkl944a4cg4fvmma7k6qnsakwzanwqcv8snkbzg"; |
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.
also for this one:
directory = "/build/source/vendor"
fixed-output derivation produced path '/nix/store/nsn04g4mflzdjsddz9hc8578jfbspj9y-xidlehook-0.4.5-vendor' with sha256 hash '0a1bl6fnfw6xy71q3b5zij52p9skylj1ivqj8my44bfsid2qfn7d' instead of the expected hash '0grx7qcyah6xclkl944a4cg4fvmma7k6qnsakwzanwqcv8snkbzg'
I'm sorry for the delay, I can't seem to find how to clear build cache. |
@jD91mZM2 I'm not sure, is the included |
Probably not as I didn't put it there (generated, presumably) |
pkgs/tools/X11/xidlehook/default.nix
Outdated
cargoSha256 = "0a1bl6fnfw6xy71q3b5zij52p9skylj1ivqj8my44bfsid2qfn7d"; | ||
|
||
buildInputs = [ x11 xorg.libXScrnSaver libpulseaudio ]; | ||
propagatedBuildInputs = [ pkgconfig makeWrapper ]; |
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.
Could you move these to nativeBuildInputs
? :)
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.
Sure! What's the difference?
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.
nativeBuildInputs
are the ones used on the build host and thus have to be compiled for it's architecture. So when a x86 host cross-compiles something for aarch64, the build tools have to be built for x86 even though the target is aarch64.
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.
Here is some more information in the manual :)
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.
Awesome, thanks!
@GrahamcOfBorg build xidlehook |
Success on x86_64-linux (full log) Attempted: xidlehook Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: xidlehook Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: xidlehook Partial log (click to expand)
|
That's odd. I think that is because I'm using |
ffd9fb1
to
f37e2b0
Compare
@GrahamcOfBorg build xidlehook |
For that to work, you have to be in the list of trusted users :) |
Success on aarch64-linux (full log) Attempted: xidlehook Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: xidlehook Partial log (click to expand)
|
Aha 😛 |
thank's for your work 👍 |
Success on x86_64-linux (full log) Attempted: xidlehook Partial log (click to expand)
|
I should be the one thanking you for your patience! :) |
pkgs/tools/X11/xidlehook/default.nix
Outdated
description = "xautolock rewrite in Rust, with a few extra features"; | ||
homepage = https://github.com/jD91mZM2/xidlehook; | ||
license = licenses.mit; | ||
maintainer = maintainers.jD91mZM2; |
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 could fix the borg eval check as follows:
maintainers = [ maintainers.jD91mZM2 ];
platforms = platforms.unix;
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.
Oh, sorry, didn't notice that it failed. My bad.
bce462a
to
8bc6278
Compare
Once again didn't notice the check failed. Sorry. |
No description provided.