···24122412 };
24132413 };
2414241424152415+ ms-python.black-formatter = buildVscodeMarketplaceExtension {
24162416+ mktplcRef = {
24172417+ name = "black-formatter";
24182418+ publisher = "ms-python";
24192419+ version = "2023.4.1";
24202420+ sha256 = "sha256-IJaLke0WF1rlKTiuwJHAXDQB1SS39AoQhc4iyqqlTyY=";
24212421+ };
24222422+ meta = with lib; {
24232423+ description = "Formatter extension for Visual Studio Code using black";
24242424+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter";
24252425+ homepage = "https://github.com/microsoft/vscode-black-formatter";
24262426+ license = licenses.mit;
24272427+ maintainers = with maintainers; [ sikmir ];
24282428+ };
24292429+ };
24302430+24312431+ ms-python.isort = buildVscodeMarketplaceExtension {
24322432+ mktplcRef = {
24332433+ name = "isort";
24342434+ publisher = "ms-python";
24352435+ version = "2023.10.1";
24362436+ sha256 = "sha256-NRsS+mp0pIhGZiqxAMXNZ7SwLno9Q8pj+RS1WB92HzU=";
24372437+ };
24382438+ meta = with lib; {
24392439+ description = "Import sorting extension for Visual Studio Code using isort";
24402440+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.isort";
24412441+ homepage = "https://github.com/microsoft/vscode-isort";
24422442+ license = licenses.mit;
24432443+ maintainers = with maintainers; [ sikmir ];
24442444+ };
24452445+ };
24462446+24152447 ms-python.python = callPackage ./ms-python.python { };
2416244824172449 ms-python.vscode-pylance = buildVscodeMarketplaceExtension {
+1-1
pkgs/applications/emulators/yuzu/generic.nix
···110110 # This changes `ir/opt` to `ir/var/empty` in `externals/dynarmic/src/dynarmic/CMakeLists.txt`
111111 # making the build fail, as that path does not exist
112112 dontFixCmake = true;
113113- patches = [./vulkan_version.patch];
113113+114114 cmakeFlags = [
115115 # actually has a noticeable performance impact
116116 "-DYUZU_ENABLE_LTO=ON"
···11-Yuzu requires a version of Vulkan that has not yet been released as a stable Vulkan SDK. In case this patch fails, check which version Yuzu is currently using and verify that it still works with the version shipped in Nixpkgs.
22-33---- a/CMakeLists.txt
44-+++ b/CMakeLists.txt
55-@@ -314,7 +314,7 @@
66- find_package(zstd 1.5 REQUIRED)
77-88- if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS)
99-- find_package(Vulkan 1.3.256 REQUIRED)
1010-+ find_package(Vulkan 1.3.250 REQUIRED)
1111- endif()
1212-1313- if (ENABLE_LIBUSB)
···6868 ] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [
6969 "-DLLVM_ENABLE_LIBCXX=ON"
7070 "-DLIBCXXABI_USE_LLVM_UNWINDER=ON"
7171+ ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) ||
7272+ (stdenv.hostPlatform.isDarwin && enableShared)) [
7373+ # libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib,
7474+ # but that does not appear to be the case for example when building
7575+ # pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc).
7676+ "-DCMAKE_EXE_LINKER_FLAGS=-nostdlib"
7777+ "-DCMAKE_SHARED_LINKER_FLAGS=-nostdlib"
7178 ] ++ lib.optionals stdenv.hostPlatform.isWasm [
7279 "-DLIBCXXABI_ENABLE_THREADS=OFF"
7380 "-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF"
···3232 ++ lib.optional stdenv.isDarwin xcbuild.xcrun;
3333 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
34343535- env.NIX_CFLAGS_COMPILE = toString [
3535+ env.NIX_CFLAGS_COMPILE = toString ([
3636 "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0"
3737- ];
3737+ ] ++ lib.optionals (!haveLibc) [
3838+ # The compiler got stricter about this, and there is a usellvm patch below
3939+ # which patches out the assert include causing an implicit definition of
4040+ # assert. It would be nicer to understand why compiler-rt thinks it should
4141+ # be able to #include <assert.h> in the first place; perhaps it's in the
4242+ # wrong, or perhaps there is a way to provide an assert.h.
4343+ "-Wno-error=implicit-function-declaration"
4444+ ]);
38453946 cmakeFlags = [
4047 "-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON"
···102109 '' + lib.optionalString stdenv.isDarwin ''
103110 substituteInPlace cmake/config-ix.cmake \
104111 --replace 'set(COMPILER_RT_HAS_TSAN TRUE)' 'set(COMPILER_RT_HAS_TSAN FALSE)'
105105- '' + lib.optionalString (useLLVM) ''
112112+ '' + lib.optionalString (useLLVM && !haveLibc) ''
106113 substituteInPlace lib/builtins/int_util.c \
107114 --replace "#include <stdlib.h>" ""
108115 substituteInPlace lib/builtins/clear_cache.c \
···117124 '' + lib.optionalString (useLLVM) ''
118125 ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbegin.o
119126 ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o
127127+ # Note the history of crt{begin,end}S in previous versions of llvm in nixpkg:
128128+ # The presence of crtbegin_shared has been added and removed; it's possible
129129+ # people have added/removed it to get it working on their platforms.
130130+ # Try each in turn for now.
131131+ ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbeginS.o
132132+ ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtendS.o
120133 ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o
121134 ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o
122135 '' + lib.optionalString doFakeLibgcc ''
+8
pkgs/development/compilers/llvm/16/default.nix
···254254 [ "-rtlib=compiler-rt"
255255 "-Wno-unused-command-line-argument"
256256 "-B${targetLlvmLibraries.compiler-rt}/lib"
257257+258258+ # Combat "__cxxabi_config.h not found". Maybe this could be fixed by
259259+ # copying these headers into libcxx? Note that building libcxx
260260+ # outside of monorepo isn't supported anymore, might be related to
261261+ # https://github.com/llvm/llvm-project/issues/55632
262262+ # ("16.0.3 libcxx, libcxxabi: circular build dependencies")
263263+ # Looks like the machinery changed in https://reviews.llvm.org/D120727.
264264+ "-I${lib.getDev targetLlvmLibraries.libcxx.cxxabi}/include/c++/v1"
257265 ]
258266 ++ lib.optional (!stdenv.targetPlatform.isWasm) "--unwindlib=libunwind"
259267 ++ lib.optional
···6868 ] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [
6969 "-DLLVM_ENABLE_LIBCXX=ON"
7070 "-DLIBCXXABI_USE_LLVM_UNWINDER=ON"
7171+ ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) ||
7272+ (stdenv.hostPlatform.isDarwin && enableShared)) [
7373+ # libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib,
7474+ # but that does not appear to be the case for example when building
7575+ # pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc).
7676+ "-DCMAKE_EXE_LINKER_FLAGS=-nostdlib"
7777+ "-DCMAKE_SHARED_LINKER_FLAGS=-nostdlib"
7178 ] ++ lib.optionals stdenv.hostPlatform.isWasm [
7279 "-DLIBCXXABI_ENABLE_THREADS=OFF"
7380 "-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF"
···313313 # what stdenv we use here, as long as CMake is happy.
314314 cxx-headers = callPackage ./libcxx {
315315 inherit llvm_meta;
316316+ # Note that if we use the regular stdenv here we'll get cycle errors
317317+ # when attempting to use this compiler in the stdenv.
318318+ #
319319+ # The final stdenv pulls `cxx-headers` from the package set where
320320+ # hostPlatform *is* the target platform which means that `stdenv` at
321321+ # that point attempts to use this toolchain.
322322+ #
323323+ # So, we use `stdenv_` (the stdenv containing `clang` from this package
324324+ # set, defined below) to sidestep this issue.
325325+ #
326326+ # Because we only use `cxx-headers` in `libcxxabi` (which depends on the
327327+ # clang stdenv _anyways_), this is okay.
328328+ stdenv = stdenv_;
316329 headersOnly = true;
317330 };
318331
···6868 ] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [
6969 "-DLLVM_ENABLE_LIBCXX=ON"
7070 "-DLIBCXXABI_USE_LLVM_UNWINDER=ON"
7171+ ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) ||
7272+ (stdenv.hostPlatform.isDarwin && enableShared)) [
7373+ # libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib,
7474+ # but that does not appear to be the case for example when building
7575+ # pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc).
7676+ "-DCMAKE_EXE_LINKER_FLAGS=-nostdlib"
7777+ "-DCMAKE_SHARED_LINKER_FLAGS=-nostdlib"
7178 ] ++ lib.optionals stdenv.hostPlatform.isWasm [
7279 "-DLIBCXXABI_ENABLE_THREADS=OFF"
7380 "-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF"
···833833 kexpand = throw "kexpand awless has been dropped due to the lack of maintenance from upstream since 2017"; # Added 2022-06-01
834834 keybase-go = throw "'keybase-go' has been renamed to/replaced by 'keybase'"; # Converted to throw 2022-02-22
835835 keysmith = libsForQt5.kdeGear.keysmith; # Added 2021-07-14
836836+ kfctl = throw "kfctl is broken and has been archived by upstream" ; # Added 2023-08-21
836837 kgx = gnome-console; # Added 2022-02-19
837838 kibana7-oss = throw "kibana7-oss has been removed, as the distribution is no longer provided by upstream. https://github.com/NixOS/nixpkgs/pull/114456"; # Added 2021-06-09
838839 kicad-with-packages3d = kicad; # Added 2019-11-25