Skip to content

Commit

Permalink
treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
Browse files Browse the repository at this point in the history
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
  • Loading branch information
Adam Joseph authored and Adam Joseph committed Nov 17, 2023
1 parent 6a689e7 commit c7e0f6b
Show file tree
Hide file tree
Showing 69 changed files with 94 additions and 96 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/audio/aucatctl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ stdenv.mkDerivation (finalAttrs: {
};

buildInputs = [ sndio ]
++ lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD)
++ lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isBSD)
libbsd;

outputs = [ "out" "man" ];

preBuild = ''
makeFlagsArray+=("PREFIX=$out")
'' + lib.optionalString
(!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) ''
(!stdenv.isDarwin && !stdenv.hostPlatform.isBSD) ''
makeFlagsArray+=(LDADD="-lsndio -lbsd")
# Fix warning about implicit declaration of function 'strlcpy'
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/audacity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace libraries/lib-files/FileNames.cpp \
--replace /usr/include/linux/magic.h ${linuxHeaders}/include/linux/magic.h
'' + lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.targetPlatform.darwinMinVersion "11.0") ''
'' + lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0") ''
sed -z -i "s/NSAppearanceName.*systemAppearance//" src/AudacityApp.mm
'';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/backup/proxmox-backup-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ rustPlatform.buildRustPackage {
postBuild = ''
make -C docs \
DEB_VERSION=${version} DEB_VERSION_UPSTREAM=${version} \
RUSTC_TARGET=${stdenv.targetPlatform.config} \
RUSTC_TARGET=${stdenv.hostPlatform.config} \
BUILD_MODE=release \
proxmox-backup-client.1 pxar.1
'';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ self: let
});

xeft = super.xeft.overrideAttrs (old: let
libExt = pkgs.stdenv.targetPlatform.extensions.sharedLibrary;
libExt = pkgs.stdenv.hostPlatform.extensions.sharedLibrary;
in {
dontUnpack = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ self: let
});

jinx = super.jinx.overrideAttrs (old: let
libExt = pkgs.stdenv.targetPlatform.extensions.sharedLibrary;
libExt = pkgs.stdenv.hostPlatform.extensions.sharedLibrary;
in {
dontUnpack = false;

Expand Down Expand Up @@ -159,7 +159,7 @@ self: let
);

xeft = super.xeft.overrideAttrs (old: let
libExt = pkgs.stdenv.targetPlatform.extensions.sharedLibrary;
libExt = pkgs.stdenv.hostPlatform.extensions.sharedLibrary;
in {
dontUnpack = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ let
ivy-rtags = fix-rtags super.ivy-rtags;

jinx = super.jinx.overrideAttrs (old: let
libExt = pkgs.stdenv.targetPlatform.extensions.sharedLibrary;
libExt = pkgs.stdenv.hostPlatform.extensions.sharedLibrary;
in {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [
pkgs.pkg-config
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/synergy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ stdenv.mkDerivation rec {

cmakeFlags = lib.optional (!withGUI) "-DSYNERGY_BUILD_LEGACY_GUI=OFF"
# NSFilenamesPboardType is deprecated in 10.14+
++ lib.optional stdenv.isDarwin "-DCMAKE_OSX_DEPLOYMENT_TARGET=${if stdenv.isAarch64 then "10.13" else stdenv.targetPlatform.darwinSdkVersion}";
++ lib.optional stdenv.isDarwin "-DCMAKE_OSX_DEPLOYMENT_TARGET=${if stdenv.isAarch64 then "10.13" else stdenv.hostPlatform.darwinSdkVersion}";

doCheck = true;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/mullvad/mullvad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {

# talpid-core wants libwg.a in build/lib/{triple}
preBuild = ''
dest=build/lib/${stdenv.targetPlatform.config}
dest=build/lib/${stdenv.hostPlatform.config}
mkdir -p $dest
ln -s ${libwg}/lib/libwg.a $dest
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/radio/uhd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ stdenv.mkDerivation (finalAttrs: {
];

postPhases = [ "installFirmware" "removeInstalledTests" ]
++ optionals (enableUtils && stdenv.targetPlatform.isLinux) [ "moveUdevRules" ]
++ optionals (enableUtils && stdenv.hostPlatform.isLinux) [ "moveUdevRules" ]
;

# UHD expects images in `$CMAKE_INSTALL_PREFIX/share/uhd/images`
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/biology/flywheel-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}:

let
inherit (stdenv.targetPlatform) system;
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";

os = {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/video/davinci-resolve/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ let
SITEURL = "https://www.blackmagicdesign.com/api/register/us/download/${DOWNLOADID}";

USERAGENT = builtins.concatStringsSep " " [
"User-Agent: Mozilla/5.0 (X11; Linux ${stdenv.targetPlatform.linuxArch})"
"User-Agent: Mozilla/5.0 (X11; Linux ${stdenv.hostPlatform.linuxArch})"
"AppleWebKit/537.36 (KHTML, like Gecko)"
"Chrome/77.0.3865.75"
"Safari/537.36"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{ lib
, fetchFromGitHub
, hostPlatform
, targetPlatform
, cargo
, rustc
, lld
}:

let
arch = targetPlatform.qemuArch;
arch = hostPlatform.qemuArch;

target = ./. + "/${arch}-unknown-none.json";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/bm/bmake/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ thoughtpolice AndersonTorres ];
platforms = lib.platforms.unix;
# ofborg: x86_64-linux builds the musl package, aarch64-linux doesn't
broken = stdenv.targetPlatform.isMusl && stdenv.buildPlatform.isAarch64;
broken = stdenv.hostPlatform.isMusl && stdenv.buildPlatform.isAarch64;
};
})
# TODO: report the quirks and patches to bmake devteam (especially the Musl one)
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/me/mermaid-cli/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
cp -r . "$out/lib/node_modules/@mermaid-js/mermaid-cli"
makeWrapper "${nodejs}/bin/node" "$out/bin/mmdc" \
'' + lib.optionalString (lib.meta.availableOn stdenv.targetPlatform chromium) ''
'' + lib.optionalString (lib.meta.availableOn stdenv.hostPlatform chromium) ''
--set PUPPETEER_EXECUTABLE_PATH '${lib.getExe chromium}' \
'' + ''
--add-flags "$out/lib/node_modules/@mermaid-js/mermaid-cli/src/cli.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ buildGoPackage rec {
buildPhase = ''
runHook preBuild
addToSearchPath GOPATH "${go-lib}/share/gocode"
make ARCH=${stdenv.targetPlatform.linuxArch} -C go/src/${goPackagePath}
make ARCH=${stdenv.hostPlatform.linuxArch} -C go/src/${goPackagePath}
runHook postBuild
'';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
# that as the version number, I guess.
version = "2017";

libname = pname + stdenv.targetPlatform.extensions.sharedLibrary;
libname = pname + stdenv.hostPlatform.extensions.sharedLibrary;

src = fetchurl {
url = "https://baldur.iti.kit.edu/sat-competition-2017/solvers/incremental/glucose-ipasir.zip";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/tinyscheme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
# We want to have the makefile pick up $CC, etc. so that we don't have
# to unnecessarily tie this package to the GCC stdenv.
./02-use-toolchain-env-vars.patch
] ++ lib.optionals stdenv.targetPlatform.isDarwin [
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
# On macOS the library suffix is .dylib:
./03-macOS-SOsuf.patch
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/SDL2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
, libGL
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid
, alsa-lib
, x11Support ? !stdenv.targetPlatform.isWindows && !stdenv.hostPlatform.isAndroid
, x11Support ? !stdenv.hostPlatform.isWindows && !stdenv.hostPlatform.isAndroid
, libX11
, xorgproto
, libICE
Expand Down Expand Up @@ -122,7 +122,7 @@ stdenv.mkDerivation (finalAttrs: {
"--disable-oss"
] ++ lib.optional (!x11Support) "--without-x"
++ lib.optional alsaSupport "--with-alsa-prefix=${alsa-lib.out}/lib"
++ lib.optional stdenv.targetPlatform.isWindows "--disable-video-opengles"
++ lib.optional stdenv.hostPlatform.isWindows "--disable-video-opengles"
++ lib.optional stdenv.isDarwin "--disable-sdltest";

# We remove libtool .la files when static libs are requested,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cd source
substituteInPlace Makefile \
--replace 'ldconfig' ""
'' + lib.optionalString (!stdenv.targetPlatform.isx86_64) ''
'' + lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
substituteInPlace Makefile \
--replace '-DENABLE_SSE2' ""
'';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/blst/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ stdenv.mkDerivation ( finalAttrs: {
buildPhase = ''
runHook preBuild
./build.sh ${lib.optionalString stdenv.targetPlatform.isWindows "flavour=mingw64"}
./build.sh -shared ${lib.optionalString stdenv.targetPlatform.isWindows "flavour=mingw64"}
./build.sh ${lib.optionalString stdenv.hostPlatform.isWindows "flavour=mingw64"}
./build.sh -shared ${lib.optionalString stdenv.hostPlatform.isWindows "flavour=mingw64"}
runHook postBuild
'';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/cctz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional stdenv.isDarwin Foundation;

installTargets = [ "install_hdrs" ]
++ lib.optional (!stdenv.targetPlatform.isStatic) "install_shared_lib"
++ lib.optional stdenv.targetPlatform.isStatic "install_lib";
++ lib.optional (!stdenv.hostPlatform.isStatic) "install_shared_lib"
++ lib.optional stdenv.hostPlatform.isStatic "install_lib";

postInstall = lib.optionalString stdenv.isDarwin ''
install_name_tool -id $out/lib/libcctz.so $out/lib/libcctz.so
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/libraries/ffmpeg/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
, withLadspa ? withFullDeps # LADSPA audio filtering
, withLibplacebo ? withFullDeps && !stdenv.isDarwin # libplacebo video processing library
, withLzma ? withHeadlessDeps # xz-utils
, withMfx ? withFullDeps && (with stdenv.targetPlatform; isLinux && !isAarch) # Hardware acceleration via intel-media-sdk/libmfx
, withMfx ? withFullDeps && (with stdenv.hostPlatform; isLinux && !isAarch) # Hardware acceleration via intel-media-sdk/libmfx
, withModplug ? withFullDeps && !stdenv.isDarwin # ModPlug support
, withMp3lame ? withHeadlessDeps # LAME MP3 encoder
, withMysofa ? withFullDeps # HRTF support via SOFAlizer
Expand Down Expand Up @@ -386,8 +386,8 @@ stdenv.mkDerivation (finalAttrs: {
(enableFeature withHardcodedTables "hardcoded-tables")
(enableFeature withSafeBitstreamReader "safe-bitstream-reader")

(enableFeature (withMultithread && stdenv.targetPlatform.isUnix) "pthreads")
(enableFeature (withMultithread && stdenv.targetPlatform.isWindows) "w32threads")
(enableFeature (withMultithread && stdenv.hostPlatform.isUnix) "pthreads")
(enableFeature (withMultithread && stdenv.hostPlatform.isWindows) "w32threads")
"--disable-os2threads" # We don't support OS/2

(enableFeature withNetwork "network")
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libcef/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ let
platforms."aarch64-linux".sha256 = "12sp58nxa3nv800badv62vpvc30hyb0ykywdaxgv9y8pswp9lq0z";
platforms."x86_64-linux".sha256 = "0vzzwq1k6bv9d209yg3samvfnfwj7s58y9r3p3pd98wxa9iyzf4j";

platformInfo = builtins.getAttr stdenv.targetPlatform.system platforms;
platformInfo = builtins.getAttr stdenv.hostPlatform.system platforms;
in
stdenv.mkDerivation rec {
pname = "cef-binary";
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/libraries/libsodium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ stdenv.mkDerivation (finalAttrs: {

outputs = [ "out" "dev" ];

patches = lib.optional stdenv.targetPlatform.isMinGW ./mingw-no-fortify.patch;
patches = lib.optional stdenv.hostPlatform.isMinGW ./mingw-no-fortify.patch;

nativeBuildInputs = lib.optional stdenv.targetPlatform.isMinGW autoreconfHook;
nativeBuildInputs = lib.optional stdenv.hostPlatform.isMinGW autoreconfHook;

separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";

enableParallelBuilding = true;
hardeningDisable = lib.optional (stdenv.targetPlatform.isMusl && stdenv.targetPlatform.isx86_32) "stackprotector";
hardeningDisable = lib.optional (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32) "stackprotector";

# FIXME: the hardeingDisable attr above does not seems effective, so
# the need to disable stackprotector via configureFlags
configureFlags = lib.optional (stdenv.targetPlatform.isMusl && stdenv.targetPlatform.isx86_32) "--disable-ssp";
configureFlags = lib.optional (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32) "--disable-ssp";

doCheck = true;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libusb1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, fetchpatch
, autoreconfHook
, pkg-config
, enableUdev ? stdenv.isLinux && !stdenv.targetPlatform.isStatic
, enableUdev ? stdenv.isLinux && !stdenv.hostPlatform.isStatic
, udev
, libobjc
, IOKit
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/mtxclient/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
# Should be fixable if a higher clang version is used, see:
# https://github.com/NixOS/nixpkgs/pull/85922#issuecomment-619287177
broken = stdenv.targetPlatform.isDarwin;
broken = stdenv.hostPlatform.isDarwin;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/multipart-parser-c/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stdenv.mkDerivation rec {

installPhase = ''
mkdir -p $out/lib
mv lib*${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/
mv lib*${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/
mkdir -p $out/include
mv *.h $out/include/
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/ntl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
"TUNE=${
if tune then
"auto"
else if stdenv.targetPlatform.isx86 then
else if stdenv.hostPlatform.isx86 then
"x86" # "chooses options that should be well suited for most x86 platforms"
else
"generic" # "chooses options that should be OK for most platforms"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/protobuf/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
]
# Tests fail to build on 32-bit platforms; fixed in 22.x
# https://github.com/protocolbuffers/protobuf/issues/10418
++ lib.optionals (stdenv.targetPlatform.is32bit && lib.versionOlder version "22") [
++ lib.optionals (stdenv.hostPlatform.is32bit && lib.versionOlder version "22") [
"-Dprotobuf_BUILD_TESTS=OFF"
];

Expand All @@ -85,7 +85,7 @@ stdenv.mkDerivation (finalAttrs: {
# https://hydra.nixos.org/build/235677717/nixlog/4/tail
# Also AnyTest.TestPackFromSerializationExceedsSizeLimit fails on 32-bit platforms
# https://github.com/protocolbuffers/protobuf/issues/8460
doCheck = !(stdenv.isDarwin && lib.versionAtLeast version "23") && !stdenv.targetPlatform.is32bit;
doCheck = !(stdenv.isDarwin && lib.versionAtLeast version "23") && !stdenv.hostPlatform.is32bit;

passthru = {
tests = {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/libraries/relibc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ redoxRustPlatform.buildRustPackage rec {
DESTDIR=$out make install
'';

# TODO: should be hostPlatform
TARGET = stdenvNoCC.targetPlatform.rust.rustcTargetSpec;
TARGET = stdenvNoCC.hostPlatform.rust.rustcTargetSpec;

cargoLock = {
lockFile = ./Cargo.lock;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/science/math/libtorch/bin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ in stdenv.mkDerivation {
inherit version;
pname = "libtorch";

src = fetchzip srcs."${stdenv.targetPlatform.system}-${device}" or unavailable;
src = fetchzip srcs."${stdenv.hostPlatform.system}-${device}" or unavailable;

nativeBuildInputs =
if stdenv.isDarwin then [ fixDarwinDylibNames ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ stdenv.mkDerivation rec {

# name of library file ("libzn_poly.so")
libbasename = "libzn_poly";
libext = stdenv.targetPlatform.extensions.sharedLibrary;
libext = stdenv.hostPlatform.extensions.sharedLibrary;

makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a";
};

configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.targetPlatform) [
configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"lf_cv_sane_realloc=yes"
];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/tk/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tcl.mkTclDerivation {
substituteInPlace $file --replace "exec wish" "exec $out/bin/wish"
done
''
+ lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.targetPlatform.darwinMinVersion "11") ''
+ lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") ''
substituteInPlace unix/configure* \
--replace " -framework UniformTypeIdentifiers" ""
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/v8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ stdenv.mkDerivation rec {
++ lib.optional stdenv.isDarwin ''use_lld=false'';

env.NIX_CFLAGS_COMPILE = "-O2";
FORCE_MAC_SDK_MIN = stdenv.targetPlatform.sdkVer or "10.12";
FORCE_MAC_SDK_MIN = stdenv.hostPlatform.sdkVer or "10.12";

nativeBuildInputs = [
myGn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ plugins: let
$CC -shared -fPIC ${source} -o "$out/lib/libvapoursynth-nix-plugins${ext}"
'';

ext = stdenv.targetPlatform.extensions.sharedLibrary;
ext = stdenv.hostPlatform.extensions.sharedLibrary;
in
runCommand "${vapoursynth.name}-with-plugins" {
nativeBuildInputs = [ makeWrapper ];
Expand Down
Loading

0 comments on commit c7e0f6b

Please sign in to comment.