-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
rage: add mount feature #364725
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
base: master
Are you sure you want to change the base?
rage: add mount feature #364725
Conversation
5db93a6
to
7beec5a
Compare
7beec5a
to
9411f51
Compare
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.
Some of changes look good but honestly:
-
overriding would be better for users who want the features maybe creating an features arg that you can change with an
.override
-
please use the
apple-sdk
package in nixpkgs.
(if stdenv.hostPlatform.isDarwin then fuse else fuse3) | ||
] | ||
++ lib.optionals stdenv.hostPlatform.isDarwin [ | ||
darwin.apple_sdk.frameworks.Foundation |
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.
darwin.apple_sdk.frameworks.Foundation | |
apple-sdk |
Please use the apple sdk.
@@ -20,13 +23,19 @@ rustPlatform.buildRustPackage rec { | |||
|
|||
cargoHash = "sha256-Nhm6xn7Upc9m+sTU9Pw3NGdpvwHvb4JGN6CQuMykILo="; | |||
|
|||
buildFeatures = lib.lists.optional stdenv.hostPlatform.isUnix "mount"; |
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 would say leave it up to the user to override the feature unless it is enabled by default.
Add mount feature by default. This add new binary:
rage-mount
(https://github.com/str4d/rage/tree/main#feature-flags)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.