mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
wastebin: fix build on darwin
This commit is contained in:
parent
1e3deb3d8a
commit
233d98f3ba
@ -4,6 +4,8 @@
|
|||||||
, pkg-config
|
, pkg-config
|
||||||
, sqlite
|
, sqlite
|
||||||
, zstd
|
, zstd
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -26,6 +28,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
sqlite
|
sqlite
|
||||||
zstd
|
zstd
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
];
|
];
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
|
Loading…
Reference in New Issue
Block a user