treewide: replace `stdenv.is` with `stdenv.hostPlatform.is` (#413977)

authored by philiptaron.tngl.sh and committed by

GitHub 0861217c 2648e3fb

+65 -60
+1 -1
nixos/tests/mattermost/default.nix
··· 569 569 shutdown_queue.task_done() 570 570 threading.Thread(target=shutdown_worker, daemon=True).start() 571 571 572 - ${pkgs.lib.optionalString pkgs.stdenv.isx86_64 '' 572 + ${pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isx86_64 '' 573 573 # Only run the MySQL tests on x86_64 so we don't have to debug MySQL ARM issues. 574 574 run_mattermost_tests( 575 575 shutdown_queue,
+1 -1
pkgs/by-name/ac/actual-server/package.nix
··· 208 208 mainProgram = "actual-server"; 209 209 license = lib.licenses.mit; 210 210 # https://github.com/NixOS/nixpkgs/issues/403846 211 - broken = stdenv.isDarwin; 211 + broken = stdenv.hostPlatform.isDarwin; 212 212 maintainers = [ 213 213 lib.maintainers.oddlama 214 214 lib.maintainers.patrickdag
+1 -1
pkgs/by-name/ag/age-plugin-se/package.nix
··· 26 26 ]; 27 27 28 28 # Can't find libdispatch without this on NixOS. (swift 5.8) 29 - LD_LIBRARY_PATH = lib.optionalString stdenv.isLinux "${swiftPackages.Dispatch}/lib"; 29 + LD_LIBRARY_PATH = lib.optionalString stdenv.hostPlatform.isLinux "${swiftPackages.Dispatch}/lib"; 30 30 31 31 postPatch = 32 32 let
+1 -1
pkgs/by-name/ak/akkoma-admin-fe/package.nix
··· 41 41 python3 42 42 git 43 43 libsass 44 - ] ++ lib.optional stdenv.isDarwin xcbuild; 44 + ] ++ lib.optional stdenv.hostPlatform.isDarwin xcbuild; 45 45 46 46 configurePhase = '' 47 47 runHook preConfigure
+1 -1
pkgs/by-name/ar/ares-rs/package.nix
··· 37 37 license = licenses.mit; 38 38 maintainers = with maintainers; [ fab ]; 39 39 mainProgram = "ares"; 40 - broken = stdenv.isDarwin; 40 + broken = stdenv.hostPlatform.isDarwin; 41 41 }; 42 42 }
+1 -1
pkgs/by-name/ar/arp-scan-rs/package.nix
··· 45 45 license = lib.licenses.agpl3Only; 46 46 maintainers = with lib.maintainers; [ fab ]; 47 47 mainProgram = "arp-scan"; 48 - broken = stdenv.isDarwin; 48 + broken = stdenv.hostPlatform.isDarwin; 49 49 }; 50 50 }
+3 -3
pkgs/by-name/bi/bicep-lsp/package.nix
··· 34 34 dotnet-sdk = dotnetCorePackages.sdk_8_0; 35 35 dotnet-runtime = dotnetCorePackages.runtime_8_0; 36 36 37 - nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 37 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; 38 38 39 - buildInputs = lib.optionals stdenv.isLinux [ 39 + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ 40 40 icu 41 41 libkrb5 42 42 openssl 43 43 stdenv.cc.cc.lib 44 44 ]; 45 45 46 - doCheck = !(stdenv.isDarwin && stdenv.isAarch64); # mono is not available on aarch64-darwin 46 + doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # mono is not available on aarch64-darwin 47 47 48 48 meta = { 49 49 description = "Domain Specific Language (DSL) for deploying Azure resources declaratively";
+1 -1
pkgs/by-name/ca/camilladsp/package.nix
··· 37 37 buildInputs = [ 38 38 libpulseaudio 39 39 openssl 40 - ] ++ lib.optionals stdenv.isLinux [ alsa-lib ]; 40 + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ]; 41 41 42 42 passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; }; 43 43
+1 -1
pkgs/by-name/ca/cargo-bazel/package.nix
··· 15 15 hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios="; 16 16 }; 17 17 18 - buildInputs = lib.optional stdenv.isDarwin libz; 18 + buildInputs = lib.optional stdenv.hostPlatform.isDarwin libz; 19 19 20 20 useFetchCargoVendor = true; 21 21 cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";
+1 -1
pkgs/by-name/cl/cloud-provider-kind/package.nix
··· 19 19 20 20 vendorHash = null; 21 21 22 - checkFlags = lib.optional stdenv.isDarwin "-skip=^Test_firstSuccessfulProbe$"; 22 + checkFlags = lib.optional stdenv.hostPlatform.isDarwin "-skip=^Test_firstSuccessfulProbe$"; 23 23 24 24 meta = { 25 25 description = "Load Balancer implementation for Kubernetes-in-Docker";
+1 -1
pkgs/by-name/fl/fluent-bit/package.nix
··· 118 118 versionCheckProgramArg = "--version"; 119 119 120 120 passthru = { 121 - tests = lib.optionalAttrs stdenv.isLinux { 121 + tests = lib.optionalAttrs stdenv.hostPlatform.isLinux { 122 122 inherit (nixosTests) fluent-bit; 123 123 }; 124 124
+3 -3
pkgs/by-name/gc/gcc-arm-embedded-13/package.nix
··· 42 42 ./info-fix.patch 43 43 ]; 44 44 45 - nativeBuildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ 45 + nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ 46 46 makeBinaryWrapper 47 47 darwin.sigtool 48 48 ]; ··· 60 60 ''; 61 61 62 62 preFixup = 63 - lib.optionalString stdenv.isLinux '' 63 + lib.optionalString stdenv.hostPlatform.isLinux '' 64 64 find $out -type f | while read f; do 65 65 patchelf "$f" > /dev/null 2>&1 || continue 66 66 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true ··· 74 74 } "$f" || true 75 75 done 76 76 '' 77 - + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' 77 + + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' 78 78 find "$out" -executable -type f | while read executable; do 79 79 ( \ 80 80 install_name_tool \
+3 -3
pkgs/by-name/gc/gcc-arm-embedded-14/package.nix
··· 36 36 .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 37 37 }; 38 38 39 - nativeBuildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ 39 + nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ 40 40 makeBinaryWrapper 41 41 darwin.sigtool 42 42 ]; ··· 60 60 ''; 61 61 62 62 preFixup = 63 - lib.optionalString stdenv.isLinux '' 63 + lib.optionalString stdenv.hostPlatform.isLinux '' 64 64 find $out -type f | while read f; do 65 65 patchelf "$f" > /dev/null 2>&1 || continue 66 66 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true ··· 76 76 } "$f" || true 77 77 done 78 78 '' 79 - + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' 79 + + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' 80 80 find "$out" -executable -type f | while read executable; do 81 81 ( \ 82 82 install_name_tool \
+1 -1
pkgs/by-name/gz/gz-cmake/package.nix
··· 27 27 postPatch = '' 28 28 patchShebangs examples/test_c_child_requires_c_no_deps.bash 29 29 substituteInPlace examples/CMakeLists.txt --replace-fail \ 30 - "$""{CMAKE_INSTALL_LIBDIR}" "${if stdenv.isDarwin then "lib" else "lib64"}" 30 + "$""{CMAKE_INSTALL_LIBDIR}" "${if stdenv.hostPlatform.isDarwin then "lib" else "lib64"}" 31 31 ''; 32 32 33 33 nativeBuildInputs = [
+1 -1
pkgs/by-name/ht/http-scanner/package.nix
··· 31 31 license = lib.licenses.mit; 32 32 maintainers = with lib.maintainers; [ fab ]; 33 33 mainProgram = "http-scanner"; 34 - broken = stdenv.isDarwin; 34 + broken = stdenv.hostPlatform.isDarwin; 35 35 }; 36 36 }
+1 -1
pkgs/by-name/ja/jai/package.nix
··· 37 37 ]; 38 38 }; 39 39 in 40 - if stdenv.isLinux then 40 + if stdenv.hostPlatform.isLinux then 41 41 buildFHSEnv { 42 42 inherit meta pname version; 43 43 targetPkgs = pkgs: [ pkgs.zlib ];
+1 -1
pkgs/by-name/li/libcdio/package.nix
··· 25 25 hash = "sha256-izjZk2kz9PkLm9+INUdl1e7jMz3nUsQKdplKI9Io+CM="; 26 26 }; 27 27 28 - env = lib.optionalAttrs stdenv.is32bit { 28 + env = lib.optionalAttrs stdenv.hostPlatform.is32bit { 29 29 NIX_CFLAGS_COMPILE = "-D_LARGEFILE64_SOURCE"; 30 30 }; 31 31
+2 -2
pkgs/by-name/ma/matrix-brandy/package.nix
··· 18 18 hash = "sha256-sMgYgV4/vV1x5xSICXRpW6K8uCdVlJrS7iEg6XzQRo8="; 19 19 }; 20 20 21 - patches = lib.optionals stdenv.isDarwin [ ./no-lrt.patch ]; 21 + patches = lib.optionals stdenv.hostPlatform.isDarwin [ ./no-lrt.patch ]; 22 22 23 - makeFlags = lib.optionals stdenv.isDarwin [ 23 + makeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ 24 24 "CC=cc" 25 25 "LD=clang" 26 26 ];
+1 -1
pkgs/by-name/mu/musl-obstack/package.nix
··· 17 17 sha256 = "sha256-oydS7FubUniMHAUWfg84OH9+CZ0JCrTXy7jzwOyJzC8="; 18 18 }; 19 19 20 - patches = lib.optionals stdenv.isDarwin [ 20 + patches = lib.optionals stdenv.hostPlatform.isDarwin [ 21 21 ./0001-ignore-obstack_free-alias-on-darwin.patch 22 22 ]; 23 23
+2 -2
pkgs/by-name/mu/muvm/package.nix
··· 39 39 dhcpcd 40 40 passt 41 41 (placeholder "out") 42 - ] ++ lib.optionals stdenv.isAarch64 [ fex ]; 42 + ] ++ lib.optionals stdenv.hostPlatform.isAarch64 [ fex ]; 43 43 wrapArgs = lib.escapeShellArgs [ 44 44 "--prefix" 45 45 "PATH" ··· 72 72 --replace-fail "/sbin/sysctl" "${lib.getExe' procps "sysctl"}" 73 73 '' 74 74 # Only patch FEX path if we're aarch64, otherwise we don't want the derivation to pull in FEX in any way 75 - + lib.optionalString stdenv.isAarch64 '' 75 + + lib.optionalString stdenv.hostPlatform.isAarch64 '' 76 76 substituteInPlace crates/muvm/src/guest/mount.rs \ 77 77 --replace-fail "/usr/share/fex-emu" "${fex}/share/fex-emu" 78 78 '';
+4 -2
pkgs/by-name/ne/neofetch/package.nix
··· 5 5 bash, 6 6 makeWrapper, 7 7 pciutils, 8 - x11Support ? !stdenvNoCC.isOpenBSD, 8 + x11Support ? !stdenvNoCC.hostPlatform.isOpenBSD, 9 9 ueberzug, 10 10 fetchpatch, 11 11 }: ··· 56 56 postInstall = '' 57 57 wrapProgram $out/bin/neofetch \ 58 58 --prefix PATH : ${ 59 - lib.makeBinPath (lib.optional (!stdenvNoCC.isOpenBSD) pciutils ++ lib.optional x11Support ueberzug) 59 + lib.makeBinPath ( 60 + lib.optional (!stdenvNoCC.hostPlatform.isOpenBSD) pciutils ++ lib.optional x11Support ueberzug 61 + ) 60 62 } 61 63 ''; 62 64
+1 -1
pkgs/by-name/os/osu-lazer-bin/package.nix
··· 55 55 56 56 passthru.updateScript = ./update.sh; 57 57 in 58 - if stdenvNoCC.isDarwin then 58 + if stdenvNoCC.hostPlatform.isDarwin then 59 59 stdenvNoCC.mkDerivation { 60 60 inherit 61 61 pname
+1 -1
pkgs/by-name/ov/ovftool/package.nix
··· 341 341 ]; 342 342 platforms = builtins.attrNames ovftoolSystems; 343 343 mainProgram = "ovftool"; 344 - knownVulnerabilities = lib.optionals (stdenv.isDarwin) [ 344 + knownVulnerabilities = lib.optionals (stdenv.hostPlatform.isDarwin) [ 345 345 "The bundled version of openssl 1.0.2zj in ovftool for Darwin has open vulnerabilities." 346 346 "https://openssl-library.org/news/vulnerabilities-1.0.2/" 347 347 "CVE-2024-0727"
+2 -2
pkgs/by-name/rp/rp/package.nix
··· 13 13 cmake 14 14 ninja 15 15 ]; 16 - buildInputs = lib.optionals (stdenv.isLinux) [ stdenv.cc.libc.static ]; 16 + buildInputs = lib.optionals (stdenv.hostPlatform.isLinux) [ stdenv.cc.libc.static ]; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "0vercl0k"; ··· 25 25 26 26 installPhase = '' 27 27 mkdir -p $out/bin 28 - cp rp-${if stdenv.isDarwin then "osx" else "lin"} $out/bin/rp 28 + cp rp-${if stdenv.hostPlatform.isDarwin then "osx" else "lin"} $out/bin/rp 29 29 ''; 30 30 31 31 meta = with lib; {
+1 -1
pkgs/by-name/ry/ryubing/package.nix
··· 101 101 "--set SDL_VIDEODRIVER x11" 102 102 ]; 103 103 104 - preInstall = lib.optionalString stdenv.isLinux '' 104 + preInstall = lib.optionalString stdenv.hostPlatform.isLinux '' 105 105 # workaround for https://github.com/Ryujinx/Ryujinx/issues/2349 106 106 mkdir -p $out/lib/sndio-6 107 107 ln -s ${sndio}/lib/libsndio.so $out/lib/sndio-6/libsndio.so.6
+1 -1
pkgs/by-name/sp/spider/package.nix
··· 56 56 "--skip=pdl_is_fresh" 57 57 "--skip=verify_revision_available" 58 58 ] 59 - ++ lib.optionals stdenv.isDarwin [ 59 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ 60 60 # Sandbox limitation: attempted to create a NULL object 61 61 "--skip=website::test_link_duplicates" 62 62 "--skip=website::not_crawl_blacklist"
+1 -1
pkgs/by-name/yn/ynetd/package.nix
··· 13 13 hash = "sha256-7gioQ0r0LlUftIWKRwTqeZQl0GtskcRKaEE5z6A0S24="; 14 14 }; 15 15 16 - postPatch = lib.optionalString stdenv.isDarwin '' 16 + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' 17 17 substituteInPlace Makefile --replace-fail "-Wl,-z,relro,-z,now" "" 18 18 ''; 19 19
+2 -2
pkgs/development/beam-modules/build-mix.nix
··· 57 57 in 58 58 "[${lib.concatStringsSep "," options}]"; 59 59 60 - LANG = if stdenv.isLinux then "C.UTF-8" else "C"; 61 - LC_CTYPE = if stdenv.isLinux then "C.UTF-8" else "UTF-8"; 60 + LANG = if stdenv.hostPlatform.isLinux then "C.UTF-8" else "C"; 61 + LC_CTYPE = if stdenv.hostPlatform.isLinux then "C.UTF-8" else "UTF-8"; 62 62 63 63 # add to ERL_LIBS so other modules can find at runtime. 64 64 # http://erlang.org/doc/man/code.html#code-path
+2 -2
pkgs/development/beam-modules/mix-release.nix
··· 138 138 in 139 139 "[${lib.concatStringsSep "," options}]"; 140 140 141 - LANG = if stdenv.isLinux then "C.UTF-8" else "C"; 142 - LC_CTYPE = if stdenv.isLinux then "C.UTF-8" else "UTF-8"; 141 + LANG = if stdenv.hostPlatform.isLinux then "C.UTF-8" else "C"; 142 + LC_CTYPE = if stdenv.hostPlatform.isLinux then "C.UTF-8" else "UTF-8"; 143 143 144 144 postUnpack = 145 145 ''
+7 -4
pkgs/development/compilers/dotnet/packages.nix
··· 162 162 runHook postInstall 163 163 ''; 164 164 165 - ${if stdenvNoCC.isDarwin && lib.versionAtLeast version "10" then "postInstall" else null} = '' 166 - mkdir -p "$out"/nix-support 167 - cp "$src"/nix-support/manual-sdk-deps "$out"/nix-support/manual-sdk-deps 168 - ''; 165 + ${ 166 + if stdenvNoCC.hostPlatform.isDarwin && lib.versionAtLeast version "10" then "postInstall" else null 167 + } = 168 + '' 169 + mkdir -p "$out"/nix-support 170 + cp "$src"/nix-support/manual-sdk-deps "$out"/nix-support/manual-sdk-deps 171 + ''; 169 172 170 173 passthru = { 171 174 inherit (vmr) icu targetRid hasILCompiler;
+1 -1
pkgs/development/compilers/elm/packages/node/node-composition.nix
··· 18 18 writeShellScript 19 19 ; 20 20 inherit pkgs nodejs; 21 - libtool = if pkgs.stdenv.isDarwin then pkgs.cctools or pkgs.darwin.cctools else null; 21 + libtool = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.cctools or pkgs.darwin.cctools else null; 22 22 }; 23 23 in 24 24 import ./node-packages.nix {
+1 -1
pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix
··· 25 25 ]; 26 26 strictDeps = true; 27 27 28 - nativeBuildInputs = lib.optionals stdenv.isDarwin [ 28 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ 29 29 darwin.sigtool 30 30 ]; 31 31
+2 -2
pkgs/development/lisp-modules/imported.nix
··· 15922 15922 meta = { 15923 15923 hydraPlatforms = [ ]; 15924 15924 # darwin cannot find libpango.dylib 15925 - broken = stdenv.isDarwin; 15925 + broken = stdenv.hostPlatform.isDarwin; 15926 15926 }; 15927 15927 } 15928 15928 ); ··· 39541 39541 meta = { 39542 39542 hydraPlatforms = [ ]; 39543 39543 # darwin cannot find libpango.dylib 39544 - broken = stdenv.isDarwin; 39544 + broken = stdenv.hostPlatform.isDarwin; 39545 39545 }; 39546 39546 } 39547 39547 );
+1 -1
pkgs/development/mobile/androidenv/build-tools.nix
··· 23 23 pkgs.ncurses5 24 24 pkgs.libcxx 25 25 ] 26 - ++ lib.optionals (os == "linux" && stdenv.isx86_64) ( 26 + ++ lib.optionals (os == "linux" && stdenv.hostPlatform.isx86_64) ( 27 27 with pkgsi686Linux; 28 28 [ 29 29 glibc
+1 -1
pkgs/development/php-packages/tideways/default.nix
··· 29 29 finalAttrs.passthru.sources.${stdenvNoCC.hostPlatform.system} 30 30 or (throw "Unsupported platform for tideways-php: ${stdenvNoCC.hostPlatform.system}"); 31 31 32 - nativeBuildInputs = lib.optionals stdenvNoCC.isLinux [ 32 + nativeBuildInputs = lib.optionals stdenvNoCC.hostPlatform.isLinux [ 33 33 autoPatchelfHook 34 34 ]; 35 35
+1 -1
pkgs/development/python-modules/cut-cross-entropy/default.nix
··· 58 58 transformers 59 59 ]; 60 60 # `deepspeed` is not yet packaged in nixpkgs 61 - # ++ lib.optionals (!stdenv.isDarwin) [ 61 + # ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 62 62 # deepspeed 63 63 # ]; 64 64 };
+1 -1
pkgs/development/python-modules/fmpy/default.nix
··· 119 119 cmakeConfigurePhase 120 120 cmake --build native/src/build --config Release 121 121 '' 122 - + lib.optionalString (enableRemoting && stdenv.isLinux) '' 122 + + lib.optionalString (enableRemoting && stdenv.hostPlatform.isLinux) '' 123 123 # reimplementation of native/build_remoting.py 124 124 cmakeFlags="-S native/remoting -B remoting/linux64 -D RPCLIB=${rpclib}" 125 125 cmakeConfigurePhase
+1 -1
pkgs/development/python-modules/peft/default.nix
··· 71 71 pytestFlagsArray = [ "tests" ]; 72 72 73 73 # These tests fail when MPS devices are detected 74 - disabledTests = lib.optional stdenv.isDarwin [ 74 + disabledTests = lib.optional stdenv.hostPlatform.isDarwin [ 75 75 "gpu" 76 76 ]; 77 77
+1 -1
pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix
··· 46 46 ]; 47 47 48 48 # numerous test failures on Darwin 49 - doCheck = stdenv.isLinux; 49 + doCheck = stdenv.hostPlatform.isLinux; 50 50 51 51 pythonImportsCheck = [ "prometheus_fastapi_instrumentator" ]; 52 52
+1 -1
pkgs/development/python-modules/pygal/default.nix
··· 61 61 __impureHostDeps = [ "/System/Library/Fonts" ]; 62 62 63 63 postCheck = '' 64 - export LANG=${if stdenv.isDarwin then "en_US.UTF-8" else "C.UTF-8"} 64 + export LANG=${if stdenv.hostPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8"} 65 65 ''; 66 66 67 67 meta = with lib; {
+1 -1
pkgs/development/python-modules/smolagents/default.nix
··· 132 132 "test_visit_webpage" 133 133 "test_wikipedia_search" 134 134 ] 135 - ++ lib.optionals stdenv.isDarwin [ 135 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ 136 136 # Missing dependencies 137 137 "test_get_mlx" 138 138
+1 -1
pkgs/development/python-modules/vllm/default.nix
··· 295 295 lib.optionals cpuSupport [ 296 296 oneDNN 297 297 ] 298 - ++ lib.optionals (cpuSupport && stdenv.isLinux) [ 298 + ++ lib.optionals (cpuSupport && stdenv.hostPlatform.isLinux) [ 299 299 numactl 300 300 ] 301 301 ++ lib.optionals cudaSupport (
+1 -1
pkgs/servers/nextcloud/packages/apps/recognize.nix
··· 10 10 ffmpeg-headless, 11 11 12 12 # Current derivation only supports linux-x86_64 (contributions welcome, without libTensorflow builtin webassembly can be used) 13 - useLibTensorflow ? stdenv.isx86_64 && stdenv.isLinux, 13 + useLibTensorflow ? stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isLinux, 14 14 15 15 ncVersion, 16 16 }:
+1 -1
pkgs/tools/system/uefitool/new-engine.nix
··· 25 25 zip 26 26 wrapQtAppsHook 27 27 ]; 28 - patches = lib.optionals stdenv.isDarwin [ ./bundle-destination.patch ]; 28 + patches = lib.optionals stdenv.hostPlatform.isDarwin [ ./bundle-destination.patch ]; 29 29 30 30 meta = { 31 31 description = "UEFI firmware image viewer and editor";