treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
nix,
|
||||
runtimeShell,
|
||||
gnupg,
|
||||
darwin,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
@@ -40,7 +39,6 @@
|
||||
}@args:
|
||||
|
||||
let
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
|
||||
|
||||
majorVersion = lib.versions.major version;
|
||||
minorVersion = lib.versions.minor version;
|
||||
@@ -215,20 +213,14 @@ let
|
||||
# NB: technically, we do not need bash in build inputs since all scripts are
|
||||
# wrappers over the corresponding JS scripts. There are some packages though
|
||||
# that use bash wrappers, e.g. polaris-web.
|
||||
buildInputs =
|
||||
lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
CoreServices
|
||||
ApplicationServices
|
||||
]
|
||||
++ [
|
||||
zlib
|
||||
libuv
|
||||
openssl
|
||||
http-parser
|
||||
icu
|
||||
bash
|
||||
]
|
||||
++ lib.optionals useSharedSQLite [ sqlite ];
|
||||
buildInputs = [
|
||||
zlib
|
||||
libuv
|
||||
openssl
|
||||
http-parser
|
||||
icu
|
||||
bash
|
||||
] ++ lib.optionals useSharedSQLite [ sqlite ];
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user