Merge pull request #146338 from figsoda/menyoki-fix-darwin
menyoki: fix darwin build
This commit is contained in:
commit
3b0f2374a6
@ -6,6 +6,7 @@
|
||||
, stdenv
|
||||
, libX11
|
||||
, libXrandr
|
||||
, AppKit
|
||||
, withSki ? true
|
||||
}:
|
||||
|
||||
@ -25,7 +26,8 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ installShellFiles ]
|
||||
++ lib.optional stdenv.isLinux pkg-config;
|
||||
|
||||
buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ]
|
||||
++ lib.optional stdenv.isDarwin AppKit;
|
||||
|
||||
buildNoDefaultFeatures = !withSki;
|
||||
|
||||
|
@ -26613,6 +26613,7 @@ with pkgs;
|
||||
|
||||
menyoki = callPackage ../applications/graphics/menyoki {
|
||||
inherit (xorg) libX11 libXrandr;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
|
||||
mercurial = callPackage ../applications/version-management/mercurial {
|
||||
|
Loading…
Reference in New Issue
Block a user