treewide: autoPatchelfHook only on Linux

OPNA2608 d2f26874 48034046

Changed files
+106 -45
pkgs
applications
audio
hqplayer-desktop
losslessaudiochecker
soundwireserver
editors
pinegrow
graphics
pixeluvo
misc
foxitreader
upwork
networking
cluster
ssm-session-manager-plugin
mailreaders
mailspring
tetrd
terminal-emulators
syncterm
development
compilers
dmd
graalvm
community-edition
inklecate
ldc
zulu
libraries
cutelyst
openvino
misc
msp430
mspds
mobile
python-modules
wxPython
tools
analysis
codeql
build-managers
bazel
bazel_0_29
bazel_1
bazel_3
bazel_4
bloop
scala-cli
ccloud-cli
confluent-cli
mold
servers
hqplayerd
ombi
search
elasticsearch
web-apps
virtlyst
shells
powershell
tools
archivers
games
ajour
misc
archi
+1
pkgs/applications/audio/hqplayer-desktop/default.nix
··· 86 86 homepage = "https://www.signalyst.com/custom.html"; 87 87 description = "High-end upsampling multichannel software HD-audio player"; 88 88 license = licenses.unfree; 89 + platforms = [ "x86_64-linux" ]; 89 90 maintainers = with maintainers; [ lovesegfault ]; 90 91 }; 91 92 }
+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
··· 34 34 description = "Turn your Android device into wireless headphones / wireless speaker"; 35 35 homepage = "https://georgielabs.net/"; 36 36 maintainers = with maintainers; [ mkg20001 ]; 37 + platforms = [ "x86_64-linux" ]; 37 38 license = licenses.unfree; 38 39 }; 39 40 }
+1 -1
pkgs/applications/editors/pinegrow/default.nix
··· 63 63 meta = with lib; { 64 64 homepage = "https://pinegrow.com"; 65 65 description = "UI Web Editor"; 66 - platforms = platforms.linux; 66 + platforms = [ "x86_64-linux" ]; 67 67 license = with licenses; [ unfreeRedistributable ]; 68 68 maintainers = with maintainers; [ gador ]; 69 69 };
+1
pkgs/applications/graphics/pixeluvo/default.nix
··· 50 50 description = "A Beautifully Designed Image and Photo Editor for Windows and Linux"; 51 51 homepage = "http://www.pixeluvo.com/"; 52 52 license = licenses.unfree; 53 + platforms = [ "x86_64-linux" ]; 53 54 maintainers = with maintainers; [ wolfangaukang ]; 54 55 }; 55 56 }
+1
pkgs/applications/misc/foxitreader/default.nix
··· 74 74 description = "A viewer for PDF documents"; 75 75 homepage = "https://www.foxitsoftware.com/"; 76 76 license = licenses.unfree; 77 + platforms = [ "x86_64-linux" ]; 77 78 maintainers = with maintainers; [ p-h rhoriguchi ]; 78 79 }; 79 80 }
+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
··· 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
··· 90 90 maintainers = with maintainers; [ toschmidt doronbehar ]; 91 91 homepage = "https://getmailspring.com"; 92 92 downloadPage = "https://github.com/Foundry376/Mailspring"; 93 - platforms = platforms.x86_64; 93 + platforms = [ "x86_64-linux" ]; 94 94 }; 95 95 }
+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
··· 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
··· 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
··· 86 86 zlib 87 87 ]; 88 88 89 - nativeBuildInputs = [ unzip perl autoPatchelfHook makeWrapper ]; 89 + nativeBuildInputs = [ unzip perl makeWrapper ] 90 + ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook; 90 91 91 92 unpackPhase = '' 92 93 unpack_jar() {
+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
··· 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
··· 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
··· 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
··· 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
··· 129 129 ''; 130 130 homepage = "https://docs.openvinotoolkit.org/"; 131 131 license = with licenses; [ asl20 ]; 132 + platforms = platforms.all; 133 + broken = stdenv.isDarwin; # Cannot find macos sdk 132 134 maintainers = with maintainers; [ tfmoraes ]; 133 135 }; 134 136 }
+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 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
··· 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
··· 48 48 doxygen 49 49 wxGTK.gtk 50 50 pkg-config 51 + ] ++ lib.optionals stdenv.isLinux [ 51 52 autoPatchelfHook 52 53 ]; 53 54 54 55 buildInputs = [ 55 56 wxGTK.gtk 56 57 ncurses 58 + ] ++ lib.optionals stdenv.isLinux [ 57 59 libXinerama 58 60 libSM 59 61 libXxf86vm
+1
pkgs/development/tools/analysis/codeql/default.nix
··· 43 43 description = "Semantic code analysis engine"; 44 44 homepage = "https://codeql.github.com"; 45 45 maintainers = [ maintainers.dump_stack ]; 46 + platforms = [ "x86_64-linux" ]; 46 47 license = licenses.unfree; 47 48 }; 48 49 }
+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
··· 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
··· 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
··· 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
··· 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
··· 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
··· 14 14 sha256 = "0936hipcl37w4mzzsnjlz4q1z4j9094i4irigzqwg14gdbs7p11s"; 15 15 }); 16 16 17 - nativeBuildInputs = [ autoPatchelfHook ]; 17 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; 18 18 19 19 dontStrip = stdenv.isDarwin; 20 20
+1 -1
pkgs/development/tools/confluent-cli/default.nix
··· 14 14 sha256 = "1wvy7x56cc7imycf0d83mxcqzdvv56cc0zbp913xgghjn9dl2z7a"; 15 15 }); 16 16 17 - nativeBuildInputs = [ autoPatchelfHook ]; 17 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; 18 18 19 19 dontStrip = stdenv.isDarwin; 20 20
+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
··· 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
··· 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
··· 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
··· 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
··· 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
··· 29 29 }; 30 30 31 31 buildInputs = [ less ] ++ libraries; 32 - nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; 32 + nativeBuildInputs = [ makeWrapper ] 33 + ++ lib.optional stdenv.isLinux autoPatchelfHook; 33 34 34 35 installPhase = 35 36 let
+2 -1
pkgs/tools/archivers/rar/default.nix
··· 32 32 33 33 buildInputs = [ stdenv.cc.cc.lib ]; 34 34 35 - nativeBuildInputs = [ autoPatchelfHook installShellFiles ]; 35 + nativeBuildInputs = [ installShellFiles ] 36 + ++ lib.optional stdenv.isLinux autoPatchelfHook; 36 37 37 38 installPhase = '' 38 39 runHook preInstall
+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 }
+1 -2
pkgs/tools/misc/archi/default.nix
··· 30 30 ]; 31 31 32 32 nativeBuildInputs = [ 33 - autoPatchelfHook 34 33 makeWrapper 35 - ]; 34 + ] ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook; 36 35 37 36 installPhase = 38 37 if stdenv.hostPlatform.system == "x86_64-linux" then