-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
bitwarden-cli: Add xcodebuild to darwin build input. #340138
base: master
Are you sure you want to change the base?
Conversation
@dotlambda Are you able to review this pull request? |
@@ -34,6 +34,7 @@ buildNpmPackage rec { | |||
] ++ lib.optionals stdenv.isDarwin [ | |||
cctools | |||
xcbuild.xcrun | |||
xcbuild.xcodebuild |
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.
xcbuild.xcodebuild | |
xcodebuild |
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.
error: attribute 'xcodebuild' missing
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/by-name/bi/bitwarden-cli/package.nix:37:5:
36| xcbuild.xcrun
37| xcbuild.xcodebuild
| ^
38| ];
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.
@khaneliman With the suggested change there is an error:
error: undefined variable 'xcodebuild'
at /home/runner/work/nixpkgs/nixpkgs/pkgs/by-name/bi/bitwarden-cli/package.nix:38:5:
37| xcbuild.xcrun
38| xcodebuild
| ^
39| ];
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.
Would still needed to be added to inputs.
bf102eb
to
0754cbe
Compare
Fixes the error: npm error FileNotFoundError: [Errno 2] No such file or directory: 'xcodebuild'
0754cbe
to
562e663
Compare
This seems to no longer be necessary with #350601, where the build fails for a different reason. |
Description of changes
Add
xcodebuild
to darwin build input. It fixes the error: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.