-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
surfer: init at v0.2.0 #324637
surfer: init at v0.2.0 #324637
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
pkgs/by-name/su/surfer/package.nix
Outdated
}: | ||
rustPlatform.buildRustPackage rec { | ||
pname = "surfer"; | ||
version = "v0.2.0"; |
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.
version = "v0.2.0"; | |
version = "0.2.0"; |
from the contributing guidelines
There are a few naming guidelines:
The pname attribute should be identical to the upstream package name.
The pname and the version attribute must not contain uppercase letters — e.g., "mplayer" instead of "MPlayer".
The version attribute must start with a digit e.g., "0.3.1rc2".
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.
Remember to edit commit message accordingly
Thanks for the review. My takeaways are. I should have:
I will open another separate PR to add myself as a maintainer. Then I will fix this PR. |
you don't need to open another PR to add yourself as a maintainer; you only need a separate commit in this one |
This comment was marked as outdated.
This comment was marked as outdated.
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.
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.
Result of nixpkgs-review pr 324637
run on x86_64-linux 1
1 package built:
- surfer
2eb0845
to
3638a45
Compare
Contributor to surfer here. It would be most appreciated to have this merged. :) Is there anything left that needs to be done which I could help with? |
While this appears to build and is largely functional, any attempt to use functions involving the file picker fail with |
The reason for this appears to be that the package somehow depends upon |
This is because it's using https://github.com/PolyMeilex/rfd/blob/e0e725ec9a426acf7c93d9877c41e230fcee3fac/src/backend/linux/zenity.rs to open file picker. We can just wrap it with zenity. |
Description of changes
Supersedes #320993
Closes #299458.
@Guanran928
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.