tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
treewide: unpin apple-sdk_11 r-s
Austin Horstman
1 year ago
ae433b68
51ad9081
+20
-99
16 changed files
expand all
collapse all
unified
split
pkgs
by-name
rb
rbw
package.nix
re
rehex
package.nix
rerun
package.nix
rewatch
package.nix
ri
ride
package.nix
rio
package.nix
ripgrep
package.nix
ru
rucola
package.nix
sc
scopehal-apps
package.nix
sh
shipwright
package.nix
si
signalbackup-tools
package.nix
sk
skhd
package.nix
skia
package.nix
sp
spicy-parser-generator
package.nix
spotify-player
package.nix
st
stockfish
package.nix
+1
-9
pkgs/by-name/rb/rbw/package.nix
···
6
openssl,
7
pkg-config,
8
installShellFiles,
9
-
darwin,
10
bash,
11
-
apple-sdk_11,
12
# rbw-fzf
13
withFzf ? false,
14
fzf,
···
39
installShellFiles
40
] ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
41
42
-
buildInputs =
43
-
[ bash ] # for git-credential-rbw
44
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
45
-
apple-sdk_11 # Needs _NSPasteboardTypeFileURL, can be removed once x86_64-darwin defaults to a higher SDK
46
-
darwin.apple_sdk_11_0.frameworks.Security
47
-
darwin.apple_sdk_11_0.frameworks.AppKit
48
-
];
49
50
preConfigure = lib.optionalString stdenv.hostPlatform.isLinux ''
51
export OPENSSL_INCLUDE_DIR="${openssl.dev}/include"
···
6
openssl,
7
pkg-config,
8
installShellFiles,
0
9
bash,
0
10
# rbw-fzf
11
withFzf ? false,
12
fzf,
···
37
installShellFiles
38
] ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
39
40
+
buildInputs = [ bash ]; # for git-credential-rbw
0
0
0
0
0
0
41
42
preConfigure = lib.optionalString stdenv.hostPlatform.isLinux ''
43
export OPENSSL_INCLUDE_DIR="${openssl.dev}/include"
+1
-3
pkgs/by-name/re/rehex/package.nix
···
14
lua53Packages,
15
perlPackages,
16
gtk3,
17
-
apple-sdk_11,
18
}:
19
20
stdenv.mkDerivation rec {
···
50
perl
51
TemplateToolkit
52
])
53
-
++ lib.optionals stdenv.hostPlatform.isLinux [ gtk3 ]
54
-
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
55
56
makeFlags = [
57
"prefix=${placeholder "out"}"
···
14
lua53Packages,
15
perlPackages,
16
gtk3,
0
17
}:
18
19
stdenv.mkDerivation rec {
···
49
perl
50
TemplateToolkit
51
])
52
+
++ lib.optionals stdenv.hostPlatform.isLinux [ gtk3 ];
0
53
54
makeFlags = [
55
"prefix=${placeholder "out"}"
+8
-16
pkgs/by-name/re/rerun/package.nix
···
19
openssl,
20
vulkan-loader,
21
wayland,
22
-
apple-sdk_11,
23
24
versionCheckHook,
25
···
63
rustfmt
64
];
65
66
-
buildInputs =
67
-
[
68
-
freetype
69
-
glib
70
-
gtk3
71
-
(lib.getDev openssl)
72
-
libxkbcommon
73
-
vulkan-loader
74
-
]
75
-
++ lib.optionals stdenv.hostPlatform.isLinux [ (lib.getLib wayland) ]
76
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
77
-
# Undefined symbols for architecture x86_64: "_NSAccessibilityTabButtonSubrole"
78
-
# ld: symbol(s) not found for architecture x86_64
79
-
apple-sdk_11
80
-
];
81
82
addDlopenRunpaths = map (p: "${lib.getLib p}/lib") (
83
lib.optionals stdenv.hostPlatform.isLinux [
···
19
openssl,
20
vulkan-loader,
21
wayland,
0
22
23
versionCheckHook,
24
···
62
rustfmt
63
];
64
65
+
buildInputs = [
66
+
freetype
67
+
glib
68
+
gtk3
69
+
(lib.getDev openssl)
70
+
libxkbcommon
71
+
vulkan-loader
72
+
] ++ lib.optionals stdenv.hostPlatform.isLinux [ (lib.getLib wayland) ];
0
0
0
0
0
0
0
73
74
addDlopenRunpaths = map (p: "${lib.getLib p}/lib") (
75
lib.optionals stdenv.hostPlatform.isLinux [
-6
pkgs/by-name/re/rewatch/package.nix
···
3
rustPlatform,
4
fetchFromGitHub,
5
nix-update-script,
6
-
apple-sdk_11,
7
-
stdenv,
8
}:
9
10
rustPlatform.buildRustPackage rec {
···
19
};
20
21
cargoHash = "sha256-cZTA50gm7o+vBaRNjpZI0LQkXaHIukVTBXoYMUubZgw=";
22
-
23
-
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
24
-
apple-sdk_11
25
-
];
26
27
doCheck = true;
28
···
3
rustPlatform,
4
fetchFromGitHub,
5
nix-update-script,
0
0
6
}:
7
8
rustPlatform.buildRustPackage rec {
···
17
};
18
19
cargoHash = "sha256-cZTA50gm7o+vBaRNjpZI0LQkXaHIukVTBXoYMUubZgw=";
0
0
0
0
20
21
doCheck = true;
22
-3
pkgs/by-name/ri/ride/package.nix
···
12
copyDesktopItems,
13
makeDesktopItem,
14
electron,
15
-
apple-sdk_11,
16
}:
17
18
buildNpmPackage rec {
···
69
zip
70
makeWrapper
71
] ++ lib.optionals stdenv.hostPlatform.isLinux [ copyDesktopItems ];
72
-
73
-
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
74
75
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
76
···
12
copyDesktopItems,
13
makeDesktopItem,
14
electron,
0
15
}:
16
17
buildNpmPackage rec {
···
68
zip
69
makeWrapper
70
] ++ lib.optionals stdenv.hostPlatform.isLinux [ copyDesktopItems ];
0
0
71
72
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
73
-2
pkgs/by-name/ri/rio/package.nix
···
17
libGL,
18
vulkan-loader,
19
libxkbcommon,
20
-
apple-sdk_11,
21
22
withX11 ? !stdenv.hostPlatform.isDarwin,
23
libX11,
···
81
rlinkLibs
82
++ lib.optionals stdenv.hostPlatform.isDarwin [
83
darwin.libutil
84
-
apple-sdk_11 # Needs _NSPasteboardTypeFileURL, can be removed once x86_64-darwin defaults to a higher SDK
85
];
86
87
outputs = [
···
17
libGL,
18
vulkan-loader,
19
libxkbcommon,
0
20
21
withX11 ? !stdenv.hostPlatform.isDarwin,
22
libX11,
···
80
rlinkLibs
81
++ lib.optionals stdenv.hostPlatform.isDarwin [
82
darwin.libutil
0
83
];
84
85
outputs = [
+1
-4
pkgs/by-name/ri/ripgrep/package.nix
···
6
rustPlatform,
7
installShellFiles,
8
pkg-config,
9
-
apple-sdk_11,
10
withPCRE2 ? true,
11
pcre2,
12
}:
···
29
cargoHash = "sha256-b+iA8iTYWlczBpNq9eyHrWG8LMU4WPBzaU6pQRht+yE=";
30
31
nativeBuildInputs = [ installShellFiles ] ++ lib.optional withPCRE2 pkg-config;
32
-
buildInputs =
33
-
lib.optional withPCRE2 pcre2
34
-
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
35
36
buildFeatures = lib.optional withPCRE2 "pcre2";
37
···
6
rustPlatform,
7
installShellFiles,
8
pkg-config,
0
9
withPCRE2 ? true,
10
pcre2,
11
}:
···
28
cargoHash = "sha256-b+iA8iTYWlczBpNq9eyHrWG8LMU4WPBzaU6pQRht+yE=";
29
30
nativeBuildInputs = [ installShellFiles ] ++ lib.optional withPCRE2 pkg-config;
31
+
buildInputs = lib.optional withPCRE2 pcre2;
0
0
32
33
buildFeatures = lib.optional withPCRE2 "pcre2";
34
+3
-10
pkgs/by-name/ru/rucola/package.nix
···
5
pkg-config,
6
oniguruma,
7
stdenv,
8
-
apple-sdk_11,
9
-
darwinMinVersionHook,
10
}:
11
12
rustPlatform.buildRustPackage rec {
···
26
pkg-config
27
];
28
29
-
buildInputs =
30
-
[
31
-
oniguruma
32
-
]
33
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
34
-
apple-sdk_11
35
-
(darwinMinVersionHook "10.13")
36
-
];
37
38
env = {
39
RUSTONIG_SYSTEM_LIBONIG = true;
···
5
pkg-config,
6
oniguruma,
7
stdenv,
0
0
8
}:
9
10
rustPlatform.buildRustPackage rec {
···
24
pkg-config
25
];
26
27
+
buildInputs = [
28
+
oniguruma
29
+
];
0
0
0
0
0
30
31
env = {
32
RUSTONIG_SYSTEM_LIBONIG = true;
-4
pkgs/by-name/sc/scopehal-apps/package.nix
···
22
spirv-tools,
23
ffts,
24
moltenvk,
25
-
apple-sdk_11,
26
-
darwinMinVersionHook,
27
llvmPackages,
28
}:
29
···
73
]
74
++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ]
75
++ lib.optionals stdenv.hostPlatform.isDarwin [
76
-
apple-sdk_11
77
-
(darwinMinVersionHook "10.15")
78
moltenvk
79
];
80
···
22
spirv-tools,
23
ffts,
24
moltenvk,
0
0
25
llvmPackages,
26
}:
27
···
71
]
72
++ lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ]
73
++ lib.optionals stdenv.hostPlatform.isDarwin [
0
0
74
moltenvk
75
];
76
+1
-3
pkgs/by-name/sh/shipwright/package.nix
···
27
zenity,
28
makeWrapper,
29
darwin,
30
-
apple-sdk_11,
31
libicns,
32
}:
33
stdenv.mkDerivation (finalAttrs: {
···
94
libXext
95
libpulseaudio
96
zenity
97
-
]
98
-
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
99
100
cmakeFlags = [
101
(lib.cmakeBool "NON_PORTABLE" true)
···
27
zenity,
28
makeWrapper,
29
darwin,
0
30
libicns,
31
}:
32
stdenv.mkDerivation (finalAttrs: {
···
93
libXext
94
libpulseaudio
95
zenity
96
+
];
0
97
98
cmakeFlags = [
99
(lib.cmakeBool "NON_PORTABLE" true)
-6
pkgs/by-name/si/signalbackup-tools/package.nix
···
6
cmake,
7
pkg-config,
8
9
-
apple-sdk_11,
10
-
darwinMinVersionHook,
11
dbus,
12
openssl,
13
sqlite,
···
35
sqlite
36
] ++ lib.optionals stdenv.hostPlatform.isLinux [
37
dbus
38
-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
39
-
# Needed for `utimensat` on `x86_64-darwin`
40
-
apple-sdk_11
41
-
(darwinMinVersionHook "11.3")
42
];
43
44
installPhase = ''
···
6
cmake,
7
pkg-config,
8
0
0
9
dbus,
10
openssl,
11
sqlite,
···
33
sqlite
34
] ++ lib.optionals stdenv.hostPlatform.isLinux [
35
dbus
0
0
0
0
36
];
37
38
installPhase = ''
-7
pkgs/by-name/sk/skhd/package.nix
···
2
lib,
3
stdenv,
4
fetchFromGitHub,
5
-
apple-sdk_11,
6
-
darwinMinVersionHook,
7
nix-update-script,
8
versionCheckHook,
9
}:
···
17
rev = "v${finalAttrs.version}";
18
hash = "sha256-fnkWws/g4BdHKDRhqoCpdPFUavOHdk8R7h7H1dAdAYI=";
19
};
20
-
21
-
buildInputs = [
22
-
apple-sdk_11
23
-
(darwinMinVersionHook "10.13")
24
-
];
25
26
makeFlags = [ "BUILD_PATH=$(out)/bin" ];
27
···
2
lib,
3
stdenv,
4
fetchFromGitHub,
0
0
5
nix-update-script,
6
versionCheckHook,
7
}:
···
15
rev = "v${finalAttrs.version}";
16
hash = "sha256-fnkWws/g4BdHKDRhqoCpdPFUavOHdk8R7h7H1dAdAYI=";
17
};
0
0
0
0
0
18
19
makeFlags = [ "BUILD_PATH=$(out)/bin" ];
20
+1
-4
pkgs/by-name/sk/skia/package.nix
···
19
, xcbuild
20
, cctools
21
, zlib
22
-
, apple-sdk_11
23
, fixDarwinDylibNames
24
25
, enableVulkan ? !stdenv.hostPlatform.isDarwin
···
70
] ++ lib.optionals enableVulkan [
71
vulkan-headers
72
vulkan-memory-allocator
73
-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
74
-
apple-sdk_11 # can be removed once x86_64-darwin defaults to a newer SDK
75
-
];
76
77
gnFlags = let
78
cpu = {
···
19
, xcbuild
20
, cctools
21
, zlib
0
22
, fixDarwinDylibNames
23
24
, enableVulkan ? !stdenv.hostPlatform.isDarwin
···
69
] ++ lib.optionals enableVulkan [
70
vulkan-headers
71
vulkan-memory-allocator
72
+
] ;
0
0
73
74
gnFlags = let
75
cpu = {
+4
-9
pkgs/by-name/sp/spicy-parser-generator/package.nix
···
8
bison,
9
flex,
10
zlib,
11
-
apple-sdk_11,
12
}:
13
14
stdenv.mkDerivation rec {
···
33
python3
34
];
35
36
-
buildInputs =
37
-
[
38
-
flex
39
-
zlib
40
-
]
41
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
42
-
apple-sdk_11
43
-
];
44
45
postPatch = ''
46
patchShebangs scripts tests/scripts
···
8
bison,
9
flex,
10
zlib,
0
11
}:
12
13
stdenv.mkDerivation rec {
···
32
python3
33
];
34
35
+
buildInputs = [
36
+
flex
37
+
zlib
38
+
];
0
0
0
0
39
40
postPatch = ''
41
patchShebangs scripts tests/scripts
-4
pkgs/by-name/sp/spotify-player/package.nix
···
15
dbus,
16
fontconfig,
17
libsixel,
18
-
apple-sdk_11,
19
20
# build options
21
withStreaming ? true,
···
74
openssl
75
dbus
76
fontconfig
77
-
]
78
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
79
-
apple-sdk_11 # can be removed once x86_64-darwin defaults to a newer SDK
80
]
81
++ lib.optionals withSixel [ libsixel ]
82
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
···
15
dbus,
16
fontconfig,
17
libsixel,
0
18
19
# build options
20
withStreaming ? true,
···
73
openssl
74
dbus
75
fontconfig
0
0
0
76
]
77
++ lib.optionals withSixel [ libsixel ]
78
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
-9
pkgs/by-name/st/stockfish/package.nix
···
4
fetchurl,
5
fetchFromGitHub,
6
apple-sdk,
7
-
apple-sdk_11,
8
-
darwinMinVersionHook,
9
}:
10
11
let
···
63
"CXX=${stdenv.cc.targetPrefix}c++"
64
];
65
buildFlags = [ "build" ];
66
-
67
-
buildInputs =
68
-
lib.optionals (stdenv.hostPlatform.isDarwin && lib.versionOlder apple-sdk.version "11")
69
-
[
70
-
apple-sdk_11
71
-
(darwinMinVersionHook "10.15")
72
-
];
73
74
enableParallelBuilding = true;
75
···
4
fetchurl,
5
fetchFromGitHub,
6
apple-sdk,
0
0
7
}:
8
9
let
···
61
"CXX=${stdenv.cc.targetPrefix}c++"
62
];
63
buildFlags = [ "build" ];
0
0
0
0
0
0
0
64
65
enableParallelBuilding = true;
66