-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
neohtop: init at 1.1.1 #356826
base: master
Are you sure you want to change the base?
neohtop: init at 1.1.1 #356826
Conversation
ff162e7
to
d7db841
Compare
3715bdb
to
3bd3da6
Compare
@NixOS/nix-formatting the formatting check fails if formatted with |
A new fetcher has been introduced and its usage is encouraged: #349360. |
the docs say to use that new fetcher only if cargo lock has git dependencies:
but if you say I should use that.. does simply adding |
Hmm, my understanding was that it avoiding us vendoring the I'll defer to more knowledgeable Rust maintainers to weight in the. |
pkgs/by-name/ne/neohtop/package.nix
Outdated
inherit src; | ||
hash = "sha256-6FWowWVVeU7U5aM4WGVWv0WmauLv/F4mtSdjNeeF6eQ="; | ||
}; | ||
cargoHash = ""; |
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.
Why not use cargoHash and get rid of the lockfile?
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.
because this does not work (cargo cannot find reqwest and the build fails) I think its related to:
https://github.com/HannesGitH/nixpkgs/blob/c43b2b1ea412767dd01e4354f4ca05ff942df4e4/pkgs/by-name/su/surrealist/package.nix#L52-L57
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 see #354565 (comment)
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.
A meta attribute is required
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 think you need to include openssl in buildInputs
why? it builds and runs as it currently is |
Not on Linux (see ofborg) |
|
It is a little hidden because it will mark a build failure as "neutral". |
pkgs/by-name/ne/neohtop/package.nix
Outdated
mkdir -p $out/bin | ||
mv ${path}/macos $out/Applications | ||
echo "#!${zsh}/bin/zsh" >> $out/bin/${name} | ||
echo "open -a $out/Applications/${name}.app" >> $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.
I think the normal way to do this is simply to copy the entire .app folder to $out(maybe share)?
thanks for your feedback, ill hopefully be able to integrate that tomorrow! |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.