meson: move darwin references to the package.nix file

This commit is contained in:
Anderson Torres 2023-10-27 09:51:22 -03:00
parent 30020455fd
commit 9cf584eb57
2 changed files with 7 additions and 11 deletions

View File

@ -3,19 +3,19 @@
, fetchFromGitHub
, fetchpatch
, installShellFiles
, coreutils
, darwin
, libxcrypt
, ninja
, pkg-config
, python3
, zlib
, coreutils
, substituteAll
, Foundation
, OpenGL
, AppKit
, Cocoa
, libxcrypt
, zlib
}:
let
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation OpenGL;
in
python3.pkgs.buildPythonApplication rec {
pname = "meson";
version = "1.2.3";

View File

@ -5965,10 +5965,6 @@ with pkgs;
merriweather-sans = callPackage ../data/fonts/merriweather-sans { };
meson = callPackage ../by-name/me/meson/package.nix {
inherit (darwin.apple_sdk.frameworks) Foundation OpenGL AppKit Cocoa;
};
# while building documentation meson may want to run binaries for host
# which needs an emulator
# example of an error which this fixes