-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
i3status-rust: init at 0.9.0.2017-11-09 #31626
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
Conversation
A few things:
|
description = "Very resource-friendly and feature-rich replacement for i3status, written in Rust"; | ||
homepage = https://github.com/greshake/i3status-rust; | ||
license = licenses.gpl3; | ||
maintainers = [ maintainers.tailhook ]; |
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.
Are you volunteering @tailhook as the maintainer? Generally we'd ask you add yourself to the maintainer list (in lib/maintainers.nix) and put your own name here :)
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.
This was probably copied from another package :)
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.
Right this was taken from the manual: https://nixos.org/nixpkgs/manual/#users-guide-to-the-rust-infrastructure
But as I said in my previous comment, I can put my name but I'm not sure I'll be that good of a maintainer ;)
Any idea about the fonts (2nd question)?
@GrahamcOfBorg build i3status-rust |
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.
Success for system: x86_64-linux
cp: -r not specified; omitting directory 'target/release/deps'
cp: -r not specified; omitting directory 'target/release/build'
cp: -r not specified; omitting directory 'target/release/.fingerprint'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
shrinking /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1/bin/i3status-rs
stripping (with flags -S) in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1/bin
patching script interpreter paths in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
checking for references to /tmp/nix-build-i3status-rust-0.0.1.drv-0 in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1...
/nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
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.
Failure for system: x86_64-darwin
/nix/store/yp374lzwx3wp180yjam44cj4wszl4634-cargo-vendor-0.1.12.drv
/nix/store/hs4b799i53y0y2l8fnqpavviz6b18asq-i3status-rust-0.0.1-vendor.drv
/nix/store/29r28vyz48s8aprzzplcq4mi58ql6nbn-i3status-rust-0.0.1.drv
these paths will be fetched (2.84 MiB download, 3.45 MiB unpacked):
/nix/store/gagdi95vrbl1ddjavlcvr19d430ndc14-dbus-1.10.24-dev
/nix/store/j6rpjn6m6dpg3x3pn3y1lcrrw6qawf69-cargo-vendor-0.1.12-x86_64-apple-darwin.tar.gz
/nix/store/l49qg8v2zi5dg6aklqaz518ay6jyw9lw-dbus-1.10.24
/nix/store/r5j5xdxafbp2ciyx4pmza71mg42gxjrh-dbus-1.10.24-lib
copying path '/nix/store/r5j5xdxafbp2ciyx4pmza71mg42gxjrh-dbus-1.10.24-lib' from 'https://cache.nixos.org'...
error: derivation '/nix/store/sri8wjxxzdz8m0svwvk16xlq5mxhvy68-source.drv' requested impure path '/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation', but it was not in allowed-impure-host-deps
@GrahamcOfBorg build i3status-rust |
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.
Failure for system: x86_64-darwin
/nix/store/sri8wjxxzdz8m0svwvk16xlq5mxhvy68-source.drv
/nix/store/yp374lzwx3wp180yjam44cj4wszl4634-cargo-vendor-0.1.12.drv
/nix/store/hs4b799i53y0y2l8fnqpavviz6b18asq-i3status-rust-0.0.1-vendor.drv
/nix/store/29r28vyz48s8aprzzplcq4mi58ql6nbn-i3status-rust-0.0.1.drv
these paths will be fetched (2.73 MiB download, 3.13 MiB unpacked):
/nix/store/gagdi95vrbl1ddjavlcvr19d430ndc14-dbus-1.10.24-dev
/nix/store/j6rpjn6m6dpg3x3pn3y1lcrrw6qawf69-cargo-vendor-0.1.12-x86_64-apple-darwin.tar.gz
/nix/store/l49qg8v2zi5dg6aklqaz518ay6jyw9lw-dbus-1.10.24
copying path '/nix/store/l49qg8v2zi5dg6aklqaz518ay6jyw9lw-dbus-1.10.24' from 'https://cache.nixos.org'...
error: a 'x86_64-darwin' is required to build '/nix/store/sri8wjxxzdz8m0svwvk16xlq5mxhvy68-source.drv', but I am a 'x86_64-linux'
@GrahamcOfBorg build i3status-rust |
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.
Failure for system: x86_64-darwin
error: aborting due to previous error
error: Could not compile `i3status-rs`.
To learn more, run the command again with --verbose.
builder for '/nix/store/rzifgpdfmbwsy34vq2sh60lvd949kkzk-i3status-rust-0.0.1.drv' failed with exit code 101
error: build of '/nix/store/rzifgpdfmbwsy34vq2sh60lvd949kkzk-i3status-rust-0.0.1.drv' failed on ‘mac1’
error: build of ‘/nix/store/rzifgpdfmbwsy34vq2sh60lvd949kkzk-i3status-rust-0.0.1.drv’ failed
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.
Success for system: x86_64-linux
cp: -r not specified; omitting directory 'target/release/deps'
cp: -r not specified; omitting directory 'target/release/build'
cp: -r not specified; omitting directory 'target/release/.fingerprint'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
shrinking /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1/bin/i3status-rs
stripping (with flags -S) in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1/bin
patching script interpreter paths in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
checking for references to /tmp/nix-build-i3status-rust-0.0.1.drv-0 in /nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1...
/nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
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.
Success for system: x86_64-linux
/nix/store/wr687fskhnpbs1k12l1yg8ysj56i469h-i3status-rust-0.0.1
5ba90da
to
8ace1e3
Compare
Changed maintainer to |
Please review my changes.
|
Hey, thanks for that!
One thing about the test, I didn't enable them because I don't think they
are automated. Especially the performance one. It says in the code
"Now profiling the {0} block by executing {1} updates.\n
Use pprof to analyze {0}.profile"
…On Nov 17, 2017 03:03, "Orivej Desh" ***@***.***> wrote:
***@***.**** approved this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31626 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-GweGdUlyUd8--vwVGu80D2DItEqh_ks5s3OmDgaJpZM4QcYlf>
.
|
Well, they exercise the code and they are fast, I don't see downsides in enabling them. |
The downsides are a dependency on gperftool and time spent running them,
but you're right they do exercise the code. I'm new to nixos, so is
gperftool a build/test dependency, or will be be transitively fetched by
users when they install i3status-rust?
…On Nov 17, 2017 09:24, "Orivej Desh" ***@***.***> wrote:
Well, they exercise the code and they are fast, I don't see downsides in
enabling them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31626 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA-GweOxSlwF_8Z1H1bxVRc0AgUKgoALks5s3ULYgaJpZM4QcYlf>
.
|
gperftools do not become a dependency of the result because nothing in the result references them (the testing binary is not installed). You can confirm this with |
Thank you! |
I've added you to maintainers in d7aefea, just say if you want to change it, or submit a PR. |
Motivation for this change
New bar for i3.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)