mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
taskwarrior3: fix builds on darwin
Currently when trying to build on darwin the following error is raised: > ld: framework not found Security When the Security framework is added as an input to the build, it next fails on: > ld: framework not found SystemConfiguration Once both of these are added as inputs the build passes and the resulting binary can be used to access/manipulate the task db.
This commit is contained in:
parent
921527b865
commit
22b81dd057
@ -12,6 +12,7 @@
|
|||||||
python3,
|
python3,
|
||||||
xdg-utils,
|
xdg-utils,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
|
darwin,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "taskwarrior";
|
pname = "taskwarrior";
|
||||||
@ -38,6 +39,10 @@ stdenv.mkDerivation rec {
|
|||||||
cargo
|
cargo
|
||||||
rustc
|
rustc
|
||||||
rustPlatform.cargoSetupHook
|
rustPlatform.cargoSetupHook
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
# darwin dependencies
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user