+1
pkgs/applications/audio/hqplayer-desktop/default.nix
+1
pkgs/applications/audio/hqplayer-desktop/default.nix
+1
-1
pkgs/applications/audio/losslessaudiochecker/default.nix
+1
-1
pkgs/applications/audio/losslessaudiochecker/default.nix
···
23
23
description = "Utility to check whether audio is truly lossless or not";
24
24
homepage = "https://losslessaudiochecker.com";
25
25
license = lib.licenses.unfree;
26
-
platforms = lib.platforms.x86_64;
26
+
platforms = [ "x86_64-linux" ];
27
27
maintainers = with lib.maintainers; [ p-h ];
28
28
};
29
29
}
+1
pkgs/applications/audio/soundwireserver/default.nix
+1
pkgs/applications/audio/soundwireserver/default.nix
+1
-1
pkgs/applications/editors/pinegrow/default.nix
+1
-1
pkgs/applications/editors/pinegrow/default.nix
+1
pkgs/applications/graphics/pixeluvo/default.nix
+1
pkgs/applications/graphics/pixeluvo/default.nix
+1
pkgs/applications/misc/foxitreader/default.nix
+1
pkgs/applications/misc/foxitreader/default.nix
+1
pkgs/applications/misc/upwork/default.nix
+1
pkgs/applications/misc/upwork/default.nix
···
53
53
description = "Online freelancing platform desktop application for time tracking";
54
54
homepage = "https://www.upwork.com/ab/downloads/";
55
55
license = licenses.unfree;
56
+
platforms = [ "x86_64-linux" ];
56
57
maintainers = with maintainers; [ zakkor wolfangaukang ];
57
58
};
58
59
}
+6
-1
pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix
+6
-1
pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix
···
17
17
18
18
src = fetchurl source;
19
19
20
-
nativeBuildInputs = [ autoPatchelfHook ] ++ (if stdenv.isDarwin then [ unzip ] else [ dpkg ]);
20
+
nativeBuildInputs = lib.optionals stdenv.isLinux [
21
+
autoPatchelfHook
22
+
dpkg
23
+
] ++ lib.optionals stdenv.isDarwin [
24
+
unzip
25
+
];
21
26
22
27
unpackPhase = if stdenv.isDarwin then "unzip $src" else "dpkg-deb -x $src .";
23
28
+1
-1
pkgs/applications/networking/mailreaders/mailspring/default.nix
+1
-1
pkgs/applications/networking/mailreaders/mailspring/default.nix
+1
-1
pkgs/applications/networking/tetrd/default.nix
+1
-1
pkgs/applications/networking/tetrd/default.nix
···
79
79
description = "Share your internet connection from your device to your PC and vice versa through a USB cable";
80
80
homepage = "https://tetrd.app";
81
81
license = licenses.unfree;
82
-
platforms = platforms.all;
82
+
platforms = [ "x86_64-linux" ];
83
83
maintainers = with maintainers; [ Madouura ];
84
84
};
85
85
}
+2
pkgs/applications/terminal-emulators/syncterm/default.nix
+2
pkgs/applications/terminal-emulators/syncterm/default.nix
···
34
34
homepage = "https://syncterm.bbsdev.net/";
35
35
description = "BBS terminal emulator";
36
36
maintainers = with maintainers; [ embr ];
37
+
platforms = platforms.unix;
37
38
license = licenses.gpl2Plus;
39
+
broken = stdenv.isDarwin; # error: unsupported option '-fsanitize=safe-stack' for target 'x86_64-apple-darwin'
38
40
};
39
41
}
+3
-2
pkgs/development/compilers/dmd/binary.nix
+3
-2
pkgs/development/compilers/dmd/binary.nix
···
18
18
dontConfigure = true;
19
19
dontBuild = true;
20
20
21
-
nativeBuildInputs = [ autoPatchelfHook ]
22
-
++ lib.optional hostPlatform.isDarwin fixDarwinDylibNames;
21
+
nativeBuildInputs = lib.optionals hostPlatform.isLinux [
22
+
autoPatchelfHook
23
+
] ++ lib.optional hostPlatform.isDarwin fixDarwinDylibNames;
23
24
propagatedBuildInputs = [ curl tzdata ] ++ lib.optional hostPlatform.isLinux glibc;
24
25
25
26
installPhase = ''
+2
-1
pkgs/development/compilers/graalvm/community-edition/mkGraal.nix
+2
-1
pkgs/development/compilers/graalvm/community-edition/mkGraal.nix
+1
-1
pkgs/development/compilers/inklecate/default.nix
+1
-1
pkgs/development/compilers/inklecate/default.nix
···
17
17
sha256 = "00lagmwsbxap5mgnw4gndpavmv3xsgincdaq1zvw7fkc3vn3pxqc";
18
18
};
19
19
20
-
nativeBuildInputs = [ autoPatchelfHook ];
20
+
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
21
21
buildInputs = [ stdenv.cc.cc.lib ];
22
22
23
23
projectFile = "inklecate/inklecate.csproj";
+3
-2
pkgs/development/compilers/ldc/binary.nix
+3
-2
pkgs/development/compilers/ldc/binary.nix
···
18
18
dontConfigure = true;
19
19
dontBuild = true;
20
20
21
-
nativeBuildInputs = [ autoPatchelfHook ]
22
-
++ lib.optional hostPlatform.isDarwin fixDarwinDylibNames;
21
+
nativeBuildInputs = lib.optionals hostPlatform.isLinux [
22
+
autoPatchelfHook
23
+
] ++ lib.optional hostPlatform.isDarwin fixDarwinDylibNames;
23
24
24
25
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxml2 stdenv.cc.cc ];
25
26
+9
-3
pkgs/development/compilers/zulu/8.nix
+9
-3
pkgs/development/compilers/zulu/8.nix
···
61
61
];
62
62
63
63
nativeBuildInputs = [
64
-
autoPatchelfHook makeWrapper
64
+
makeWrapper
65
+
] ++ lib.optionals stdenv.isLinux [
66
+
autoPatchelfHook
65
67
] ++ lib.optionals stdenv.isDarwin [
66
68
unzip
67
69
];
68
70
69
71
installPhase = ''
72
+
runHook preInstall
73
+
70
74
mkdir -p $out
71
75
cp -r ./* "$out/"
72
-
76
+
'' + lib.optionalString stdenv.isLinux ''
73
77
# jni.h expects jni_md.h to be in the header search path.
74
78
ln -s $out/include/linux/*_md.h $out/include/
75
-
79
+
'' + ''
76
80
mkdir -p $out/nix-support
77
81
printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
78
82
···
87
91
wrapProgram "$bin" --prefix LD_LIBRARY_PATH : "${runtimeLibraryPath}"
88
92
fi
89
93
done
94
+
'' + ''
95
+
runHook postInstall
90
96
'';
91
97
92
98
preFixup = ''
+7
-1
pkgs/development/compilers/zulu/default.nix
+7
-1
pkgs/development/compilers/zulu/default.nix
···
63
63
];
64
64
65
65
nativeBuildInputs = [
66
-
autoPatchelfHook makeWrapper
66
+
makeWrapper
67
+
] ++ lib.optionals stdenv.isLinux [
68
+
autoPatchelfHook
67
69
] ++ lib.optionals stdenv.isDarwin [
68
70
unzip
69
71
];
70
72
71
73
installPhase = ''
74
+
runHook preInstall
75
+
72
76
mkdir -p $out
73
77
cp -r ./* "$out/"
74
78
'' + lib.optionalString stdenv.isLinux ''
···
90
94
for bin in $( find "$out" -executable -type f -not -name jspawnhelper ); do
91
95
wrapProgram "$bin" --prefix LD_LIBRARY_PATH : "${runtimeLibraryPath}"
92
96
done
97
+
'' + ''
98
+
runHook postInstall
93
99
'';
94
100
95
101
preFixup = ''
+13
-4
pkgs/development/libraries/cutelyst/default.nix
+13
-4
pkgs/development/libraries/cutelyst/default.nix
···
14
14
};
15
15
16
16
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
17
-
buildInputs = [ qtbase libuuid libcap uwsgi grantlee pcre ];
17
+
buildInputs = [
18
+
qtbase
19
+
grantlee
20
+
] ++ lib.optionals stdenv.isLinux [
21
+
libuuid
22
+
libcap
23
+
uwsgi
24
+
pcre
25
+
];
18
26
19
27
cmakeFlags = [
20
-
"-DPLUGIN_UWSGI=ON"
28
+
"-DPLUGIN_UWSGI=${if stdenv.isLinux then "ON" else "OFF"}" # Missing uwsgi symbols on Darwin
21
29
"-DPLUGIN_STATICCOMPRESSED=ON"
22
30
"-DPLUGIN_CSRFPROTECTION=ON"
23
31
"-DPLUGIN_VIEW_GRANTLEE=ON"
24
32
];
25
33
26
-
preBuild = ''
34
+
preBuild = lib.optionalString stdenv.isLinux ''
27
35
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}`pwd`/Cutelyst:`pwd`/EventLoopEPoll"
28
36
'';
29
37
30
-
postBuild = ''
38
+
postBuild = lib.optionalString stdenv.isLinux ''
31
39
unset LD_LIBRARY_PATH
32
40
'';
33
41
···
35
43
description = "C++ Web Framework built on top of Qt";
36
44
homepage = "https://cutelyst.org/";
37
45
license = licenses.lgpl21Plus;
46
+
platforms = platforms.unix;
38
47
maintainers = with maintainers; [ fpletz ];
39
48
};
40
49
}
+2
pkgs/development/libraries/openvino/default.nix
+2
pkgs/development/libraries/openvino/default.nix
+2
-1
pkgs/development/misc/msp430/mspds/binary.nix
+2
-1
pkgs/development/misc/msp430/mspds/binary.nix
···
17
17
if stdenv.hostPlatform.isWindows then "MSP430${archPostfix}.dll"
18
18
else "libmsp430${archPostfix}${stdenv.hostPlatform.extensions.sharedLibrary}";
19
19
20
-
nativeBuildInputs = [ unzip autoPatchelfHook ];
20
+
nativeBuildInputs = [ unzip ]
21
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
21
22
buildInputs = [ stdenv.cc.cc ];
22
23
23
24
installPhase = ''
+2
-2
pkgs/development/mobile/androidenv/build-tools.nix
+2
-2
pkgs/development/mobile/androidenv/build-tools.nix
···
2
2
3
3
deployAndroidPackage {
4
4
inherit package os;
5
-
buildInputs = [ autoPatchelfHook makeWrapper ] ++
6
-
lib.optionals (os == "linux") [ pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgs_i686.glibc pkgs_i686.zlib pkgs_i686.ncurses5 pkgs.libcxx ];
5
+
buildInputs = [ makeWrapper ] ++
6
+
lib.optionals (os == "linux") [ autoPatchelfHook pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgs_i686.glibc pkgs_i686.zlib pkgs_i686.ncurses5 pkgs.libcxx ];
7
7
patchInstructions = ''
8
8
${lib.optionalString (os == "linux") ''
9
9
addAutoPatchelfSearchPath $packageBaseDir/lib
+1
-2
pkgs/development/mobile/androidenv/platform-tools.nix
+1
-2
pkgs/development/mobile/androidenv/platform-tools.nix
···
2
2
3
3
deployAndroidPackage {
4
4
inherit package os;
5
-
buildInputs = [ autoPatchelfHook ]
6
-
++ lib.optionals (os == "linux") [ pkgs.glibc pkgs.zlib pkgs.ncurses5 ];
5
+
buildInputs = lib.optionals (os == "linux") [ autoPatchelfHook pkgs.glibc pkgs.zlib pkgs.ncurses5 ];
7
6
patchInstructions = lib.optionalString (os == "linux") ''
8
7
addAutoPatchelfSearchPath $packageBaseDir/lib64
9
8
autoPatchelf --no-recurse $packageBaseDir/lib64
+2
pkgs/development/python-modules/wxPython/4.1.nix
+2
pkgs/development/python-modules/wxPython/4.1.nix
+1
pkgs/development/tools/analysis/codeql/default.nix
+1
pkgs/development/tools/analysis/codeql/default.nix
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
···
112
112
113
113
src = srcDepsSet."java_tools_javac11_${system}-v4.0.zip";
114
114
115
-
nativeBuildInputs = [ autoPatchelfHook unzip ];
115
+
nativeBuildInputs = [ unzip ]
116
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
116
117
buildInputs = [ gcc-unwrapped ];
117
118
118
119
sourceRoot = ".";
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
···
112
112
113
113
src = srcDepsSet."java_tools_javac11_${system}-v6.1.zip";
114
114
115
-
nativeBuildInputs = [ autoPatchelfHook unzip ];
115
+
nativeBuildInputs = [ unzip ]
116
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
116
117
buildInputs = [ gcc-unwrapped ];
117
118
118
119
sourceRoot = ".";
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
···
117
117
118
118
src = srcDepsSet."java_tools_javac11_${system}-v10.0.zip";
119
119
120
-
nativeBuildInputs = [ autoPatchelfHook unzip ];
120
+
nativeBuildInputs = [ unzip ]
121
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
121
122
buildInputs = [ gcc-unwrapped ];
122
123
123
124
sourceRoot = ".";
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
+2
-1
pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
···
142
142
143
143
src = srcDepsSet."java_tools_javac11_${system}-v10.6.zip";
144
144
145
-
nativeBuildInputs = [ autoPatchelfHook unzip ];
145
+
nativeBuildInputs = [ unzip ]
146
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
146
147
buildInputs = [ gcc-unwrapped ];
147
148
148
149
sourceRoot = ".";
+2
-1
pkgs/development/tools/build-managers/bloop/default.nix
+2
-1
pkgs/development/tools/build-managers/bloop/default.nix
···
66
66
};
67
67
68
68
dontUnpack = true;
69
-
nativeBuildInputs = [ autoPatchelfHook installShellFiles makeWrapper ];
69
+
nativeBuildInputs = [ installShellFiles makeWrapper ]
70
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
70
71
buildInputs = [ stdenv.cc.cc.lib zlib ];
71
72
propagatedBuildInputs = [ jre ];
72
73
+4
-3
pkgs/development/tools/build-managers/scala-cli/default.nix
+4
-3
pkgs/development/tools/build-managers/scala-cli/default.nix
···
16
16
stdenv.mkDerivation {
17
17
pname = "scala-cli";
18
18
inherit version;
19
-
nativeBuildInputs = [ autoPatchelfHook installShellFiles ];
19
+
nativeBuildInputs = [ installShellFiles ]
20
+
++ lib.optional stdenv.isLinux autoPatchelfHook;
20
21
buildInputs = [ coreutils zlib stdenv.cc.cc ];
21
22
src =
22
23
let
···
42
43
# We need to call autopatchelf before generating completions
43
44
dontAutoPatchelf = true;
44
45
45
-
postFixup = ''
46
+
postFixup = lib.optionalString stdenv.isLinux ''
46
47
autoPatchelf $out
47
-
48
+
'' + ''
48
49
# hack to ensure the completion function looks right
49
50
# as $0 is used to generate the compdef directive
50
51
PATH="$out/bin:$PATH"
+1
-1
pkgs/development/tools/ccloud-cli/default.nix
+1
-1
pkgs/development/tools/ccloud-cli/default.nix
+1
-1
pkgs/development/tools/confluent-cli/default.nix
+1
-1
pkgs/development/tools/confluent-cli/default.nix
+3
-1
pkgs/development/tools/mold/default.nix
+3
-1
pkgs/development/tools/mold/default.nix
···
41
41
homepage = "https://github.com/rui314/mold";
42
42
license = lib.licenses.agpl3Plus;
43
43
maintainers = with maintainers; [ nitsky ];
44
-
broken = stdenv.isAarch64;
44
+
platforms = platforms.unix;
45
+
# error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
46
+
broken = stdenv.isAarch64 || stdenv.isDarwin;
45
47
};
46
48
}
+1
pkgs/servers/hqplayerd/default.nix
+1
pkgs/servers/hqplayerd/default.nix
···
130
130
homepage = "https://www.signalyst.com/custom.html";
131
131
description = "High-end upsampling multichannel software embedded HD-audio player";
132
132
license = licenses.unfree;
133
+
platforms = [ "x86_64-linux" ];
133
134
maintainers = with maintainers; [ lovesegfault ];
134
135
};
135
136
}
+2
-1
pkgs/servers/ombi/default.nix
+2
-1
pkgs/servers/ombi/default.nix
···
26
26
sha256 = hash;
27
27
};
28
28
29
-
nativeBuildInputs = [ makeWrapper autoPatchelfHook ]
29
+
nativeBuildInputs = [ makeWrapper ]
30
+
++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook
30
31
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
31
32
32
33
propagatedBuildInputs = [ stdenv.cc.cc zlib krb5 ];
+3
-2
pkgs/servers/search/elasticsearch/6.x.nix
+3
-2
pkgs/servers/search/elasticsearch/6.x.nix
···
62
62
};
63
63
} // optionalAttrs enableUnfree {
64
64
dontPatchELF = true;
65
-
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
65
+
nativeBuildInputs = [ makeWrapper ]
66
+
++ optional stdenv.isLinux autoPatchelfHook;
66
67
runtimeDependencies = [ zlib ];
67
-
postFixup = ''
68
+
postFixup = lib.optionalString stdenv.isLinux ''
68
69
for exe in $(find $out/modules/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do
69
70
echo "patching $exe..."
70
71
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$exe"
+2
-1
pkgs/servers/search/elasticsearch/7.x.nix
+2
-1
pkgs/servers/search/elasticsearch/7.x.nix
···
44
44
"ES_CLASSPATH=\"\$ES_CLASSPATH:$out/\$additional_classpath_directory/*\""
45
45
'';
46
46
47
-
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
47
+
nativeBuildInputs = [ makeWrapper ]
48
+
++ optional stdenv.isLinux autoPatchelfHook;
48
49
49
50
buildInputs = [ jre_headless util-linux zlib ];
50
51
+6
-1
pkgs/servers/web-apps/virtlyst/default.nix
+6
-1
pkgs/servers/web-apps/virtlyst/default.nix
···
18
18
dontWrapQtApps = true;
19
19
20
20
installPhase = ''
21
+
runHook preInstall
22
+
21
23
mkdir -p $out/lib
22
-
cp src/libVirtlyst.so $out/lib
24
+
cp src/libVirtlyst${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib
23
25
cp -r ../root $out
26
+
27
+
runHook postInstall
24
28
'';
25
29
26
30
patches = [ ./add-admin-password-env.patch ];
···
29
33
description = "Web interface to manage virtual machines with libvirt";
30
34
homepage = "https://github.com/cutelyst/Virtlyst";
31
35
license = licenses.agpl3Plus;
36
+
platforms = platforms.unix;
32
37
maintainers = with maintainers; [ fpletz ];
33
38
};
34
39
}
+2
-1
pkgs/shells/powershell/default.nix
+2
-1
pkgs/shells/powershell/default.nix
+2
-1
pkgs/tools/archivers/rar/default.nix
+2
-1
pkgs/tools/archivers/rar/default.nix
+3
-1
pkgs/tools/games/ajour/default.nix
+3
-1
pkgs/tools/games/ajour/default.nix
···
1
-
{ lib
1
+
{ stdenv
2
+
, lib
2
3
, fetchFromGitHub
3
4
, rustPlatform
4
5
, autoPatchelfHook
···
79
80
homepage = "https://github.com/casperstorm/ajour";
80
81
changelog = "https://github.com/casperstorm/ajour/blob/master/CHANGELOG.md";
81
82
license = licenses.mit;
83
+
broken = stdenv.isDarwin;
82
84
maintainers = with maintainers; [ hexa ];
83
85
};
84
86
}