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

Changed files
+75 -73
pkgs
applications
editors
rstudio
science
electronics
qucs-s
video
jellyfin-media-player
by-name
am
amazon-cloudwatch-agent
amneziawg-tools
cr
crusader
dn
dnstap
ex
excalidraw_export
fl
flexget
fo
foundry
g3
g3proxy
go
golden-cheetah
ia
ki
kikoplay
li
librist
livekit-libwebrtc
ln
lo
logrotate
ma
mattermost
mc
mcpelauncher-client
me
megacmd
my
mydumper
ox
oxide-rs
pr
proxychains-ng
qo
qownnotes
ry
ryubing
sd
so
st
stegseek
tr
tracy
tw
twitch-hls-client
ua
va
vanillatd
vs
vsmartcard-pcsc-relay
vsmartcard-vpcd
zf
zfs-replicate
development
compilers
binaryen
libraries
librsvg
qtspell
python-modules
distutils
kaleido
libuuu
nidaqmx
primp
waitress
zenoh
tools
backup
monolith
networking
system
top-level
+1 -1
pkgs/applications/editors/rstudio/default.nix
···
(lib.cmakeBool "QUARTO_ENABLED" true)
(lib.cmakeBool "RSTUDIO_CRASHPAD_ENABLED" false) # This is a NOOP except on x86_64-darwin
(lib.cmakeFeature "CMAKE_INSTALL_PREFIX" (
-
(placeholder "out") + (if stdenv.isDarwin then "/Applications" else "/lib/rstudio")
+
(placeholder "out") + (if stdenv.hostPlatform.isDarwin then "/Applications" else "/lib/rstudio")
))
]
++ lib.optionals (!server) [
+1 -1
pkgs/applications/science/electronics/qucs-s/default.nix
···
nativeBuildInputs = [ flex bison wrapQtAppsHook cmake ];
buildInputs = [ qtbase qttools qtcharts qtsvg gperf adms ]
-
++ lib.optionals stdenv.isLinux [ qtwayland libX11 ]
+
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland libX11 ]
++ kernels;
cmakeFlags = [
+1 -1
pkgs/applications/video/jellyfin-media-player/default.nix
···
ln -s ${jellyfin-web}/share/jellyfin-web .
'';
-
postInstall = lib.optionalString stdenv.isDarwin ''
+
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/bin $out/Applications
mv "$out/Jellyfin Media Player.app" $out/Applications
ln -s "$out/Applications/Jellyfin Media Player.app/Contents/MacOS/Jellyfin Media Player" $out/bin/jellyfinmediaplayer
+1 -1
pkgs/by-name/am/amazon-cloudwatch-agent/package.nix
···
versionCheckProgramArg = "-version";
passthru = {
-
tests = lib.optionalAttrs stdenv.isLinux {
+
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
inherit (nixosTests) amazon-cloudwatch-agent;
};
+2 -2
pkgs/by-name/am/amneziawg-tools/package.nix
···
substituteInPlace $out/lib/systemd/system/awg-quick@.service \
--replace-fail /usr/bin $out/bin
''
-
+ lib.optionalString stdenv.isLinux ''
+
+ lib.optionalString stdenv.hostPlatform.isLinux ''
for f in $out/bin/*; do
# Which firewall and resolvconf implementations to use should be determined by the
# environment, we provide the "default" ones as fallback.
···
}
done
''
-
+ lib.optionalString stdenv.isDarwin ''
+
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
for f in $out/bin/*; do
wrapProgram $f \
--prefix PATH : ${lib.makeBinPath [ amneziawg-go ]}
+2 -2
pkgs/by-name/cr/crusader/package.nix
···
makeWrapper
pkg-config
]
-
++ lib.optionals stdenv.isLinux [
+
++ lib.optionals stdenv.hostPlatform.isLinux [
autoPatchelfHook
];
···
libgcc
libxkbcommon
]
-
++ lib.optionals stdenv.isLinux [
+
++ lib.optionals stdenv.hostPlatform.isLinux [
xorg.libX11
xorg.libXcursor
xorg.libXi
+1 -1
pkgs/by-name/dn/dnstap/package.nix
···
homepage = "https://dnstap.info";
changelog = "https://github.com/dnstap/golang-dnstap/releases/tag/${src.rev}";
license = lib.licenses.asl20;
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
maintainers = [ lib.maintainers.azahi ];
mainProgram = "dnstap";
};
+1 -1
pkgs/by-name/ex/excalidraw_export/package.nix
···
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ venikx ];
mainProgram = "excalidraw_export";
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
};
}
+1 -1
pkgs/by-name/fl/flexget/package.nix
···
python3Packages.paramiko
];
-
doCheck = !stdenv.isDarwin;
+
doCheck = !stdenv.hostPlatform.isDarwin;
disabledTests = [
# reach the Internet
+5 -3
pkgs/by-name/fo/foundry/package.nix
···
useFetchCargoVendor = true;
cargoHash = "sha256-vVRFS7o0zV+ek9ho+URks6peOryMpFCE1sDzN9g7uH0=";
-
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.isDarwin [ darwin.DarwinTools ];
+
nativeBuildInputs = [
+
pkg-config
+
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.DarwinTools ];
-
buildInputs = [ solc ] ++ lib.optionals stdenv.isDarwin [ libusb1 ];
+
buildInputs = [ solc ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libusb1 ];
# Tests are run upstream, and many perform I/O
# incompatible with the nix build sandbox.
···
env = {
SVM_RELEASES_LIST_JSON =
-
if stdenv.isDarwin then
+
if stdenv.hostPlatform.isDarwin then
# Confusingly, these are universal binaries, not amd64.
# See: https://github.com/ethereum/solidity/issues/12291#issuecomment-1974771433
"${./svm-lists/macosx-amd64.json}"
+1 -1
pkgs/by-name/g3/g3proxy/package.nix
···
c-ares
lua5_4
]
-
++ lib.optionals stdenv.isDarwin [
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
+2 -2
pkgs/by-name/go/golden-cheetah/package.nix
···
'';
installPhase =
-
if stdenv.isLinux then
+
if stdenv.hostPlatform.isLinux then
''
runHook preInstall
···
runHook postInstall
''
-
else if stdenv.isDarwin then
+
else if stdenv.hostPlatform.isDarwin then
''
runHook preInstall
mkdir -p $out/Applications
+1 -1
pkgs/by-name/ia/iamb/package.nix
···
export HOME=$(mktemp -d)
'';
-
checkFlags = lib.optionals stdenv.isDarwin [
+
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
# Attempted to create a NULL object.
"--skip=base::tests::test_complete_cmdbar"
"--skip=base::tests::test_complete_msgbar"
+1 -1
pkgs/by-name/ki/kikoplay/package.nix
···
homepage = "https://kikoplay.fun";
license = lib.licenses.gpl3Only;
# See https://github.com/NixOS/nixpkgs/pull/354929
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
};
}
+1 -1
pkgs/by-name/li/librist/package.nix
···
};
# avoid rebuild on Linux for now
-
patches = lib.optionals stdenv.isDarwin [
+
patches = lib.optionals stdenv.hostPlatform.isDarwin [
# https://code.videolan.org/rist/librist/-/issues/192
./no-brew-darwin.diff
];
+1 -1
pkgs/by-name/li/livekit-libwebrtc/package.nix
···
cpio
pkg-config
]
-
++ lib.optionals stdenv.isDarwin [ xcbuild ];
+
++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild ];
buildInputs =
[ nasm ]
+1 -1
pkgs/by-name/ln/lnav/package.nix
···
curl
libarchive
]
-
++ lib.optionals (!stdenv.isDarwin) [
+
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
gpm
];
+1 -1
pkgs/by-name/lo/logrotate/package.nix
···
gzip,
popt,
autoreconfHook,
-
aclSupport ? stdenv.isLinux,
+
aclSupport ? stdenv.hostPlatform.isLinux,
acl,
nixosTests,
}:
+1 -1
pkgs/by-name/ma/mattermost/tests.nix
···
"TestSessionStore/MySQL/SessionGetWithDeviceId"
"TestSessionStore/MySQL/GetMobileSessionMetadata"
]
-
++ optionals (!stdenv.isx86_64) [
+
++ optionals (!stdenv.hostPlatform.isx86_64) [
# aarch64: invalid operating system or processor architecture
"TestCanIUpgradeToE0"
];
+1 -1
pkgs/by-name/mc/mcpelauncher-client/package.nix
···
patches = [ ./dont_download_glfw_client.patch ];
# Path hard-coded paths.
-
postPatch = lib.optionalString stdenv.isLinux ''
+
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
substituteInPlace mcpelauncher-client/src/jni/main_activity.cpp \
--replace-fail /usr/bin/xdg-open ${xdg-utils}/bin/xdg-open \
--replace-fail /usr/bin/zenity ${lib.getExe zenity}
+2 -2
pkgs/by-name/me/megacmd/package.nix
···
pname = "megacmd";
version = "1.7.0";
srcOptions =
-
if stdenv.isLinux then
+
if stdenv.hostPlatform.isLinux then
{
tag = "${version}_Linux";
hash = "sha256-UlSqwM8GQKeG8/K0t5DbM034NQOeBg+ujNi/MMsVCuM=";
···
];
buildInputs =
-
lib.optionals stdenv.isLinux [ gcc-unwrapped ] # fix: ld: cannot find lib64/libstdc++fs.a
+
lib.optionals stdenv.hostPlatform.isLinux [ gcc-unwrapped ] # fix: ld: cannot find lib64/libstdc++fs.a
++ [
c-ares
cryptopp
+2 -2
pkgs/by-name/my/mydumper/package.nix
···
zlib
zstd
]
-
++ lib.optionals stdenv.isLinux [
+
++ lib.optionals stdenv.hostPlatform.isLinux [
libselinux
libsepol
];
···
];
env.NIX_CFLAGS_COMPILE = (
-
if stdenv.isDarwin then
+
if stdenv.hostPlatform.isDarwin then
toString [
"-Wno-error=deprecated-non-prototype"
"-Wno-error=format"
+1 -1
pkgs/by-name/ox/oxide-rs/package.nix
···
openssl
zlib
]
-
++ lib.optionals stdenv.isDarwin [
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
+1 -1
pkgs/by-name/pr/proxychains-ng/package.nix
···
})
];
-
configureFlags = lib.optionals stdenv.isDarwin [
+
configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"--hookmethod=${darwinHookMethod}"
];
+1 -1
pkgs/by-name/qo/qownnotes/package.nix
···
--fish <(xvfb-run $out/bin/${finalAttrs.appname} --completion fish)
''
# Install shell completion on macOS
-
+ lib.optionalString stdenv.isDarwin ''
+
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
installShellCompletion --cmd ${finalAttrs.pname} \
--bash <($out/bin/${finalAttrs.appname} --completion bash) \
--fish <($out/bin/${finalAttrs.appname} --completion fish)
+6 -6
pkgs/by-name/ry/ryubing/package.nix
···
hash = "sha256-Goxg2+zaKaqbGv5q/ril4TBtfTbPEYEwQQ/M6NlEpus=";
};
-
nativeBuildInputs = lib.optional stdenv.isDarwin [
+
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin [
cctools
darwin.sigtool
];
···
libGL
SDL2
]
-
++ lib.optional (!stdenv.isDarwin) [
+
++ lib.optional (!stdenv.hostPlatform.isDarwin) [
udev
pulseaudio
]
-
++ lib.optional stdenv.isDarwin [ moltenvk ];
+
++ lib.optional stdenv.hostPlatform.isDarwin [ moltenvk ];
projectFile = "Ryujinx.sln";
testProjectFile = "src/Ryujinx.Tests/Ryujinx.Tests.csproj";
# Tests on Darwin currently fail because of Ryujinx.Tests.Unicorn
-
doCheck = !stdenv.isDarwin;
+
doCheck = !stdenv.hostPlatform.isDarwin;
dotnetFlags = [
"/p:ExtraDefineConstants=DISABLE_UPDATER%2CFORCE_EXTERNAL_BASE_DIR"
···
'';
preFixup = ''
-
${lib.optionalString stdenv.isLinux ''
+
${lib.optionalString stdenv.hostPlatform.isLinux ''
mkdir -p $out/share/{applications,icons/hicolor/scalable/apps,mime/packages}
pushd ${src}/distribution/linux
···
''}
# Don't make a softlink on OSX because of its case insensitivity
-
${lib.optionalString (!stdenv.isDarwin) "ln -s $out/bin/Ryujinx $out/bin/ryujinx"}
+
${lib.optionalString (!stdenv.hostPlatform.isDarwin) "ln -s $out/bin/Ryujinx $out/bin/ryujinx"}
'';
passthru.updateScript = ./updater.sh;
+1 -1
pkgs/by-name/sd/sdl3/package.nix
···
libudevSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
sndioSupport ? false,
testSupport ? true,
-
waylandSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid,
+
waylandSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
x11Support ? !stdenv.hostPlatform.isAndroid && !stdenv.hostPlatform.isWindows,
}:
+1 -1
pkgs/by-name/so/sov/package.nix
···
maintainers = with lib.maintainers; [ ];
inherit (wayland.meta) platforms;
# sys/timerfd.h header inexistent
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
};
})
+2 -2
pkgs/by-name/st/stegseek/package.nix
···
];
# tests get stuck on aarch64-linux
-
doCheck = stdenv.isx86_64 && stdenv.isLinux;
+
doCheck = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isLinux;
meta = with lib; {
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
description = "Tool to crack steganography";
longDescription = ''
Stegseek is a lightning fast steghide cracker that can be
+5 -5
pkgs/by-name/tr/tracy/package.nix
···
wayland-protocols,
}:
-
assert withGtkFileSelector -> stdenv.isLinux;
-
assert withWayland -> stdenv.isLinux;
+
assert withGtkFileSelector -> stdenv.hostPlatform.isLinux;
+
assert withWayland -> stdenv.hostPlatform.isLinux;
stdenv.mkDerivation rec {
pname = if withWayland then "tracy-wayland" else "tracy-glfw";
···
ninja
pkg-config
]
-
++ lib.optionals stdenv.isLinux [ wayland-scanner ]
+
++ lib.optionals stdenv.hostPlatform.isLinux [ wayland-scanner ]
++ lib.optionals stdenv.cc.isClang [ stdenv.cc.cc.libllvm ];
buildInputs =
···
"-DDOWNLOAD_CAPSTONE=off"
"-DTRACY_STATIC=off"
]
-
++ lib.optional (stdenv.isLinux && withGtkFileSelector) "-DGTK_FILESELECTOR=ON"
-
++ lib.optional (stdenv.isLinux && !withWayland) "-DLEGACY=on";
+
++ lib.optional (stdenv.hostPlatform.isLinux && withGtkFileSelector) "-DGTK_FILESELECTOR=ON"
+
++ lib.optional (stdenv.hostPlatform.isLinux && !withWayland) "-DLEGACY=on";
env.NIX_CFLAGS_COMPILE = toString (
[ ]
+1 -1
pkgs/by-name/tw/twitch-hls-client/package.nix
···
useFetchCargoVendor = true;
cargoHash = "sha256-sqhB2Lj3RK1OyXy87Be9aOkfcksqz+5VfRTlKuswerU=";
-
buildInputs = lib.optionals stdenv.isDarwin [
+
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
+1 -1
pkgs/by-name/ua/uasm/package.nix
···
platforms = platforms.unix;
maintainers = with maintainers; [ thiagokokada ];
license = licenses.watcom;
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
};
}
+2 -2
pkgs/by-name/va/vanillatd/package.nix
···
'';
installPhase =
-
if stdenv.isDarwin then
+
if stdenv.hostPlatform.isDarwin then
''
runHook preInstall
···
buildPhase =
let
Default_Data_Path =
-
if stdenv.isDarwin then
+
if stdenv.hostPlatform.isDarwin then
"$out/Applications/${appName}.app/Contents/share/${appName}"
else
"$out/share/${appName}";
+2 -2
pkgs/by-name/vs/vsmartcard-pcsc-relay/package.nix
···
]
))
]
-
++ lib.optionals stdenv.isDarwin [
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.PCSC
];
···
homepage = "https://frankmorgner.github.io/vsmartcard/pcsc-relay/README.html";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
maintainers = with lib.maintainers; [ stargate01 ];
};
})
+3 -3
pkgs/by-name/vs/vsmartcard-vpcd/package.nix
···
]
))
]
-
++ lib.optionals stdenv.isDarwin [
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.PCSC
];
-
configureFlags = lib.optional stdenv.isDarwin "--enable-infoplist";
+
configureFlags = lib.optional stdenv.hostPlatform.isDarwin "--enable-infoplist";
meta = {
description = "Emulates a smart card and makes it accessible through PC/SC";
homepage = "http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
maintainers = with lib.maintainers; [ stargate01 ];
};
})
+1 -1
pkgs/by-name/zf/zfs-replicate/package.nix
···
doCheck = true;
-
disabledTestPaths = lib.optionals stdenv.isDarwin [
+
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# AssertionError: Expected SystemExit or FileNotFoundError
"zfs_test/replicate_test/cli_test/main_test.py"
];
+1 -1
pkgs/development/compilers/binaryen/default.nix
···
"lit"
"gtest"
];
-
doCheck = stdenv.isLinux;
+
doCheck = stdenv.hostPlatform.isLinux;
meta = with lib; {
homepage = "https://github.com/WebAssembly/binaryen";
+1 -1
pkgs/development/libraries/librsvg/default.nix
···
# Probably broken MIME type detection on Darwin.
# Tests fail with imprecise rendering on i686.
-
doCheck = !stdenv.isDarwin && !stdenv.hostPlatform.isi686;
+
doCheck = !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isi686;
env = {
PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_QUERY_LOADERS = buildPackages.writeShellScript "gdk-pixbuf-loader-loaders-wrapped" ''
+1 -1
pkgs/development/libraries/qtspell/default.nix
···
enchant
qtbase
]
-
++ lib.optionals stdenv.isDarwin [
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
glib
llvmPackages.clang
];
+1 -1
pkgs/development/python-modules/distutils/default.nix
···
];
# jaraco-path depends ob pyobjc
-
doCheck = !stdenv.isDarwin;
+
doCheck = !stdenv.hostPlatform.isDarwin;
meta = {
description = "Distutils as found in cpython";
+1 -1
pkgs/development/python-modules/kaleido/default.nix
···
#ln -s ${dejavu_fonts}/share/fonts/truetype/* $out/${python.sitePackages}/kaleido/executable/xdg/fonts/truetype/dejavu/
#ln -s ${lato}/share/fonts/lato/* $out/${python.sitePackages}/kaleido/executable/xdg/fonts/truetype/lato/
''
-
+ lib.optionalString (!stdenv.isDarwin) ''
+
+ lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
# Replace bundled swiftshader with libGL
rm -rf $out/${python.sitePackages}/kaleido/executable/bin/swiftshader
ln -s ${libGL}/lib $out/${python.sitePackages}/kaleido/executable/bin/swiftshader
+2 -2
pkgs/development/python-modules/libuuu/default.nix
···
setuptools-scm
];
-
nativeBuildInputs = lib.optionals stdenv.isLinux [
+
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [
autoPatchelfHook
];
-
buildInputs = lib.optionals stdenv.isLinux [
+
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
udev
];
+1 -1
pkgs/development/python-modules/nidaqmx/default.nix
···
click
requests
]
-
++ lib.optionals stdenv.isLinux [
+
++ lib.optionals stdenv.hostPlatform.isLinux [
distro
];
+1 -1
pkgs/development/python-modules/primp/default.nix
···
# Remove bazel specific build file to make way for build directory
# This is a problem on Darwin because of case-insensitive filesystem
preBuild =
-
(lib.optionalString stdenv.isDarwin ''
+
(lib.optionalString stdenv.hostPlatform.isDarwin ''
rm ../BUILD
'')
+ oa.preBuild;
+1 -1
pkgs/development/python-modules/waitress/default.nix
···
pytest-cov-stub
];
-
doCheck = !stdenv.isDarwin;
+
doCheck = !stdenv.hostPlatform.isDarwin;
disabledTests = [
# access to socket
"test_service_port"
+1 -1
pkgs/development/python-modules/zenoh/default.nix
···
rustc
];
-
buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
+
buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;
pythonImportsCheck = [
"zenoh"
+1 -1
pkgs/tools/backup/monolith/default.nix
···
homepage = "https://github.com/Y2Z/monolith";
license = licenses.cc0;
platforms = lib.platforms.unix;
-
broken = stdenv.isDarwin;
+
broken = stdenv.hostPlatform.isDarwin;
maintainers = with maintainers; [ Br1ght0ne ];
};
}
+1 -1
pkgs/tools/networking/dd-agent/datadog-agent.nix
···
doCheck = false;
-
vendorHash = if stdenv.isDarwin
+
vendorHash = if stdenv.hostPlatform.isDarwin
then "sha256-3Piq5DPMTZUEjqNkw5HZY25An2kATX6Jac9unQfZnZc="
else "sha256-FR0Et3DvjJhbYUPy9mpN0QCJ7QDU4VRZFUTL0J1FSXw=";
+2 -2
pkgs/tools/system/nvtop/build-nvtop.nix
···
buildInputs =
[ ncurses ]
-
++ lib.optional stdenv.isLinux udev
-
++ lib.optional stdenv.isDarwin apple-sdk_12
+
++ lib.optional stdenv.hostPlatform.isLinux udev
+
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_12
++ lib.optional nvidia cudatoolkit
++ lib.optional needDrm libdrm;
+1 -1
pkgs/top-level/all-packages.nix
···
tsm-client-withGui = callPackage ../by-name/ts/tsm-client/package.nix { enableGui = true; };
-
tracy = callPackage ../by-name/tr/tracy/package.nix { withWayland = stdenv.isLinux; };
+
tracy = callPackage ../by-name/tr/tracy/package.nix { withWayland = stdenv.hostPlatform.isLinux; };
tracy-glfw = callPackage ../by-name/tr/tracy/package.nix { withWayland = false; };
tracy-wayland = callPackage ../by-name/tr/tracy/package.nix { withWayland = true; };