mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
kdash: fix Darwin build
The AppKit dependency needs to be added as a buildInput.
This commit is contained in:
parent
3fb4aa63b4
commit
407b7c551c
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
@ -6,6 +7,7 @@
|
||||
, python3
|
||||
, openssl
|
||||
, xorg
|
||||
, AppKit
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -21,7 +23,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ perl python3 pkg-config ];
|
||||
|
||||
buildInputs = [ openssl xorg.xcbutil ];
|
||||
buildInputs = [ openssl xorg.xcbutil ]
|
||||
++ lib.optional stdenv.isDarwin AppKit;
|
||||
|
||||
cargoSha256 = "0nb554y8r7gvw7ls6gnrg98xxbws0mc6zdsc6ss3p2x9z8xwx204";
|
||||
|
||||
|
@ -7397,7 +7397,9 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
|
||||
kdash = callPackage ../development/tools/kdash { };
|
||||
kdash = callPackage ../development/tools/kdash {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
|
||||
kdbplus = pkgsi686Linux.callPackage ../applications/misc/kdbplus { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user