mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
leetcode-cli: fix build failure on macOS (#348049)
This commit is contained in:
commit
41a23bff77
@ -32,7 +32,10 @@ rustPlatform.buildRustPackage rec {
|
||||
openssl
|
||||
dbus
|
||||
sqlite
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd leetcode \
|
||||
|
Loading…
Reference in New Issue
Block a user