Merge pull request #146338 from figsoda/menyoki-fix-darwin

menyoki: fix darwin build
This commit is contained in:
Domen Kožar 2021-11-17 00:40:36 -06:00 committed by GitHub
commit 3b0f2374a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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 {