-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
treewide: update own packages to the new apple-sdk pattern #352719
Conversation
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.
LGTM except for one switch from lib.optionals
-> lib.optional
. lib.optional
wraps the 2nd arg in a list, which you don't want if the 2nd arg is already a list.
pkgs/games/shipwright/default.nix
Outdated
@@ -65,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: { | |||
] ++ lib.optionals stdenv.hostPlatform.isLinux [ | |||
lsb-release | |||
copyDesktopItems | |||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ | |||
] ++ lib.optional stdenv.hostPlatform.isDarwin [ |
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.
lib.optional
will wrap the 2nd arg in a list, which you don't want.
] ++ lib.optional stdenv.hostPlatform.isDarwin [ | |
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ |
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.
Fixed, thank you!
b575b1e
to
0413635
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.
LGTM
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/2076 |
|
Result of 6 packages built:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/2084 |
Adopted the new SDK pattern for the packages I maintain / co-maintain.
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.