lol

meson: move darwin references to the package.nix file

+7 -11
+7 -7
pkgs/by-name/me/meson/package.nix
··· 3 3 , fetchFromGitHub 4 4 , fetchpatch 5 5 , installShellFiles 6 + , coreutils 7 + , darwin 8 + , libxcrypt 6 9 , ninja 7 10 , pkg-config 8 11 , python3 9 - , zlib 10 - , coreutils 11 12 , substituteAll 12 - , Foundation 13 - , OpenGL 14 - , AppKit 15 - , Cocoa 16 - , libxcrypt 13 + , zlib 17 14 }: 18 15 16 + let 17 + inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation OpenGL; 18 + in 19 19 python3.pkgs.buildPythonApplication rec { 20 20 pname = "meson"; 21 21 version = "1.2.3";
-4
pkgs/top-level/all-packages.nix
··· 5965 5965 5966 5966 merriweather-sans = callPackage ../data/fonts/merriweather-sans { }; 5967 5967 5968 - meson = callPackage ../by-name/me/meson/package.nix { 5969 - inherit (darwin.apple_sdk.frameworks) Foundation OpenGL AppKit Cocoa; 5970 - }; 5971 - 5972 5968 # while building documentation meson may want to run binaries for host 5973 5969 # which needs an emulator 5974 5970 # example of an error which this fixes