From de8743c2734c682a750694a51b8cf024c2dd3df5 Mon Sep 17 00:00:00 2001 From: GenericNerdyUsername Date: Thu, 22 Sep 2022 11:47:34 +0100 Subject: [PATCH 001/133] jetbrains.clion: patch lldb instead of replacing Using LLDB to debug rust programs failed due to a missing executable. See https://github.com/NixOS/nixpkgs/pull/186976#issuecomment-1252194831 --- pkgs/applications/editors/jetbrains/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 47dabbf0cbb9..292895107b83 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -5,6 +5,9 @@ , maven , autoPatchelfHook , libdbusmenu +, patchelf +, openssl +, expat , vmopts ? null }: @@ -41,12 +44,14 @@ let }).overrideAttrs (attrs: { nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ optionals (stdenv.isLinux) [ autoPatchelfHook + patchelf ]; buildInputs = (attrs.buildInputs or []) ++ optionals (stdenv.isLinux) [ python3 stdenv.cc.cc libdbusmenu - lldb + openssl.out + expat ]; dontAutoPatchelf = true; postFixup = (attrs.postFixup or "") + optionalString (stdenv.isLinux) '' @@ -58,9 +63,11 @@ let # bundled gdb does not find libcrypto 10 rm -rf bin/gdb/linux ln -s ${gdb} bin/gdb/linux - # bundled lldb does not find libssl - rm -rf bin/lldb/linux - ln -s ${lldb} bin/lldb/linux + + ls -d $PWD/bin/lldb/linux/lib/python3.8/lib-dynload/* | + xargs patchelf \ + --replace-needed libssl.so.10 libssl.so \ + --replace-needed libcrypto.so.10 libcrypto.so autoPatchelf $PWD/bin From 2018f92ef25a57c07b4c924476375948cf60164e Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sat, 24 Sep 2022 09:39:47 +0200 Subject: [PATCH 002/133] Add issue template for unreproducible packages It's nice to be able to easily create an issue for an unreproducibility, but my additional motivation for creating this issue template is that it makes it easier for non-maintainers to create issues that are correctly tagged '8.topic: reproducible builds'. --- .../ISSUE_TEMPLATE/unreproducible_package.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/unreproducible_package.md diff --git a/.github/ISSUE_TEMPLATE/unreproducible_package.md b/.github/ISSUE_TEMPLATE/unreproducible_package.md new file mode 100644 index 000000000000..749976dfbecd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/unreproducible_package.md @@ -0,0 +1,31 @@ +--- +name: Unreproducible package +about: A package that does not produce a bit-by-bit reproducible result each time it is built +title: '' +labels: '0.kind: enhancement', '6.topic: reproducible builds' +assignees: '' + +--- + +Building this package twice does not produce the bit-by-bit identical result each time, making it harder to detect CI breaches. You can read more about this at https://reproducible-builds.org/ . + +Fixing bit-by-bit reproducibility also has additional advantages, such as avoiding hard-to-reproduce bugs, making content-addressed storage more effective and reducing rebuilds in such systems. + +### Steps To Reproduce + +``` +nix-build '' -A ... --check --keep-failed +``` + +You can use `diffoscope` to analyze the differences in the output of the two builds. + +To view the build log of the build that produced the artifact in the binary cache: + +``` +nix-store --read-log $(nix-instantiate '' -A ...) +``` + +### Additional context + +(please share the relevant fragment of the diffoscope output here, +and any additional analysis you may have done) From 150a54fee9d0e09bf8cd0f0d5bc081eda4a2ebb1 Mon Sep 17 00:00:00 2001 From: Ingo Blechschmidt Date: Mon, 24 Oct 2022 14:22:30 +0200 Subject: [PATCH 003/133] tuxpaint: 0.9.27 -> 0.9.28 --- pkgs/games/tuxpaint/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/games/tuxpaint/default.nix b/pkgs/games/tuxpaint/default.nix index 638fa170f50f..e03079bf60dd 100644 --- a/pkgs/games/tuxpaint/default.nix +++ b/pkgs/games/tuxpaint/default.nix @@ -4,12 +4,12 @@ }: stdenv.mkDerivation rec { - version = "0.9.27"; + version = "0.9.28"; pname = "tuxpaint"; src = fetchurl { - url = "mirror://sourceforge/tuxpaint/${version}/${pname}-${version}.tar.gz"; - sha256 = "sha256-qyuA6J34gijNDsCmyQtJ1UPLFXqjj7kMvTop8AFAVXo="; + url = "mirror://sourceforge/tuxpaint/${version}/${pname}-${version}-sdl1.tar.gz"; + sha256 = "sha256-b4Ru9GqyGf2jMmM24szGXO2vbSxCwvPmA6tgEUWhhos="; }; nativeBuildInputs = [ @@ -29,8 +29,8 @@ stdenv.mkDerivation rec { # stamps stamps = fetchurl { - url = "mirror://sourceforge/project/tuxpaint/tuxpaint-stamps/2021-11-25/tuxpaint-stamps-2021.11.25.tar.gz"; - sha256 = "sha256-y1XuIbLSW0QO4has+rC7jZBq8cma28d+jbEe7DBYnVI="; + url = "mirror://sourceforge/project/tuxpaint/tuxpaint-stamps/2022-06-04/tuxpaint-stamps-2022.06.04.tar.gz"; + sha256 = "sha256-hCBlV2+uVUNY4A5R1xpJJhamSQsStZIigGdHfCh6C/g="; }; postInstall = '' From 865fdea4110b7565e2be8c20b4e08a911f2482ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Thu, 27 Oct 2022 17:03:17 -0500 Subject: [PATCH 004/133] =?UTF-8?q?coconut:=201.6.0=20=E2=86=92=202.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/python-modules/coconut/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/coconut/default.nix b/pkgs/development/python-modules/coconut/default.nix index dec024fa8385..848fb80ff093 100644 --- a/pkgs/development/python-modules/coconut/default.nix +++ b/pkgs/development/python-modules/coconut/default.nix @@ -14,13 +14,13 @@ buildPythonPackage rec { pname = "coconut"; - version = "1.6.0"; + version = "2.1.0"; src = fetchFromGitHub { owner = "evhub"; repo = "coconut"; rev = "v${version}"; - sha256 = "/397YGV6QWWmKfqr5hSvqRoPOu7Hx1Pak6rVPR3etzw="; + sha256 = "sha256-TkMwOE/Jug1zKjR1048o/Jmn8o9/oQPNqzwXYakwpgs="; }; propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ]; @@ -29,7 +29,7 @@ buildPythonPackage rec { # Currently most tests have performance issues pytestFlagsArray = [ - "tests/constants_test.py" + "coconut/tests/constants_test.py" ]; pythonImportsCheck = [ "coconut" ]; From f172d86a4e1bd84e6d2f4de3bceba36f58095484 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 31 Oct 2022 08:35:09 -0400 Subject: [PATCH 005/133] lib/systems: Simplify NetBSD examples The libc will be inferred. --- lib/systems/examples.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 0d9f67037764..61a67072a851 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -305,13 +305,11 @@ rec { x86_64-netbsd = { config = "x86_64-unknown-netbsd"; - libc = "nblibc"; }; # this is broken and never worked fully x86_64-netbsd-llvm = { config = "x86_64-unknown-netbsd"; - libc = "nblibc"; useLLVM = true; }; From 66aa02f190d17b4e7c4bf0f7f891984647a38234 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 31 Oct 2022 08:35:51 -0400 Subject: [PATCH 006/133] lib/systems: Support FreeBSD A tricky thing about FreeBSD is that there is no stable ABI across versions. That means that putting in the version as part of the config string is paramount. We have a parsed represenation that separates name versus version to accomplish this. We include FreeBSD versions 12 and 13 to demonstrate how it works. --- doc/stdenv/meta.chapter.md | 4 ++-- lib/systems/default.nix | 3 ++- lib/systems/doubles.nix | 2 +- lib/systems/examples.nix | 5 +++++ lib/systems/inspect.nix | 2 +- lib/systems/parse.nix | 15 ++++++++++++--- lib/tests/systems.nix | 6 +++--- 7 files changed, 26 insertions(+), 11 deletions(-) diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index a83aa0bd90f8..f4d8ed2919dd 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -44,8 +44,8 @@ $ nix-env -qa hello --json "mips32-linux", "x86_64-darwin", "i686-cygwin", - "i686-freebsd", - "x86_64-freebsd", + "i686-freebsd13", + "x86_64-freebsd13", "i686-openbsd", "x86_64-openbsd" ], diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 233174d40831..24f90b4565ef 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -47,9 +47,10 @@ rec { else if final.isUClibc then "uclibc" else if final.isAndroid then "bionic" else if final.isLinux /* default */ then "glibc" + else if final.isFreeBSD then "fblibc" + else if final.isNetBSD then "nblibc" else if final.isAvr then "avrlibc" else if final.isNone then "newlib" - else if final.isNetBSD then "nblibc" # TODO(@Ericson2314) think more about other operating systems else "native/impure"; # Choose what linker we wish to use by default. Someday we might also diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index 709b67607f7b..23a44d02e85e 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -13,7 +13,7 @@ let "x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin" # FreeBSD - "i686-freebsd" "x86_64-freebsd" + "i686-freebsd13" "x86_64-freebsd13" # Genode "aarch64-genode" "i686-genode" "x86_64-genode" diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 61a67072a851..de5adad3ca52 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -303,6 +303,11 @@ rec { # BSDs + x86_64-freebsd = { + config = "x86_64-unknown-freebsd13"; + useLLVM = true; + }; + x86_64-netbsd = { config = "x86_64-unknown-netbsd"; }; diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index ee213438e048..4e0bb8e672e9 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -59,7 +59,7 @@ rec { isiOS = { kernel = kernels.ios; }; isLinux = { kernel = kernels.linux; }; isSunOS = { kernel = kernels.solaris; }; - isFreeBSD = { kernel = kernels.freebsd; }; + isFreeBSD = { kernel = { name = "freebsd"; }; }; isNetBSD = { kernel = kernels.netbsd; }; isOpenBSD = { kernel = kernels.openbsd; }; isWindows = { kernel = kernels.windows; }; diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index ac450534fe1e..d8ba251503a6 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -290,7 +290,11 @@ rec { # the normalized name for macOS. macos = { execFormat = macho; families = { inherit darwin; }; name = "darwin"; }; ios = { execFormat = macho; families = { inherit darwin; }; }; - freebsd = { execFormat = elf; families = { inherit bsd; }; }; + # A tricky thing about FreeBSD is that there is no stable ABI across + # versions. That means that putting in the version as part of the + # config string is paramount. + freebsd12 = { execFormat = elf; families = { inherit bsd; }; name = "freebsd"; version = 12; }; + freebsd13 = { execFormat = elf; families = { inherit bsd; }; name = "freebsd"; version = 13; }; linux = { execFormat = elf; families = { }; }; netbsd = { execFormat = elf; families = { inherit bsd; }; }; none = { execFormat = unknown; families = { }; }; @@ -431,6 +435,8 @@ rec { then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = "redox"; } else if (elemAt l 2 == "mmixware") then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = "mmixware"; } + else if hasPrefix "freebsd" (elemAt l 2) + then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; } else if hasPrefix "netbsd" (elemAt l 2) then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; } else if (elem (elemAt l 2) ["eabi" "eabihf" "elf"]) @@ -485,10 +491,13 @@ rec { mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s)); + kernelName = kernel: + kernel.name + toString (kernel.version or ""); + doubleFromSystem = { cpu, kernel, abi, ... }: /**/ if abi == abis.cygnus then "${cpu.name}-cygwin" else if kernel.families ? darwin then "${cpu.name}-darwin" - else "${cpu.name}-${kernel.name}"; + else "${cpu.name}-${kernelName kernel}"; tripleFromSystem = { cpu, vendor, kernel, abi, ... } @ sys: assert isSystem sys; let optExecFormat = @@ -496,7 +505,7 @@ rec { gnuNetBSDDefaultExecFormat cpu != kernel.execFormat) kernel.execFormat.name; optAbi = lib.optionalString (abi != abis.unknown) "-${abi.name}"; - in "${cpu.name}-${vendor.name}-${kernel.name}${optExecFormat}${optAbi}"; + in "${cpu.name}-${vendor.name}-${kernelName kernel}${optExecFormat}${optAbi}"; ################################################################################ diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 4175dc68841e..27c5ff565ca0 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -16,17 +16,17 @@ with lib.systems.doubles; lib.runTests { testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ mmix ++ js ++ genode ++ redox); testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv6l-netbsd" "armv6l-none" "armv7a-linux" "armv7a-netbsd" "armv7l-linux" "armv7l-netbsd" "arm-none" "armv7a-darwin" ]; - testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; + testi686 = mseteq i686 [ "i686-linux" "i686-freebsd13" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; testmips = mseteq mips [ "mips64el-linux" "mipsel-linux" "mipsel-netbsd" ]; testmmix = mseteq mmix [ "mmix-mmixware" ]; testriscv = mseteq riscv [ "riscv32-linux" "riscv64-linux" "riscv32-netbsd" "riscv64-netbsd" "riscv32-none" "riscv64-none" ]; testriscv32 = mseteq riscv32 [ "riscv32-linux" "riscv32-netbsd" "riscv32-none" ]; testriscv64 = mseteq riscv64 [ "riscv64-linux" "riscv64-netbsd" "riscv64-none" ]; - testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-genode" "x86_64-redox" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ]; + testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd13" "x86_64-genode" "x86_64-redox" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ]; testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ]; testdarwin = mseteq darwin [ "x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin" ]; - testfreebsd = mseteq freebsd [ "i686-freebsd" "x86_64-freebsd" ]; + testfreebsd = mseteq freebsd [ "i686-freebsd13" "x86_64-freebsd13" ]; testgenode = mseteq genode [ "aarch64-genode" "i686-genode" "x86_64-genode" ]; testredox = mseteq redox [ "x86_64-redox" ]; testgnu = mseteq gnu (linux /* ++ kfreebsd ++ ... */); From 0afe9d1f70434c02b1efb84629b75385a57936cf Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 9 Mar 2020 02:10:06 -0400 Subject: [PATCH 007/133] freebsd packages: Init at 13.1 Always set `SRCTOP`, set it with abs path llvmPackages: Bump minimum version for FreeBSD llvmPackages_*, libgcc, compiler_rt: Hack in enough libs that one can compiler C freebsd.compat: Rename some things to work around cc-wrapper change 0bea4a194f7103fcedc0226a74e50657875a7c4d / #191724 in particular --- .../compilers/llvm/10/compiler-rt/default.nix | 6 +- .../development/compilers/llvm/10/default.nix | 2 +- .../compilers/llvm/10/libcxxabi/default.nix | 2 +- .../compilers/llvm/11/compiler-rt/default.nix | 6 +- .../development/compilers/llvm/11/default.nix | 2 +- .../compilers/llvm/11/libcxxabi/default.nix | 2 +- .../compilers/llvm/12/compiler-rt/default.nix | 6 +- .../development/compilers/llvm/12/default.nix | 2 +- .../compilers/llvm/12/libcxxabi/default.nix | 2 +- .../compilers/llvm/13/compiler-rt/default.nix | 6 +- .../development/compilers/llvm/13/default.nix | 2 +- .../compilers/llvm/13/libcxxabi/default.nix | 2 +- .../compilers/llvm/14/compiler-rt/default.nix | 3 + .../development/compilers/llvm/14/default.nix | 2 +- .../compilers/llvm/14/libcxxabi/default.nix | 2 +- .../compilers/llvm/5/compiler-rt/default.nix | 6 +- .../compilers/llvm/5/libcxxabi/default.nix | 2 +- .../compilers/llvm/6/compiler-rt/default.nix | 6 +- .../compilers/llvm/6/libcxxabi/default.nix | 2 +- .../compilers/llvm/7/compiler-rt/default.nix | 6 +- pkgs/development/compilers/llvm/7/default.nix | 2 +- .../compilers/llvm/7/libcxxabi/default.nix | 2 +- .../compilers/llvm/8/compiler-rt/default.nix | 6 +- pkgs/development/compilers/llvm/8/default.nix | 2 +- .../compilers/llvm/8/libcxxabi/default.nix | 2 +- .../compilers/llvm/9/compiler-rt/default.nix | 6 +- pkgs/development/compilers/llvm/9/default.nix | 2 +- .../compilers/llvm/9/libcxxabi/default.nix | 2 +- .../llvm/git/compiler-rt/default.nix | 3 + .../compilers/llvm/git/default.nix | 2 +- .../compilers/llvm/git/libcxxabi/default.nix | 2 +- .../compat-fix-typedefs-locations.patch | 32 + .../bsd/freebsd/compat-install-dirs.patch | 42 + .../bsd/freebsd/compat-setup-hook.sh | 6 + pkgs/os-specific/bsd/freebsd/default.nix | 900 ++++++++++++++++++ .../bsd/freebsd/libc-msun-arch-subdir.patch | 11 + .../freebsd/libc-no-force--lcompiler-rt.patch | 10 + .../bsd/freebsd/libnetbsd-do-install.patch | 32 + .../freebsd/librpcsvc-include-subdir.patch | 11 + .../freebsd/no-perms-BSD.include.dist.patch | 11 + .../bsd/freebsd/rpcgen-glibc-hack.patch | 15 + pkgs/os-specific/bsd/freebsd/setup-hook.sh | 12 + .../bsd/freebsd/sys-gnu-date.patch | 13 + .../sys-no-explicit-intrinsics-dep.patch | 45 + pkgs/os-specific/bsd/xargs-j.sh | 17 + pkgs/top-level/all-packages.nix | 8 +- 46 files changed, 1235 insertions(+), 30 deletions(-) create mode 100644 pkgs/os-specific/bsd/freebsd/compat-fix-typedefs-locations.patch create mode 100644 pkgs/os-specific/bsd/freebsd/compat-install-dirs.patch create mode 100644 pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh create mode 100644 pkgs/os-specific/bsd/freebsd/default.nix create mode 100644 pkgs/os-specific/bsd/freebsd/libc-msun-arch-subdir.patch create mode 100644 pkgs/os-specific/bsd/freebsd/libc-no-force--lcompiler-rt.patch create mode 100644 pkgs/os-specific/bsd/freebsd/libnetbsd-do-install.patch create mode 100644 pkgs/os-specific/bsd/freebsd/librpcsvc-include-subdir.patch create mode 100644 pkgs/os-specific/bsd/freebsd/no-perms-BSD.include.dist.patch create mode 100644 pkgs/os-specific/bsd/freebsd/rpcgen-glibc-hack.patch create mode 100644 pkgs/os-specific/bsd/freebsd/setup-hook.sh create mode 100644 pkgs/os-specific/bsd/freebsd/sys-gnu-date.patch create mode 100644 pkgs/os-specific/bsd/freebsd/sys-no-explicit-intrinsics-dep.patch create mode 100644 pkgs/os-specific/bsd/xargs-j.sh diff --git a/pkgs/development/compilers/llvm/10/compiler-rt/default.nix b/pkgs/development/compilers/llvm/10/compiler-rt/default.nix index 0302f2ad3092..8530e59d1215 100644 --- a/pkgs/development/compilers/llvm/10/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/10/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi, libxcrypt }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi, libxcrypt +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -99,6 +101,8 @@ stdenv.mkDerivation { for f in $out/lib/*/*builtins-i?86*; do ln -s "$f" $(echo "$f" | sed -e 's/builtins-i.86/builtins-i386/') done + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/10/default.nix b/pkgs/development/compilers/llvm/10/default.nix index 5cb6c278659d..84af7bcf3d77 100644 --- a/pkgs/development/compilers/llvm/10/default.nix +++ b/pkgs/development/compilers/llvm/10/default.nix @@ -156,7 +156,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/10/libcxxabi/default.nix b/pkgs/development/compilers/llvm/10/libcxxabi/default.nix index c61f48485580..b046e627d831 100644 --- a/pkgs/development/compilers/llvm/10/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/10/libcxxabi/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ cmake ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isWasm) libunwind; cmakeFlags = lib.optionals (stdenv.hostPlatform.useLLVM or false) [ "-DLLVM_ENABLE_LIBCXX=ON" diff --git a/pkgs/development/compilers/llvm/11/compiler-rt/default.nix b/pkgs/development/compilers/llvm/11/compiler-rt/default.nix index e4ba52030ba4..c520eecc7cd7 100644 --- a/pkgs/development/compilers/llvm/11/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/11/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -108,6 +110,8 @@ stdenv.mkDerivation { for f in $out/lib/*/*builtins-i?86*; do ln -s "$f" $(echo "$f" | sed -e 's/builtins-i.86/builtins-i386/') done + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/11/default.nix b/pkgs/development/compilers/llvm/11/default.nix index c3abface37eb..a29df9051e7c 100644 --- a/pkgs/development/compilers/llvm/11/default.nix +++ b/pkgs/development/compilers/llvm/11/default.nix @@ -172,7 +172,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/11/libcxxabi/default.nix b/pkgs/development/compilers/llvm/11/libcxxabi/default.nix index 2359820dddec..6b5cf85d1ec3 100644 --- a/pkgs/development/compilers/llvm/11/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/11/libcxxabi/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, llvm_meta, cmake, fetch, libcxx, libunwind, llvm, version , enableShared ? !stdenv.hostPlatform.isStatic , standalone ? stdenv.hostPlatform.useLLVM or false -, withLibunwind ? !stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm +, withLibunwind ? !stdenv.isDarwin && !stdenv.hostPlatform.isWasm }: stdenv.mkDerivation { diff --git a/pkgs/development/compilers/llvm/12/compiler-rt/default.nix b/pkgs/development/compilers/llvm/12/compiler-rt/default.nix index ed34d06ed986..65ea2ffa0fa5 100644 --- a/pkgs/development/compilers/llvm/12/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/12/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -94,6 +96,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/12/default.nix b/pkgs/development/compilers/llvm/12/default.nix index 4a2a7ee87894..22c114ab4290 100644 --- a/pkgs/development/compilers/llvm/12/default.nix +++ b/pkgs/development/compilers/llvm/12/default.nix @@ -163,7 +163,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/12/libcxxabi/default.nix b/pkgs/development/compilers/llvm/12/libcxxabi/default.nix index c130a6c1c311..3d9a92d9305d 100644 --- a/pkgs/development/compilers/llvm/12/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/12/libcxxabi/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, llvm_meta, cmake, python3, fetch, libcxx, libunwind, llvm, version , enableShared ? !stdenv.hostPlatform.isStatic , standalone ? stdenv.hostPlatform.useLLVM or false -, withLibunwind ? !stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm +, withLibunwind ? !stdenv.isDarwin && !stdenv.hostPlatform.isWasm }: stdenv.mkDerivation { diff --git a/pkgs/development/compilers/llvm/13/compiler-rt/default.nix b/pkgs/development/compilers/llvm/13/compiler-rt/default.nix index 9124686705ae..10a571d8e2c6 100644 --- a/pkgs/development/compilers/llvm/13/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/13/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, src, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt }: +{ lib, stdenv, llvm_meta, version, src, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -99,6 +101,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/13/default.nix b/pkgs/development/compilers/llvm/13/default.nix index 874be111ade0..fced8f7d2ae3 100644 --- a/pkgs/development/compilers/llvm/13/default.nix +++ b/pkgs/development/compilers/llvm/13/default.nix @@ -163,7 +163,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/13/libcxxabi/default.nix b/pkgs/development/compilers/llvm/13/libcxxabi/default.nix index 5da86b96d5a7..9043c6bff25b 100644 --- a/pkgs/development/compilers/llvm/13/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/13/libcxxabi/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, llvm_meta, cmake, python3, src, cxx-headers, libunwind, version , enableShared ? !stdenv.hostPlatform.isStatic , standalone ? stdenv.hostPlatform.useLLVM or false -, withLibunwind ? !stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm +, withLibunwind ? !stdenv.isDarwin && !stdenv.hostPlatform.isWasm }: stdenv.mkDerivation rec { diff --git a/pkgs/development/compilers/llvm/14/compiler-rt/default.nix b/pkgs/development/compilers/llvm/14/compiler-rt/default.nix index ef2495714e45..ef05ecd81143 100644 --- a/pkgs/development/compilers/llvm/14/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/14/compiler-rt/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, llvm_meta, version , monorepoSrc, runCommand , cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD }: let @@ -110,6 +111,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/14/default.nix b/pkgs/development/compilers/llvm/14/default.nix index 3a1ba402ef67..7b7e57748879 100644 --- a/pkgs/development/compilers/llvm/14/default.nix +++ b/pkgs/development/compilers/llvm/14/default.nix @@ -166,7 +166,7 @@ let ] ++ lib.optional (!stdenv.targetPlatform.isWasm) "--unwindlib=libunwind" ++ lib.optional - (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) + (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) "-lunwind" ++ lib.optional stdenv.targetPlatform.isWasm "-fno-exceptions"; }; diff --git a/pkgs/development/compilers/llvm/14/libcxxabi/default.nix b/pkgs/development/compilers/llvm/14/libcxxabi/default.nix index 0487f1d0de83..26f4c4dba8e4 100644 --- a/pkgs/development/compilers/llvm/14/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/14/libcxxabi/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ cmake python3 ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isWasm) libunwind; cmakeFlags = [ "-DLIBCXXABI_LIBCXX_INCLUDES=${cxx-headers}/include/c++/v1" diff --git a/pkgs/development/compilers/llvm/5/compiler-rt/default.nix b/pkgs/development/compilers/llvm/5/compiler-rt/default.nix index f6f59bb6d99b..6a9aa416f47b 100644 --- a/pkgs/development/compilers/llvm/5/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/5/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -86,6 +88,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/linux/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/linux/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/linux/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/freebsd/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/5/libcxxabi/default.nix b/pkgs/development/compilers/llvm/5/libcxxabi/default.nix index f2f707ec445d..925c8947ccf5 100644 --- a/pkgs/development/compilers/llvm/5/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/5/libcxxabi/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ cmake ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin) libunwind; preInstall = lib.optionalString stdenv.isDarwin '' for file in lib/*.dylib; do diff --git a/pkgs/development/compilers/llvm/6/compiler-rt/default.nix b/pkgs/development/compilers/llvm/6/compiler-rt/default.nix index 41442a2f1838..c8841b479d1f 100644 --- a/pkgs/development/compilers/llvm/6/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/6/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -86,6 +88,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/linux/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/linux/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/linux/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/freebsd/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/6/libcxxabi/default.nix b/pkgs/development/compilers/llvm/6/libcxxabi/default.nix index 63e6eee6f596..3371a8ba1a15 100644 --- a/pkgs/development/compilers/llvm/6/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/6/libcxxabi/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ cmake ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin) libunwind; preInstall = lib.optionalString stdenv.isDarwin '' for file in lib/*.dylib; do diff --git a/pkgs/development/compilers/llvm/7/compiler-rt/default.nix b/pkgs/development/compilers/llvm/7/compiler-rt/default.nix index 4937577c7b1b..ff960c89a9c5 100644 --- a/pkgs/development/compilers/llvm/7/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/7/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -89,6 +91,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/7/default.nix b/pkgs/development/compilers/llvm/7/default.nix index f0908f30775d..cf799d53f53b 100644 --- a/pkgs/development/compilers/llvm/7/default.nix +++ b/pkgs/development/compilers/llvm/7/default.nix @@ -163,7 +163,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/7/libcxxabi/default.nix b/pkgs/development/compilers/llvm/7/libcxxabi/default.nix index 721200136a57..8be9690f5f40 100644 --- a/pkgs/development/compilers/llvm/7/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/7/libcxxabi/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, llvm_meta, cmake, fetch, libcxx, libunwind, llvm, version , fetchpatch , standalone ? stdenv.hostPlatform.useLLVM or false -, withLibunwind ? !stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm +, withLibunwind ? !stdenv.isDarwin && !stdenv.hostPlatform.isWasm # on musl the shared objects don't build , enableShared ? !stdenv.hostPlatform.isStatic }: diff --git a/pkgs/development/compilers/llvm/8/compiler-rt/default.nix b/pkgs/development/compilers/llvm/8/compiler-rt/default.nix index 9ff81a32dbc6..209c70f83416 100644 --- a/pkgs/development/compilers/llvm/8/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/8/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -89,6 +91,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/8/default.nix b/pkgs/development/compilers/llvm/8/default.nix index 43050a72b922..d6f272337f9f 100644 --- a/pkgs/development/compilers/llvm/8/default.nix +++ b/pkgs/development/compilers/llvm/8/default.nix @@ -164,7 +164,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/8/libcxxabi/default.nix b/pkgs/development/compilers/llvm/8/libcxxabi/default.nix index 5ade8a5ae66f..6b4de0786b98 100644 --- a/pkgs/development/compilers/llvm/8/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/8/libcxxabi/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ cmake ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isWasm) libunwind; cmakeFlags = lib.optionals (stdenv.hostPlatform.useLLVM or false) [ "-DLLVM_ENABLE_LIBCXX=ON" diff --git a/pkgs/development/compilers/llvm/9/compiler-rt/default.nix b/pkgs/development/compilers/llvm/9/compiler-rt/default.nix index 7e13b7f6216c..b4e83d3c3014 100644 --- a/pkgs/development/compilers/llvm/9/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/9/compiler-rt/default.nix @@ -1,4 +1,6 @@ -{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi }: +{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, libllvm, libcxxabi +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD +}: let @@ -88,6 +90,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/9/default.nix b/pkgs/development/compilers/llvm/9/default.nix index 7efe8486a387..eaa4641ea628 100644 --- a/pkgs/development/compilers/llvm/9/default.nix +++ b/pkgs/development/compilers/llvm/9/default.nix @@ -164,7 +164,7 @@ let echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' + '' + lib.optionalString (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) '' echo "-lunwind" >> $out/nix-support/cc-ldflags '' + lib.optionalString stdenv.targetPlatform.isWasm '' echo "-fno-exceptions" >> $out/nix-support/cc-cflags diff --git a/pkgs/development/compilers/llvm/9/libcxxabi/default.nix b/pkgs/development/compilers/llvm/9/libcxxabi/default.nix index 4a235f5c2ef7..b7c0c2b0475a 100644 --- a/pkgs/development/compilers/llvm/9/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/9/libcxxabi/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ cmake ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isWasm) libunwind; cmakeFlags = lib.optionals (stdenv.hostPlatform.useLLVM or false) [ "-DLLVM_ENABLE_LIBCXX=ON" diff --git a/pkgs/development/compilers/llvm/git/compiler-rt/default.nix b/pkgs/development/compilers/llvm/git/compiler-rt/default.nix index 9fabce1895a8..ae4a7f1244ef 100644 --- a/pkgs/development/compilers/llvm/git/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/git/compiler-rt/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, llvm_meta, version , monorepoSrc, runCommand , cmake, python3, xcbuild, libllvm, libcxxabi +, doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD }: let @@ -106,6 +107,8 @@ stdenv.mkDerivation { ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o + '' + lib.optionalString doFakeLibgcc '' + ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a ''; meta = llvm_meta // { diff --git a/pkgs/development/compilers/llvm/git/default.nix b/pkgs/development/compilers/llvm/git/default.nix index 1bb567df229b..c5567d2f2e2a 100644 --- a/pkgs/development/compilers/llvm/git/default.nix +++ b/pkgs/development/compilers/llvm/git/default.nix @@ -166,7 +166,7 @@ let ] ++ lib.optional (!stdenv.targetPlatform.isWasm) "--unwindlib=libunwind" ++ lib.optional - (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) + (!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && stdenv.targetPlatform.useLLVM or false) "-lunwind" ++ lib.optional stdenv.targetPlatform.isWasm "-fno-exceptions"; }; diff --git a/pkgs/development/compilers/llvm/git/libcxxabi/default.nix b/pkgs/development/compilers/llvm/git/libcxxabi/default.nix index b478668ebded..42a811e131b8 100644 --- a/pkgs/development/compilers/llvm/git/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/git/libcxxabi/default.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ cmake python3 ]; - buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind; + buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isWasm) libunwind; cmakeFlags = [ "-DLLVM_ENABLE_RUNTIMES=libcxxabi" diff --git a/pkgs/os-specific/bsd/freebsd/compat-fix-typedefs-locations.patch b/pkgs/os-specific/bsd/freebsd/compat-fix-typedefs-locations.patch new file mode 100644 index 000000000000..3336a2504e58 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/compat-fix-typedefs-locations.patch @@ -0,0 +1,32 @@ +--- a/tools/build/cross-build/include/common/sys/_types.h ++++ b/tools/build/cross-build/include/common/sys/_types.h +@@ -47,3 +47,6 @@ + * Neither GLibc nor macOS define __va_list but many FreeBSD headers require it. + */ + typedef __builtin_va_list __va_list; ++ ++typedef __UINTPTR_TYPE__ __uintptr_t; ++typedef __INTPTR_TYPE__ __intptr_t; +--- a/tools/build/cross-build/include/common/sys/types.h ++++ b/tools/build/cross-build/include/common/sys/types.h +@@ -49,9 +49,6 @@ + #include + #endif + +-typedef __UINTPTR_TYPE__ __uintptr_t; +-typedef __INTPTR_TYPE__ __intptr_t; +- + /* needed for gencat */ + typedef int __nl_item; + +--- a/tools/build/cross-build/include/linux/sys/types.h ++++ b/tools/build/cross-build/include/linux/sys/types.h +@@ -39,6 +39,8 @@ + + #include_next + ++#include ++ + #ifndef __size_t + typedef __SIZE_TYPE__ __size_t; + #endif diff --git a/pkgs/os-specific/bsd/freebsd/compat-install-dirs.patch b/pkgs/os-specific/bsd/freebsd/compat-install-dirs.patch new file mode 100644 index 000000000000..9bb2bea32ee9 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/compat-install-dirs.patch @@ -0,0 +1,42 @@ +diff --git a/tools/build/Makefile b/tools/build/Makefile +index 948a5f9dfdb..592af84eeae 100644 +--- a/tools/build/Makefile ++++ b/tools/build/Makefile +@@ -327,15 +327,15 @@ host-symlinks: + # and cross-tools stages. We do this here using mkdir since mtree may not exist + # yet (this happens if we are crossbuilding from Linux/Mac). + INSTALLDIR_LIST= \ +- bin \ +- lib/casper \ +- lib/geom \ +- usr/include/casper \ +- usr/include/private/ucl \ +- usr/include/private/zstd \ +- usr/lib \ +- usr/libdata/pkgconfig \ +- usr/libexec ++ ${BINDIR} \ ++ ${LIBDIR}/casper \ ++ ${LIBDIR}/geom \ ++ ${INCLUDEDIR}/casper \ ++ ${INCLUDEDIR}/private/ucl \ ++ ${INCLUDEDIR}/private/zstd \ ++ ${LIBDIR} \ ++ ${LIBDIR}/libdata/pkgconfig \ ++ ${LIBEXECDIR} + + installdirs: + mkdir -p ${INSTALLDIR_LIST:S,^,${DESTDIR}/,} +@@ -352,9 +352,9 @@ installdirs: + rm -rf "${DESTDIR}/${_dir}"; \ + fi + .endfor +- ln -sfn bin ${DESTDIR}/sbin +- ln -sfn ../bin ${DESTDIR}/usr/bin +- ln -sfn ../bin ${DESTDIR}/usr/sbin ++ ln -sfn bin ${DESTDIR}/${SBINDIR} ++ ln -sfn ../bin ${DESTDIR}/${BINDIR} ++ ln -sfn ../bin ${DESTDIR}/${SBINDIR} + .for _group in ${INCSGROUPS:NINCS} + mkdir -p "${DESTDIR}/${${_group}DIR}" + .endfor diff --git a/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh b/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh new file mode 100644 index 000000000000..6c3fda4e95ac --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh @@ -0,0 +1,6 @@ +# See pkgs/build-support/setup-hooks/role.bash +getHostRole + +export NIX_LDFLAGS${role_post}+=" -legacy" +export NIX_CFLAGS_COMPILE${role_post}+=" -isystem @out@/0-include" +export NIX_CFLAGS_COMPILE${role_post}+=" -isystem @out@/1-include" diff --git a/pkgs/os-specific/bsd/freebsd/default.nix b/pkgs/os-specific/bsd/freebsd/default.nix new file mode 100644 index 000000000000..86c63fc50654 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/default.nix @@ -0,0 +1,900 @@ +{ stdenv, lib, stdenvNoCC +, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget, pkgsHostHost, pkgsTargetTarget +, buildPackages, splicePackages, newScope +, bsdSetupHook, makeSetupHook +, fetchgit, fetchurl, coreutils, groff, mandoc, byacc, flex, which, m4, gawk, substituteAll, runtimeShell +, zlib, expat, libmd +, runCommand, writeShellScript, writeText, symlinkJoin +}: + +let + inherit (buildPackages.buildPackages) rsync; + + version = "13.1.0"; + + # `BuildPackages.fetchgit` avoids some probably splicing-caused infinite + # recursion. + freebsdSrc = buildPackages.fetchgit { + url = "https://git.FreeBSD.org/src.git"; + rev = "release/${version}"; + sha256 = "14nhk0kls83xfb64d5xy14vpi6k8laswjycjg80indq9pkcr2rlv"; + }; + + freebsdSetupHook = makeSetupHook { + name = "freebsd-setup-hook"; + } ./setup-hook.sh; + + otherSplices = { + selfBuildBuild = pkgsBuildBuild.freebsd; + selfBuildHost = pkgsBuildHost.freebsd; + selfBuildTarget = pkgsBuildTarget.freebsd; + selfHostHost = pkgsHostHost.freebsd; + selfTargetTarget = pkgsTargetTarget.freebsd or {}; # might be missing + }; + + mkBsdArch = stdenv': { + x86_64 = "amd64"; + aarch64 = "arm64"; + i486 = "i386"; + i586 = "i386"; + i686 = "i386"; + }.${stdenv'.hostPlatform.parsed.cpu.name} + or stdenv'.hostPlatform.parsed.cpu.name; + + install-wrapper = '' + set -eu + + args=() + declare -i path_args=0 + + while (( $# )); do + if (( $# == 1 )); then + if (( path_args > 1)) || [[ "$1" = */ ]]; then + mkdir -p "$1" + else + mkdir -p "$(dirname "$1")" + fi + fi + case $1 in + -C) ;; + -o | -g) shift ;; + -s) ;; + -m | -l) + # handle next arg so not counted as path arg + args+=("$1" "$2") + shift + ;; + -*) args+=("$1") ;; + *) + path_args+=1 + args+=("$1") + ;; + esac + shift + done + ''; + +in lib.makeScopeWithSplicing + splicePackages + newScope + otherSplices + (_: {}) + (_: {}) + (self: let + inherit (self) mkDerivation; + in { + inherit freebsdSrc; + + # Why do we have splicing and yet do `nativeBuildInputs = with self; ...`? + # See note in ../netbsd/default.nix. + + compatIfNeeded = lib.optional (!stdenvNoCC.hostPlatform.isFreeBSD) self.compat; + + mkDerivation = lib.makeOverridable (attrs: let + stdenv' = if attrs.noCC or false then stdenvNoCC else stdenv; + in stdenv'.mkDerivation (rec { + pname = "${attrs.pname or (baseNameOf attrs.path)}-freebsd"; + inherit version; + src = runCommand "${pname}-filtered-src" { + nativeBuildInputs = [ rsync ]; + } '' + for p in ${lib.concatStringsSep " " ([ attrs.path ] ++ attrs.extraPaths or [])}; do + set -x + path="$out/$p" + mkdir -p "$(dirname "$path")" + src_path="${freebsdSrc}/$p" + if [[ -d "$src_path" ]]; then src_path+=/; fi + rsync --chmod="+w" -r "$src_path" "$path" + set +x + done + ''; + + extraPaths = [ ]; + + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal + install tsort lorder mandoc groff #statHook + ]; + buildInputs = with self; compatIfNeeded; + + HOST_SH = stdenv'.shell; + + # Since STRIP below is the flag + STRIPBIN = "${stdenv.cc.bintools.targetPrefix}strip"; + + makeFlags = [ + "STRIP=-s" # flag to install, not command + ] ++ lib.optional (!stdenv.hostPlatform.isFreeBSD) "MK_WERROR=no"; + + # amd64 not x86_64 for this on unlike NetBSD + MACHINE_ARCH = mkBsdArch stdenv'; + + MACHINE = mkBsdArch stdenv'; + + MACHINE_CPUARCH = MACHINE_ARCH; + + COMPONENT_PATH = attrs.path or null; + + strictDeps = true; + + meta = with lib; { + maintainers = with maintainers; [ ericson2314 ]; + platforms = platforms.unix; + license = licenses.bsd2; + }; + } // lib.optionalAttrs stdenv'.hasCC { + # TODO should CC wrapper set this? + CPP = "${stdenv'.cc.targetPrefix}cpp"; + } // lib.optionalAttrs stdenv'.isDarwin { + MKRELRO = "no"; + } // lib.optionalAttrs (stdenv'.cc.isClang or false) { + HAVE_LLVM = lib.versions.major (lib.getVersion stdenv'.cc.cc); + } // lib.optionalAttrs (stdenv'.cc.isGNU or false) { + HAVE_GCC = lib.versions.major (lib.getVersion stdenv'.cc.cc); + } // lib.optionalAttrs (stdenv'.isx86_32) { + USE_SSP = "no"; + } // lib.optionalAttrs (attrs.headersOnly or false) { + installPhase = "includesPhase"; + dontBuild = true; + } // attrs)); + + ## + ## START BOOTSTRAPPING + ## + makeMinimal = mkDerivation rec { + inherit (self.make) path; + + buildInputs = with self; []; + nativeBuildInputs = with buildPackages.netbsd; [ bsdSetupHook freebsdSetupHook ]; + + skipIncludesPhase = true; + + makeFlags = []; + + postPatch = '' + patchShebangs configure + ${self.make.postPatch} + ''; + + buildPhase = '' + runHook preBuild + + sh ./make-bootstrap.sh + + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + + install -D bmake "$out/bin/bmake" + ln -s "$out/bin/bmake" "$out/bin/make" + mkdir -p "$out/share" + cp -r "$BSDSRCDIR/share/mk" "$out/share/mk" + find "$out/share/mk" -type f -print0 | + while IFS= read -r -d "" f; do + substituteInPlace "$f" --replace 'usr/' "" + done + substituteInPlace "$out/share/mk/bsd.symver.mk" \ + --replace '/share/mk' "$out/share/mk" + + runHook postInstall + ''; + + postInstall = lib.optionalString (!stdenv.targetPlatform.isFreeBSD) '' + boot_mk="$BSDSRCDIR/tools/build/mk" + cp "$boot_mk"/Makefile.boot* "$out/share/mk" + replaced_mk="$out/share/mk.orig" + mkdir "$replaced_mk" + mv "$out"/share/mk/bsd.{lib,prog}.mk "$replaced_mk" + for m in bsd.{lib,prog}.mk; do + cp "$boot_mk/$m" "$out/share/mk" + substituteInPlace "$out/share/mk/$m" --replace '../../../share/mk' '../mk.orig' + done + ''; + + extraPaths = with self; make.extraPaths; + }; + + # Wrap NetBSD's install + boot-install = buildPackages.writeShellScriptBin "boot-install" (install-wrapper + '' + + ${buildPackages.netbsd.install}/bin/xinstall "''${args[@]}" + ''); + + compat = mkDerivation rec { + pname = "compat"; + path = "tools/build"; + extraPaths = [ + "lib/libc/db" + "lib/libc/stdlib" # getopt + "lib/libc/gen" # getcap + "lib/libc/locale" # rpmatch + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ + "lib/libc/string" # strlcpy + "lib/libutil" + ] ++ [ + "contrib/libc-pwcache" + "contrib/libc-vis" + "sys/libkern" + "sys/kern/subr_capability.c" + + # Take only individual headers, or else we will clobber native libc, etc. + + "sys/rpc/types.h" + + # Listed in Makekfile as INC + "include/mpool.h" + "include/ndbm.h" + "include/err.h" + "include/stringlist.h" + "include/a.out.h" + "include/nlist.h" + "include/db.h" + "include/getopt.h" + "include/nl_types.h" + "include/elf.h" + "sys/sys/ctf.h" + + # Listed in Makekfile as SYSINC + + "sys/sys/capsicum.h" + "sys/sys/caprights.h" + "sys/sys/imgact_aout.h" + "sys/sys/nlist_aout.h" + "sys/sys/nv.h" + "sys/sys/dnv.h" + "sys/sys/cnv.h" + + "sys/sys/elf32.h" + "sys/sys/elf64.h" + "sys/sys/elf_common.h" + "sys/sys/elf_generic.h" + "sys/${mkBsdArch stdenv}/include" + ] ++ lib.optionals stdenv.hostPlatform.isx86 [ + "sys/x86/include" + ] ++ [ + + "sys/sys/queue.h" + "sys/sys/md5.h" + "sys/sys/sbuf.h" + "sys/sys/tree.h" + "sys/sys/font.h" + "sys/sys/consio.h" + "sys/sys/fnv_hash.h" + + "sys/crypto/chacha20/_chacha.h" + "sys/crypto/chacha20/chacha.h" + # included too, despite ".c" + "sys/crypto/chacha20/chacha.c" + + "sys/fs" + "sys/ufs" + "sys/sys/disk" + + "lib/libcapsicum" + "lib/libcasper" + ]; + + patches = [ + ./compat-install-dirs.patch + ./compat-fix-typedefs-locations.patch + ]; + + preBuild = '' + NIX_CFLAGS_COMPILE+=' -I../../include -I../../sys' + + cp ../../sys/${mkBsdArch stdenv}/include/elf.h ../../sys/sys + cp ../../sys/${mkBsdArch stdenv}/include/elf.h ../../sys/sys/${mkBsdArch stdenv} + '' + lib.optionalString stdenv.hostPlatform.isx86 '' + cp ../../sys/x86/include/elf.h ../../sys/x86 + ''; + + setupHooks = [ + ../../../build-support/setup-hooks/role.bash + ./compat-setup-hook.sh + ]; + + # This one has an ifdefed `#include_next` that makes it annoying. + postInstall = '' + rm ''${!outputDev}/0-include/libelf.h + ''; + + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal + boot-install + + which + ]; + buildInputs = [ expat zlib ]; + + makeFlags = [ + "STRIP=-s" # flag to install, not command + "MK_WERROR=no" + "HOST_INCLUDE_ROOT=${lib.getDev stdenv.cc.libc}/include" + "INSTALL=boot-install" + ]; + + preIncludes = '' + mkdir -p $out/{0,1}-include + cp --no-preserve=mode -r cross-build/include/common/* $out/0-include + '' + lib.optionalString stdenv.hostPlatform.isLinux '' + cp --no-preserve=mode -r cross-build/include/linux/* $out/1-include + '' + lib.optionalString stdenv.hostPlatform.isDarwin '' + cp --no-preserve=mode -r cross-build/include/darwin/* $out/1-include + ''; + }; + + libnetbsd = mkDerivation { + path = "lib/libnetbsd"; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal mandoc groff + (if stdenv.hostPlatform == stdenv.buildPlatform + then boot-install + else install) + ]; + patches = lib.optionals (!stdenv.hostPlatform.isFreeBSD) [ + ./libnetbsd-do-install.patch + #./libnetbsd-define-__va_list.patch + ]; + makeFlags = [ + "STRIP=-s" # flag to install, not command + "MK_WERROR=no" + ] ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "INSTALL=boot-install"; + buildInputs = with self; compatIfNeeded; + }; + + # HACK: to ensure parent directories exist. This emulates GNU + # install’s -D option. No alternative seems to exist in BSD install. + install = let binstall = writeShellScript "binstall" (install-wrapper + '' + + @out@/bin/xinstall "''${args[@]}" + ''); in mkDerivation { + path = "usr.bin/xinstall"; + extraPaths = with self; [ mtree.path ]; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal mandoc groff + (if stdenv.hostPlatform == stdenv.buildPlatform + then boot-install + else install) + ]; + skipIncludesPhase = true; + buildInputs = with self; compatIfNeeded ++ [ libmd libnetbsd ]; + makeFlags = [ + "STRIP=-s" # flag to install, not command + "MK_WERROR=no" + "TESTSDIR=${builtins.placeholder "test"}" + ] ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "INSTALL=boot-install"; + postInstall = '' + install -D -m 0550 ${binstall} $out/bin/binstall + substituteInPlace $out/bin/binstall --subst-var out + mv $out/bin/install $out/bin/xinstall + ln -s ./binstall $out/bin/install + ''; + outputs = [ "out" "man" "test" ]; + }; + + # Don't add this to nativeBuildInputs directly. Use statHook instead. + stat = mkDerivation { + path = "usr.bin/stat"; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + ]; + }; + + # stat isn't in POSIX, and NetBSD stat supports a completely + # different range of flags than GNU stat, so including it in PATH + # breaks stdenv. Work around that with a hook that will point + # NetBSD's build system and NetBSD stat without including it in + # PATH. + statHook = makeSetupHook { + name = "netbsd-stat-hook"; + } (writeText "netbsd-stat-hook-impl" '' + makeFlagsArray+=(TOOL_STAT=${self.stat}/bin/stat) + ''); + + tsort = mkDerivation { + path = "usr.bin/tsort"; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + ]; + }; + + lorder = mkDerivation rec { + path = "usr.bin/lorder"; + noCC = true; + dontBuild = true; + installPhase = '' + mkdir -p "$out/bin" "$man/share/man" + mv "lorder.sh" "$out/bin/lorder" + chmod +x "$out/bin/lorder" + mv "lorder.1" "$man/share/man" + ''; + nativeBuildInputs = [ bsdSetupHook freebsdSetupHook ]; + buildInputs = []; + outputs = [ "out" "man" ]; + }; + + ## + ## END BOOTSTRAPPING + ## + + ## + ## START COMMAND LINE TOOLS + ## + make = mkDerivation { + path = "contrib/bmake"; + version = "9.2"; + postPatch = '' + # make needs this to pick up our sys make files + export NIX_CFLAGS_COMPILE+=" -D_PATH_DEFSYSPATH=\"$out/share/mk\"" + + '' + lib.optionalString stdenv.isDarwin '' + substituteInPlace $BSDSRCDIR/share/mk/bsd.sys.mk \ + --replace '-Wl,--fatal-warnings' "" \ + --replace '-Wl,--warn-shared-textrel' "" + ''; + postInstall = '' + make -C $BSDSRCDIR/share/mk FILESDIR=$out/share/mk install + ''; + extraPaths = [ "share/mk" ] + ++ lib.optional (!stdenv.hostPlatform.isFreeBSD) "tools/build/mk"; + }; + mtree = mkDerivation { + path = "contrib/mtree"; + extraPaths = with self; [ mknod.path ]; + }; + + mknod = mkDerivation { + path = "sbin/mknod"; + }; + + rpcgen = mkDerivation rec { + path = "usr.bin/rpcgen"; + patches = lib.optionals (stdenv.hostPlatform.libc == "glibc") [ + # `WUNTRACED` is defined privately `bits/waitflags.h` in glibc. + # But instead of having a regular header guard, it has some silly + # non-modular logic. `stdlib.h` will include it if `sys/wait.h` + # hasn't yet been included (for it would first), and vice versa. + # + # The problem is that with the FreeBSD compat headers, one of + # those headers ends up included other headers...which ends up + # including the other one, this means by the first time we reach + # `#include ``, both `_SYS_WAIT_H` and + # `_STDLIB_H` are already defined! Thus, we never ned up including + # `` and defining `WUNTRACED`. + # + # This hacks around this by manually including `WUNTRACED` until + # the problem is fixed properly in glibc. + ./rpcgen-glibc-hack.patch + ]; + }; + + gencat = mkDerivation { + path = "usr.bin/gencat"; + }; + + file2c = mkDerivation { + path = "usr.bin/file2c"; + MK_TESTS = "no"; + }; + + libnv = mkDerivation { + path = "lib/libnv"; + extraPaths = [ + "sys/contrib/libnv" + "sys/sys" + ]; + MK_TESTS = "no"; + }; + + libsbuf = mkDerivation { + path = "lib/libsbuf"; + extraPaths = [ + "sys/kern" + ]; + MK_TESTS = "no"; + }; + + libelf = mkDerivation { + path = "lib/libelf"; + extraPaths = [ + "contrib/elftoolchain/libelf" + "contrib/elftoolchain/common" + "sys/sys/elf32.h" + "sys/sys/elf64.h" + "sys/sys/elf_common.h" + ]; + BOOTSTRAPPING = !stdenv.isFreeBSD; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + + m4 + ]; + MK_TESTS = "no"; + }; + + libdwarf = mkDerivation { + path = "lib/libdwarf"; + extraPaths = [ + "contrib/elftoolchain/libdwarf" + "contrib/elftoolchain/common" + "sys/sys/elf32.h" + "sys/sys/elf64.h" + "sys/sys/elf_common.h" + ]; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + + m4 + ]; + buildInputs = with self; compatIfNeeded ++ [ + libelf + ]; + MK_TESTS = "no"; + }; + + uudecode = mkDerivation { + path = "usr.bin/uudecode"; + MK_TESTS = "no"; + }; + + config = mkDerivation { + path = "usr.sbin/config"; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + + flex byacc file2c + ]; + buildInputs = with self; compatIfNeeded ++ [ libnv libsbuf ]; + }; + ## + ## END COMMAND LINE TOOLS + ## + + ## + ## START HEADERS + ## + include = mkDerivation { + path = "include"; + + extraPaths = [ + "contrib/libc-vis" + "etc/mtree/BSD.include.dist" + "sys" + ]; + + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal + install + mandoc groff rsync /*nbperf*/ rpcgen + + # HACK use NetBSD's for now + buildPackages.netbsd.mtree + ]; + + patches = [ + ./no-perms-BSD.include.dist.patch + ]; + + # The makefiles define INCSDIR per subdirectory, so we have to set + # something else on the command line so those definitions aren't + # overridden. + postPatch = '' + find "$BSDSRCDIR" -name Makefile -exec \ + sed -i -E \ + -e 's_/usr/include_''${INCSDIR0}_' \ + {} \; + ''; + + makeFlags = [ + "RPCGEN_CPP=${buildPackages.stdenv.cc.cc}/bin/cpp" + ]; + + # multiple header dirs, see above + postConfigure = '' + makeFlags=''${makeFlags/INCSDIR/INCSDIR0} + ''; + + headersOnly = true; + + MK_HESIOD = "yes"; + + meta.platforms = lib.platforms.freebsd; + }; + + ## + ## END HEADERS + ## + + csu = mkDerivation { + path = "lib/csu"; + extraPaths = with self; [ + "lib/Makefile.inc" + "lib/libc/include/libc_private.h" + ]; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal + install + + flex byacc gencat + ]; + buildInputs = with self; [ include ]; + MK_TESTS = "no"; + meta.platforms = lib.platforms.freebsd; + }; + + libc = mkDerivation rec { + pname = "libc"; + path = "lib/libc"; + extraPaths = [ + "etc/group" + "etc/master.passwd" + "etc/shells" + "lib/libmd" + "lib/libutil" + "lib/msun" + "sys/kern" + "sys/libkern" + "sys/sys" + "sys/crypto/chacha20" + "include/rpcsvc" + "contrib/jemalloc" + "contrib/gdtoa" + "contrib/libc-pwcache" + "contrib/libc-vis" + "contrib/tzcode/stdtime" + + # libthr + "lib/libthr" + "lib/libthread_db" + "libexec/rtld-elf" + + # librpcsvc + "lib/librpcsvc" + + # librt + "lib/librt" + + # libcrypt + "lib/libcrypt" + "lib/libmd" + "sys/crypto/sha2" + ]; + + patches = [ + # Hack around broken propogating MAKEFLAGS to submake, just inline logic + ./libc-msun-arch-subdir.patch + + # Don't force -lcompiler-rt, we don't actually call it that + ./libc-no-force--lcompiler-rt.patch + + # Fix extra include dir to get rpcsvc headers. + ./librpcsvc-include-subdir.patch + ]; + + postPatch = '' + substituteInPlace $COMPONENT_PATH/Makefile --replace '.include ' "" + ''; + + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal + install + + flex byacc gencat rpcgen + ]; + buildInputs = with self; [ include csu ]; + NIX_CFLAGS_COMPILE = "-B${self.csu}/lib"; + + makeFlags = [ + "STRIP=-s" # flag to install, not command + # lib/libc/gen/getgrent.c has sketchy cast from `void *` to enum + "MK_WERROR=no" + ]; + + MK_SYMVER = "yes"; + MK_SSP = "yes"; + MK_NLS = "yes"; + MK_ICONV = "no"; # TODO make srctop + MK_NS_CACHING = "yes"; + MK_INET6_SUPPORT = "yes"; + MK_HESIOD = "yes"; + MK_NIS = "yes"; + MK_HYPERV = "yes"; + MK_FP_LIBC = "yes"; + + MK_TCSH = "no"; + MK_MALLOC_PRODUCTION = "yes"; + + MK_TESTS = "no"; + + postInstall = '' + pushd ${self.include} + find . -type d -exec mkdir -p $out/\{} \; + find . \( -type f -o -type l \) -exec cp -pr \{} $out/\{} \; + popd + + pushd ${self.csu} + find . -type d -exec mkdir -p $out/\{} \; + find . \( -type f -o -type l \) -exec cp -pr \{} $out/\{} \; + popd + + sed -i -e 's| [^ ]*/libc_nonshared.a||' $out/lib/libc.so + + $CC -nodefaultlibs -lgcc -shared -o $out/lib/libgcc_s.so + + NIX_CFLAGS_COMPILE+=" -B$out/lib" + NIX_CFLAGS_COMPILE+=" -I$out/include" + NIX_LDFLAGS+=" -L$out/lib" + + make -C $BSDSRCDIR/lib/libthr $makeFlags + make -C $BSDSRCDIR/lib/libthr $makeFlags install + + make -C $BSDSRCDIR/lib/msun $makeFlags + make -C $BSDSRCDIR/lib/msun $makeFlags install + + make -C $BSDSRCDIR/lib/librpcsvc $makeFlags + make -C $BSDSRCDIR/lib/librpcsvc $makeFlags install + + make -C $BSDSRCDIR/lib/libutil $makeFlags + make -C $BSDSRCDIR/lib/libutil $makeFlags install + + make -C $BSDSRCDIR/lib/librt $makeFlags + make -C $BSDSRCDIR/lib/librt $makeFlags install + + make -C $BSDSRCDIR/lib/libcrypt $makeFlags + make -C $BSDSRCDIR/lib/libcrypt $makeFlags install + ''; + + meta.platforms = lib.platforms.freebsd; + }; + + ## + ## Kernel + ## + + libspl = mkDerivation { + path = "cddl/lib/libspl"; + extraPaths = [ + "sys/contrib/openzfs/lib/libspl" + "sys/contrib/openzfs/include" + + "cddl/compat/opensolaris/include" + "sys/contrib/openzfs/module/icp/include" + "sys/modules/zfs" + ]; + # nativeBuildInputs = with buildPackages.freebsd; [ + # bsdSetupHook freebsdSetupHook + # makeMinimal install mandoc groff + + # flex byacc file2c + # ]; + # buildInputs = with self; compatIfNeeded ++ [ libnv libsbuf ]; + meta.license = lib.licenses.cddl; + }; + + ctfconvert = mkDerivation { + path = "cddl/usr.bin/ctfconvert"; + extraPaths = [ + "cddl/compat/opensolaris" + "cddl/contrib/opensolaris" + "sys/cddl/compat/opensolaris" + "sys/cddl/contrib/opensolaris" + "sys/contrib/openzfs" + ]; + OPENSOLARIS_USR_DISTDIR = "$(SRCTOP)/cddl/contrib/opensolaris"; + OPENSOLARIS_SYS_DISTDIR = "$(SRCTOP)/sys/cddl/contrib/opensolaris"; + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + + # flex byacc file2c + ]; + buildInputs = with self; compatIfNeeded ++ [ + libelf libdwarf zlib libspl + ]; + meta.license = lib.licenses.cddl; + }; + + xargs-j = substituteAll { + name = "xargs-j"; + shell = runtimeShell; + src = ../xargs-j.sh; + dir = "bin"; + isExecutable = true; + }; + + sys = mkDerivation (let + cfg = "MINIMAL"; + in rec { + path = "sys"; + + nativeBuildInputs = with buildPackages.freebsd; [ + bsdSetupHook freebsdSetupHook + makeMinimal install mandoc groff + + config rpcgen file2c gawk uudecode xargs-j + #ctfconvert + ]; + + patches = [ + ./sys-gnu-date.patch + ./sys-no-explicit-intrinsics-dep.patch + ]; + + # --dynamic-linker /red/herring is used when building the kernel. + NIX_ENFORCE_PURITY = 0; + + AWK = "${buildPackages.gawk}/bin/awk"; + + CWARNEXTRA = "-Wno-error=shift-negative-value -Wno-address-of-packed-member"; + + MK_CTF = "no"; + + KODIR = "${builtins.placeholder "out"}/kernel"; + KMODDIR = "${builtins.placeholder "out"}/kernel"; + DTBDIR = "${builtins.placeholder"out"}/dbt"; + + KERN_DEBUGDIR = "${builtins.placeholder "out"}/debug"; + KERN_DEBUGDIR_KODIR = "${KERN_DEBUGDIR}/kernel"; + KERN_DEBUGDIR_KMODDIR = "${KERN_DEBUGDIR}/kernel"; + + skipIncludesPhase = true; + + configurePhase = '' + runHook preConfigure + + for f in conf/kmod.mk contrib/dev/acpica/acpica_prep.sh; do + substituteInPlace "$f" --replace 'xargs -J' 'xargs-j ' + done + + for f in conf/*.mk; do + substituteInPlace "$f" --replace 'KERN_DEBUGDIR}''${' 'KERN_DEBUGDIR_' + done + + cd ${mkBsdArch stdenv}/conf + sed -i ${cfg} \ + -e 's/WITH_CTF=1/WITH_CTF=0/' \ + -e '/KDTRACE/d' + config ${cfg} + + runHook postConfigure + ''; + preBuild = '' + cd ../compile/${cfg} + ''; + }); + +}) diff --git a/pkgs/os-specific/bsd/freebsd/libc-msun-arch-subdir.patch b/pkgs/os-specific/bsd/freebsd/libc-msun-arch-subdir.patch new file mode 100644 index 000000000000..4a69e85a986a --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/libc-msun-arch-subdir.patch @@ -0,0 +1,11 @@ +--- a/lib/libc/Makefile ++++ b/lib/libc/Makefile +@@ -194,7 +194,7 @@ SUBDIR.${MK_TESTS}+= tests + # recording a build dependency + CFLAGS+= -I${SRCTOP}/lib/libutil + # Same issue with libm +-MSUN_ARCH_SUBDIR != ${MAKE} -B -C ${SRCTOP}/lib/msun -V ARCH_SUBDIR ++MSUN_ARCH_SUBDIR = ${MACHINE_CPUARCH:S/i386/i387/} + # unfortunately msun/src contains both private and public headers + CFLAGS+= -I${SRCTOP}/lib/msun/${MSUN_ARCH_SUBDIR} + .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" diff --git a/pkgs/os-specific/bsd/freebsd/libc-no-force--lcompiler-rt.patch b/pkgs/os-specific/bsd/freebsd/libc-no-force--lcompiler-rt.patch new file mode 100644 index 000000000000..60176fb73cf7 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/libc-no-force--lcompiler-rt.patch @@ -0,0 +1,10 @@ +--- a/lib/libc/Makefile ++++ b/lib/libc/Makefile +@@ -58,7 +58,6 @@ CFLAGS+=${CANCELPOINTS_CFLAGS} + # Link with static libcompiler_rt.a. + # + LDFLAGS+= -nodefaultlibs +-LIBADD+= compiler_rt + + .if ${MK_SSP} != "no" && \ + (${LIBC_ARCH} == "i386" || ${MACHINE_ARCH:Mpower*} != "") diff --git a/pkgs/os-specific/bsd/freebsd/libnetbsd-do-install.patch b/pkgs/os-specific/bsd/freebsd/libnetbsd-do-install.patch new file mode 100644 index 000000000000..a7bd032d2be5 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/libnetbsd-do-install.patch @@ -0,0 +1,32 @@ +diff --git a/Makefile b/Makefile +index 22710f3d933..22effc848cf 100644 +--- a/lib/libnetbsd/Makefile ++++ b/lib/libnetbsd/Makefile +@@ -9,6 +9,26 @@ CFLAGS+= -I${.CURDIR} + + SRCS+= efun.c sockaddr_snprintf.c strsuftoll.c util.c util.h + +-INTERNALLIB= ++INCSGROUPS= INCS SYSINCS NETINETINCS ++ ++INCS+= \ ++ glob.h \ ++ pthread.h \ ++ rmd160.h \ ++ sha1.h \ ++ sha2.h \ ++ stdlib.h \ ++ util.h ++ ++SYSINCSDIR= ${INCLUDEDIR}/sys ++SYSINCS+= \ ++ sys/cdefs.h \ ++ sys/event.h \ ++ sys/types.h \ ++ sys/wait.h ++ ++NETINETINCSDIR= ${INCLUDEDIR}/netinet ++NETINETINCS+= \ ++ netinet/in.h + + .include diff --git a/pkgs/os-specific/bsd/freebsd/librpcsvc-include-subdir.patch b/pkgs/os-specific/bsd/freebsd/librpcsvc-include-subdir.patch new file mode 100644 index 000000000000..38e06682869f --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/librpcsvc-include-subdir.patch @@ -0,0 +1,11 @@ +--- a/lib/librpcsvc/Makefile ++++ b/lib/librpcsvc/Makefile +@@ -20,7 +20,7 @@ OTHERSRCS+= yp_passwd.c yp_update.c + + RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C + +-INCDIRS= -I${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc ++INCDIRS= -I${INCLUDEDIR}/rpcsvc + + CFLAGS+= -DYP ${INCDIRS} + diff --git a/pkgs/os-specific/bsd/freebsd/no-perms-BSD.include.dist.patch b/pkgs/os-specific/bsd/freebsd/no-perms-BSD.include.dist.patch new file mode 100644 index 000000000000..985617ee0f45 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/no-perms-BSD.include.dist.patch @@ -0,0 +1,11 @@ +--- a/etc/mtree/BSD.include.dist ++++ b/etc/mtree/BSD.include.dist +@@ -3,7 +3,7 @@ + # Please see the file src/etc/mtree/README before making changes to this file. + # + +-/set type=dir uname=root gname=wheel mode=0755 ++/set type=dir + . + arpa + .. diff --git a/pkgs/os-specific/bsd/freebsd/rpcgen-glibc-hack.patch b/pkgs/os-specific/bsd/freebsd/rpcgen-glibc-hack.patch new file mode 100644 index 000000000000..3dde1a010651 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/rpcgen-glibc-hack.patch @@ -0,0 +1,15 @@ +--- a/usr.bin/rpcgen/rpc_scan.c ++++ b/usr.bin/rpcgen/rpc_scan.c +@@ -43,8 +43,12 @@ __FBSDID("$FreeBSD$"); + */ + + #include + ++// glibc + compat is broken from silly indirect header guard ++#define _SYS_WAIT_H ++# include ++#undef _SYS_WAIT_H + #include + #include + #include + #include diff --git a/pkgs/os-specific/bsd/freebsd/setup-hook.sh b/pkgs/os-specific/bsd/freebsd/setup-hook.sh new file mode 100644 index 000000000000..929782954ba7 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/setup-hook.sh @@ -0,0 +1,12 @@ +setFreeBSDSrcTop() { + makeFlags="SRCTOP=$BSDSRCDIR $makeFlags" +} + +addFreeBSDMakeFlags() { + makeFlags="SBINDIR=${!outputBin}/bin $makeFlags" + makeFlags="LIBEXECDIR=${!outputLib}/libexec $makeFlags" + makeFlags="INCLUDEDIR=${!outputDev}/include $makeFlags" +} + +postUnpackHooks+=(setFreeBSDSrcTop) +preConfigureHooks+=(addFreeBSDMakeFlags) diff --git a/pkgs/os-specific/bsd/freebsd/sys-gnu-date.patch b/pkgs/os-specific/bsd/freebsd/sys-gnu-date.patch new file mode 100644 index 000000000000..2356446baf85 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/sys-gnu-date.patch @@ -0,0 +1,13 @@ +diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh +index c594724d814..d5287c7b992 100644 +--- a/sys/conf/newvers.sh ++++ b/sys/conf/newvers.sh +@@ -177,7 +177,7 @@ u=${USER:-root} + d=$(pwd) + h=${HOSTNAME:-$(hostname)} + if [ -n "$SOURCE_DATE_EPOCH" ]; then +- if ! t=$(date -r $SOURCE_DATE_EPOCH 2>/dev/null); then ++ if ! t=$(date -d @$SOURCE_DATE_EPOCH 2>/dev/null); then + echo "Invalid SOURCE_DATE_EPOCH" >&2 + exit 1 + fi diff --git a/pkgs/os-specific/bsd/freebsd/sys-no-explicit-intrinsics-dep.patch b/pkgs/os-specific/bsd/freebsd/sys-no-explicit-intrinsics-dep.patch new file mode 100644 index 000000000000..edf44de5bb0d --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/sys-no-explicit-intrinsics-dep.patch @@ -0,0 +1,45 @@ +diff --git a/sys/modules/aesni/Makefile b/sys/modules/aesni/Makefile +index cb8c744adde..1c327331890 100644 +--- a/sys/modules/aesni/Makefile ++++ b/sys/modules/aesni/Makefile +@@ -1,7 +1,6 @@ + # $FreeBSD$ + + .PATH: ${SRCTOP}/sys/crypto/aesni +-.PATH: ${SRCTOP}/contrib/llvm-project/clang/lib/Headers + + KMOD= aesni + SRCS= aesni.c +@@ -40,8 +39,8 @@ intel_sha256.o: intel_sha256.c + aesni_ghash.o: aesni.h + aesni_wrap.o: aesni.h + aesni_ccm.o: aesni.h +-intel_sha1.o: sha_sse.h immintrin.h shaintrin.h tmmintrin.h xmmintrin.h +-intel_sha256.o: sha_sse.h immintrin.h shaintrin.h tmmintrin.h xmmintrin.h ++intel_sha1.o: sha_sse.h ++intel_sha256.o: sha_sse.h + + .include + +diff --git a/sys/modules/blake2/Makefile b/sys/modules/blake2/Makefile +index e4b3fb9f126..5bfd9c2ae02 100644 +--- a/sys/modules/blake2/Makefile ++++ b/sys/modules/blake2/Makefile +@@ -3,7 +3,6 @@ + .PATH: ${SRCTOP}/sys/contrib/libb2 + .PATH: ${SRCTOP}/sys/crypto/blake2 + .PATH: ${SRCTOP}/sys/opencrypto +-.PATH: ${SRCTOP}/contrib/llvm-project/clang/lib/Headers + + KMOD = blake2 + +@@ -64,8 +63,7 @@ ${src:S/.c/.o/}: ${src} + -D_MM_MALLOC_H_INCLUDED -Wno-unused-function ${.IMPSRC} + ${CTFCONVERT_CMD} + +-${src:S/.c/.o/}: intrin.h emmintrin.h tmmintrin.h smmintrin.h immintrin.h \ +- x86intrin.h ${SRCS:M*.h} ++${src:S/.c/.o/}: ${SRCS:M*.h} + .endfor + + # FreeBSD-specific sources: diff --git a/pkgs/os-specific/bsd/xargs-j.sh b/pkgs/os-specific/bsd/xargs-j.sh new file mode 100644 index 000000000000..3dd27c2cd2cd --- /dev/null +++ b/pkgs/os-specific/bsd/xargs-j.sh @@ -0,0 +1,17 @@ +#! @shell@ + +declare -a args=() + +token=$1 +shift + +while (( $# )); do + if [[ "$1" = "$token" ]]; then + mapfile -t -O $(("${#args[@]}" + 1)) args + else + args+=("$1") + fi + shift +done + +exec "${args[@]}" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 93ddf1774edf..381df289cb72 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14586,7 +14586,7 @@ with pkgs; # assumption is that or any later version is good. choose = platform: /**/ if platform.isDarwin then 11 - else if platform.isFreeBSD then 7 + else if platform.isFreeBSD then 12 else if platform.isAndroid then 12 else if platform.system == "armv6l-linux" then 7 # This fixes armv6 cross-compilation else if platform.isLinux then 11 @@ -19024,6 +19024,7 @@ with pkgs; if stdenv.targetPlatform.useiOSPrebuilt then targetPackages.darwin.iosSdkPkgs.libraries or darwin.iosSdkPkgs.libraries else targetPackages.darwin.LibsystemCross or (throw "don't yet have a `targetPackages.darwin.LibsystemCross for ${stdenv.targetPlatform.config}`") + else if name == "fblibc" then targetPackages.freebsdCross.libc or freebsdCross.libc else if name == "nblibc" then targetPackages.netbsdCross.libc or netbsdCross.libc else if name == "wasilibc" then targetPackages.wasilibc or wasilibc else if name == "relibc" then targetPackages.relibc or relibc @@ -37728,6 +37729,11 @@ with pkgs; name = "bsd-setup-hook"; } ../os-specific/bsd/setup-hook.sh; + freebsd = callPackage ../os-specific/bsd/freebsd {}; + freebsdCross = callPackage ../os-specific/bsd/freebsd { + stdenv = crossLibcStdenv; + }; + netbsd = callPackage ../os-specific/bsd/netbsd {}; netbsdCross = callPackage ../os-specific/bsd/netbsd { stdenv = crossLibcStdenv; From 1e154436525547c20b34811bfe32be2937e61d0a Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Sat, 5 Nov 2022 20:16:36 -0500 Subject: [PATCH 008/133] bats.libraries: reduce output size --- pkgs/development/interpreters/bats/libraries.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/bats/libraries.nix b/pkgs/development/interpreters/bats/libraries.nix index 74324b03e6ad..ef0b40c31b7c 100644 --- a/pkgs/development/interpreters/bats/libraries.nix +++ b/pkgs/development/interpreters/bats/libraries.nix @@ -10,8 +10,9 @@ }; dontBuild = true; installPhase = '' - mkdir -p "$out/share/bats" - cp -r . "$out/share/bats/bats-assert" + mkdir -p "$out/share/bats/bats-assert" + cp load.bash "$out/share/bats/bats-assert" + cp -r src "$out/share/bats/bats-assert" ''; meta = { description = "Common assertions for Bats"; @@ -33,8 +34,9 @@ }; dontBuild = true; installPhase = '' - mkdir -p "$out/share/bats" - cp -r . "$out/share/bats/bats-file" + mkdir -p "$out/share/bats/bats-file" + cp load.bash "$out/share/bats/bats-file" + cp -r src "$out/share/bats/bats-file" ''; meta = { description = "Common filesystem assertions for Bats"; @@ -56,8 +58,9 @@ }; dontBuild = true; installPhase = '' - mkdir -p "$out/share/bats" - cp -r . "$out/share/bats/bats-support" + mkdir -p "$out/share/bats/bats-support" + cp load.bash "$out/share/bats/bats-support" + cp -r src "$out/share/bats/bats-support" ''; meta = { description = "Supporting library for Bats test helpers"; From 90babdcf38cd283b116fed0d79bf815e270c4638 Mon Sep 17 00:00:00 2001 From: ercao Date: Sun, 6 Nov 2022 14:48:22 +0800 Subject: [PATCH 009/133] maintainers: add ercao Signed-off-by: ercao --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 85dfc9c1f008..010c2ccd1aeb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4117,6 +4117,15 @@ githubId = 147284; name = "Jason Felice"; }; + ercao = { + email = "vip@ercao.cn"; + github = "ercao"; + githubId = 51725284; + name = "ercao"; + keys = [{ + fingerprint = "F3B0 36F7 B0CB 0964 3C12 D3C7 FFAB D125 7ECF 0889"; + }]; + }; erdnaxe = { email = "erdnaxe@crans.org"; github = "erdnaxe"; From 06ecc51368bb4181c313dd6fea1bc573b9b9a033 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 6 Nov 2022 22:03:18 -0800 Subject: [PATCH 010/133] boehmgc: disable SOFT_VDB on powerpc64le for version 8.2.2 Upstream has not yet fixed the bug: https://github.com/ivmai/bdwgc/issues/376 https://github.com/ivmai/bdwgc/issues/479 However there is a recommended workaround: https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537 This adds `CFLAGS_EXTRA=-DNO_SOFT_VDB` to the `makeFlags`, which prevents direct accesses to `/proc` being used for tracking dirtied pages (which must be rescanned): https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741 The collector will fall back to using mprotect() to trigger page faults on writes to clean pages and maintain its own dirty bits, which is slightly less efficient but (in this case) more reliable. Unreliable page-dirtiness bits can lead to use-after-free() corruption; this is not a situation where disabling the tests is a good idea. --- pkgs/development/libraries/boehm-gc/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 513ae50298e2..1a5924fbf55e 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -30,6 +30,17 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional enableMmap "--enable-mmap" ++ lib.optional enableLargeConfig "--enable-large-config"; + # this stanza can be dropped when a release fixes this issue: + # https://github.com/ivmai/bdwgc/issues/376 + makeFlags = lib.optionals (stdenv.hostPlatform.isPower64 && + lib.versionAtLeast finalAttrs.version "8.2.2") + [ + # do not use /proc primitives to track dirty bits; see: + # https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537 + # https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741 + "CFLAGS_EXTRA=-DNO_SOFT_VDB" + ]; + # `gctest` fails under emulation on aarch64-darwin doCheck = !(stdenv.isDarwin && stdenv.isx86_64); From 8260aed123ea511cd10fb5a3385fe07cd12d349a Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 6 Nov 2022 22:28:31 -0800 Subject: [PATCH 011/133] rephrase to avoid mass-rebuild --- pkgs/development/libraries/boehm-gc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 1a5924fbf55e..0e7a936b4c2a 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -32,14 +32,14 @@ stdenv.mkDerivation (finalAttrs: { # this stanza can be dropped when a release fixes this issue: # https://github.com/ivmai/bdwgc/issues/376 - makeFlags = lib.optionals (stdenv.hostPlatform.isPower64 && - lib.versionAtLeast finalAttrs.version "8.2.2") - [ + makeFlags = if (stdenv.hostPlatform.isPower64 && + lib.versionAtLeast finalAttrs.version "8.2.2") + then [ # do not use /proc primitives to track dirty bits; see: # https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537 # https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741 "CFLAGS_EXTRA=-DNO_SOFT_VDB" - ]; + ] else null; # `gctest` fails under emulation on aarch64-darwin doCheck = !(stdenv.isDarwin && stdenv.isx86_64); From 7343a3b642cbdbac47770fe24d65aa9f9d23e6fa Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 6 Nov 2022 23:08:33 -0800 Subject: [PATCH 012/133] boehmgc: switch from versionAtLeast to == for powerpc workaround --- pkgs/development/libraries/boehm-gc/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 0e7a936b4c2a..34e26f547093 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -30,10 +30,14 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional enableMmap "--enable-mmap" ++ lib.optional enableLargeConfig "--enable-large-config"; - # this stanza can be dropped when a release fixes this issue: - # https://github.com/ivmai/bdwgc/issues/376 + # This stanza can be dropped when a release fixes this issue: + # https://github.com/ivmai/bdwgc/issues/376 + # The version is checked with == instead of versionAtLeast so we + # don't forget to disable the fix (and if the next release does + # not fix the problem the test failure will be a reminder to + # extend the set of versions requiring the workaround). makeFlags = if (stdenv.hostPlatform.isPower64 && - lib.versionAtLeast finalAttrs.version "8.2.2") + finalAttrs.version == "8.2.2") then [ # do not use /proc primitives to track dirty bits; see: # https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537 From f9118a8c9bd9b84cea11a681f099c51aaf53f268 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Tue, 8 Nov 2022 23:51:31 +0100 Subject: [PATCH 013/133] codeowners: narrower responsibilities for fricklerhandwerk the number of pull requests against documentation is too high to handle on the side, and getting assigned as reviewer for all of them sends the wrong message to authors. --- .github/CODEOWNERS | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e7e57f381246..0117d8017a77 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -49,11 +49,16 @@ /pkgs/build-support/writers @lassulus @Profpatsch # Nixpkgs documentation -/doc @fricklerhandwerk /maintainers/scripts/db-to-md.sh @jtojnar @ryantm /maintainers/scripts/doc @jtojnar @ryantm + +/doc/* @fricklerhandwerk /doc/build-aux/pandoc-filters @jtojnar -/doc/contributing/contributing-to-documentation.chapter.md @jtojnar +/doc/builders/trivial-builders.chapter.md @fricklerhandwerk +/doc/contributing/ @fricklerhandwerk +/doc/contributing/contributing-to-documentation.chapter.md @jtojnar @fricklerhandwerk +/doc/stdenv @fricklerhandwerk +/doc/using @fricklerhandwerk # NixOS Internals /nixos/default.nix @nbp @infinisil From 24afcac7031066696ee2b92432f530c5c4459fd8 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 10 Nov 2022 14:03:26 +0200 Subject: [PATCH 014/133] syncthingtray: Fix Nix wrapped path in autostart desktop generation Fixes #199596. --- pkgs/applications/misc/syncthingtray/default.nix | 12 ++++++++++++ .../syncthingtray/use-nix-path-in-autostart.patch | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/misc/syncthingtray/use-nix-path-in-autostart.patch diff --git a/pkgs/applications/misc/syncthingtray/default.nix b/pkgs/applications/misc/syncthingtray/default.nix index 0b5723fdcb3f..e96cbb418b40 100644 --- a/pkgs/applications/misc/syncthingtray/default.nix +++ b/pkgs/applications/misc/syncthingtray/default.nix @@ -1,6 +1,7 @@ { mkDerivation , lib , fetchFromGitHub +, substituteAll , qtbase , qtwebengine , qtdeclarative @@ -31,6 +32,17 @@ mkDerivation rec { sha256 = "sha256-uhVRO9aiYJbUmwDp1+LIYF3wNBbVduVpTtVzaS0oUMU="; }; + patches = [ + # Fix Exec= path in runtime-generated + # ~/.config/autostart/syncthingtray.desktop file - this is required because + # we are wrapping the executable. We can't use `substituteAll` because we + # can't use `${placeholder "out"}` because that will produce the $out of + # the patch derivation itself, and not of syncthing's "out" placeholder. + # Hence we use a C definition with NIX_CFLAGS_COMPILE + ./use-nix-path-in-autostart.patch + ]; + NIX_CFLAGS_COMPILE = "-DEXEC_NIX_PATH=\"${placeholder "out"}/bin/syncthingtray\""; + buildInputs = [ qtbase cpp-utilities diff --git a/pkgs/applications/misc/syncthingtray/use-nix-path-in-autostart.patch b/pkgs/applications/misc/syncthingtray/use-nix-path-in-autostart.patch new file mode 100644 index 000000000000..a0907496ff9a --- /dev/null +++ b/pkgs/applications/misc/syncthingtray/use-nix-path-in-autostart.patch @@ -0,0 +1,13 @@ +diff --git i/widgets/settings/settingsdialog.cpp w/widgets/settings/settingsdialog.cpp +index 4deff1f..16845b5 100644 +--- i/widgets/settings/settingsdialog.cpp ++++ w/widgets/settings/settingsdialog.cpp +@@ -802,7 +802,7 @@ bool setAutostartEnabled(bool enabled) + desktopFile.write("[Desktop Entry]\n" + "Name=" APP_NAME "\n" + "Exec=\""); +- desktopFile.write(qEnvironmentVariable("APPIMAGE", QCoreApplication::applicationFilePath()).toUtf8().data()); ++ desktopFile.write(qEnvironmentVariable("APPIMAGE", EXEC_NIX_PATH).toUtf8().data()); + desktopFile.write("\" qt-widgets-gui --single-instance\nComment=" APP_DESCRIPTION "\n" + "Icon=" PROJECT_NAME "\n" + "Type=Application\n" From d82f52519a3a9bd3bc646bb1c9fe380b802cc8fd Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Fri, 11 Nov 2022 01:10:37 +0100 Subject: [PATCH 015/133] nixos/libvirtd: always start libvirtd Previously we did socket-activation but this breaks the autostart feature since upstream expects libvirtd to be started unconditionally on boot. Fixes #171623. --- nixos/modules/virtualisation/libvirtd.nix | 1 + nixos/tests/libvirtd.nix | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix index be6ebb3eacc9..3b30bc8c4165 100644 --- a/nixos/modules/virtualisation/libvirtd.nix +++ b/nixos/modules/virtualisation/libvirtd.nix @@ -336,6 +336,7 @@ in }; systemd.services.libvirtd = { + wantedBy = [ "multi-user.target" ]; requires = [ "libvirtd-config.service" ]; after = [ "libvirtd-config.service" ] ++ optional vswitch.enable "ovs-vswitchd.service"; diff --git a/nixos/tests/libvirtd.nix b/nixos/tests/libvirtd.nix index ce122682da73..49258fcb93ea 100644 --- a/nixos/tests/libvirtd.nix +++ b/nixos/tests/libvirtd.nix @@ -26,7 +26,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { in '' start_all() - virthost.wait_for_unit("sockets.target") + virthost.wait_for_unit("multi-user.target") with subtest("enable default network"): virthost.succeed("virsh net-start default") @@ -46,13 +46,16 @@ import ./make-test-python.nix ({ pkgs, ... }: { virthost.succeed("virsh pool-start zfs_storagepool") virthost.succeed("virsh vol-create-as zfs_storagepool disk1 25MB") - with subtest("check if nixos install iso boots and network works"): + with subtest("check if nixos install iso boots, network and autostart works"): virthost.succeed( - "virt-install -n nixos --osinfo=nixos-unstable --ram=1024 --graphics=none --disk=`find ${nixosInstallISO}/iso -type f | head -n1`,readonly=on --import --noautoconsole" + "virt-install -n nixos --osinfo nixos-unstable --memory 1024 --graphics none --disk `find ${nixosInstallISO}/iso -type f | head -n1`,readonly=on --import --noautoconsole --autostart" ) virthost.succeed("virsh domstate nixos | grep running") virthost.wait_until_succeeds("ping -c 1 nixos") virthost.succeed("virsh ${virshShutdownCmd} nixos") virthost.wait_until_succeeds("virsh domstate nixos | grep 'shut off'") + virthost.shutdown() + virthost.wait_for_unit("multi-user.target") + virthost.wait_until_succeeds("ping -c 1 nixos") ''; }) From 429ba6c71426418562b2047cf1433d3ed6f45533 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 11 Nov 2022 06:15:46 +0100 Subject: [PATCH 016/133] nixosOptionsDoc: Add markdownByDefault parameter --- nixos/lib/make-options-doc/default.nix | 3 +++ nixos/lib/make-options-doc/mergeJSON.py | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix index dde3cac1c1ba..e097aa5eebd8 100644 --- a/nixos/lib/make-options-doc/default.nix +++ b/nixos/lib/make-options-doc/default.nix @@ -40,6 +40,8 @@ # `false`, and a different renderer may be used with different bugs and performance # characteristics but (hopefully) indistinguishable output. , allowDocBook ? true +# whether lib.mdDoc is required for descriptions to be read as markdown. +, markdownByDefault ? false }: let @@ -152,6 +154,7 @@ in rec { python ${./mergeJSON.py} \ ${lib.optionalString warningsAreErrors "--warnings-are-errors"} \ ${lib.optionalString (! allowDocBook) "--error-on-docbook"} \ + ${lib.optionalString markdownByDefault "--markdown-by-default"} \ $baseJSON $options \ > $dst/options.json diff --git a/nixos/lib/make-options-doc/mergeJSON.py b/nixos/lib/make-options-doc/mergeJSON.py index 8a8498746bf6..f8353a794b6a 100644 --- a/nixos/lib/make-options-doc/mergeJSON.py +++ b/nixos/lib/make-options-doc/mergeJSON.py @@ -203,6 +203,9 @@ def convertMD(options: Dict[str, Any]) -> str: for (name, option) in options.items(): if optionIs(option, 'description', 'mdDoc'): option['description'] = convertString(name, option['description']['text']) + elif markdownByDefault: + option['description'] = convertString(name, option['description']) + if optionIs(option, 'example', 'literalMD'): docbook = convertString(name, option['example']['text']) option['example'] = { '_type': 'literalDocBook', 'text': docbook } @@ -214,6 +217,7 @@ def convertMD(options: Dict[str, Any]) -> str: warningsAreErrors = False errorOnDocbook = False +markdownByDefault = False optOffset = 0 for arg in sys.argv[1:]: if arg == "--warnings-are-errors": @@ -222,6 +226,9 @@ for arg in sys.argv[1:]: if arg == "--error-on-docbook": optOffset += 1 errorOnDocbook = True + if arg == "--markdown-by-default": + optOffset += 1 + markdownByDefault = True options = pivot(json.load(open(sys.argv[1 + optOffset], 'r'))) overrides = pivot(json.load(open(sys.argv[2 + optOffset], 'r'))) From b106ff14ede4034f8771025f8ac785144358f3cd Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 11 Nov 2022 06:31:15 +0100 Subject: [PATCH 017/133] nixosOptionsDoc: Report in which option an error occurs --- nixos/lib/make-options-doc/mergeJSON.py | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/nixos/lib/make-options-doc/mergeJSON.py b/nixos/lib/make-options-doc/mergeJSON.py index f8353a794b6a..750cd24fc653 100644 --- a/nixos/lib/make-options-doc/mergeJSON.py +++ b/nixos/lib/make-options-doc/mergeJSON.py @@ -201,17 +201,21 @@ def convertMD(options: Dict[str, Any]) -> str: return option[key]['_type'] == typ for (name, option) in options.items(): - if optionIs(option, 'description', 'mdDoc'): - option['description'] = convertString(name, option['description']['text']) - elif markdownByDefault: - option['description'] = convertString(name, option['description']) + try: + if optionIs(option, 'description', 'mdDoc'): + option['description'] = convertString(name, option['description']['text']) + elif markdownByDefault: + option['description'] = convertString(name, option['description']) + + if optionIs(option, 'example', 'literalMD'): + docbook = convertString(name, option['example']['text']) + option['example'] = { '_type': 'literalDocBook', 'text': docbook } + if optionIs(option, 'default', 'literalMD'): + docbook = convertString(name, option['default']['text']) + option['default'] = { '_type': 'literalDocBook', 'text': docbook } + except Exception as e: + raise Exception(f"Failed to render option {name}: {str(e)}") - if optionIs(option, 'example', 'literalMD'): - docbook = convertString(name, option['example']['text']) - option['example'] = { '_type': 'literalDocBook', 'text': docbook } - if optionIs(option, 'default', 'literalMD'): - docbook = convertString(name, option['default']['text']) - option['default'] = { '_type': 'literalDocBook', 'text': docbook } return options From bf7a3f6dcf9545464da358f350df32647c92323d Mon Sep 17 00:00:00 2001 From: kilianar Date: Fri, 11 Nov 2022 11:13:36 +0100 Subject: [PATCH 018/133] git-cola: 4.0.2 -> 4.0.3 https://github.com/git-cola/git-cola/releases/tag/v4.0.3 --- .../version-management/git-and-tools/git-cola/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/git-cola/default.nix b/pkgs/applications/version-management/git-and-tools/git-cola/default.nix index 19171c580461..fdfd722e8fb0 100644 --- a/pkgs/applications/version-management/git-and-tools/git-cola/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-cola/default.nix @@ -5,13 +5,13 @@ let in buildPythonApplication rec { pname = "git-cola"; - version = "4.0.2"; + version = "4.0.3"; src = fetchFromGitHub { owner = "git-cola"; repo = "git-cola"; rev = "refs/tags/v${version}"; - hash = "sha256-5PE2Ey9IwNzxl4mk7tzaSWXiTmRFlxDO5MhoIYAwEag="; + hash = "sha256-w3SbuquHuWTYg1N3kcix4S5vrsmclVSrHf6uv8CYU6w="; }; buildInputs = [ git gettext ]; From f046cc092332d3b5d3d58736c83abc4dac68b579 Mon Sep 17 00:00:00 2001 From: Lorenz Brun Date: Tue, 17 May 2022 20:16:22 +0200 Subject: [PATCH 019/133] nixos/pam: support fscrypt login protectors fscrypt can automatically unlock directories with the user's login password. To do this it ships a PAM module which reads the user's password and loads the respective keys into the user's kernel keyring. Significant inspiration was taken from the ecryptfs implementation. --- nixos/modules/security/pam.nix | 30 ++++++++++++++++++++ nixos/tests/all-tests.nix | 1 + nixos/tests/fscrypt.nix | 50 ++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 nixos/tests/fscrypt.nix diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index dc145d858515..6df8df32953f 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -526,6 +526,7 @@ let # We use try_first_pass the second time to avoid prompting password twice (optionalString (cfg.unixAuth && (config.security.pam.enableEcryptfs + || config.security.pam.enableFscrypt || cfg.pamMount || cfg.enableKwallet || cfg.enableGnomeKeyring @@ -539,6 +540,9 @@ let optionalString config.security.pam.enableEcryptfs '' auth optional ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so unwrap '' + + optionalString config.security.pam.enableFscrypt '' + auth optional ${pkgs.fscrypt-experimental}/lib/security/pam_fscrypt.so + '' + optionalString cfg.pamMount '' auth optional ${pkgs.pam_mount}/lib/security/pam_mount.so disable_interactive '' + @@ -584,6 +588,9 @@ let optionalString config.security.pam.enableEcryptfs '' password optional ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so '' + + optionalString config.security.pam.enableFscrypt '' + password optional ${pkgs.fscrypt-experimental}/lib/security/pam_fscrypt.so + '' + optionalString cfg.pamMount '' password optional ${pkgs.pam_mount}/lib/security/pam_mount.so '' + @@ -630,6 +637,14 @@ let optionalString config.security.pam.enableEcryptfs '' session optional ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so '' + + optionalString config.security.pam.enableFscrypt '' + # Work around https://github.com/systemd/systemd/issues/8598 + # Skips the pam_fscrypt module for systemd-user sessions which do not have a password + # anyways. + # See also https://github.com/google/fscrypt/issues/95 + session [success=1 default=ignore] pam_succeed_if.so service = systemd-user + session optional ${pkgs.fscrypt-experimental}/lib/security/pam_fscrypt.so + '' + optionalString cfg.pamMount '' session optional ${pkgs.pam_mount}/lib/security/pam_mount.so disable_interactive '' + @@ -1146,6 +1161,14 @@ in }; security.pam.enableEcryptfs = mkEnableOption (lib.mdDoc "eCryptfs PAM module (mounting ecryptfs home directory on login)"); + security.pam.enableFscrypt = mkEnableOption (lib.mdDoc '' + Enables fscrypt to automatically unlock directories with the user's login password. + + This also enables a service at security.pam.services.fscrypt which is used by + fscrypt to verify the user's password when setting up a new protector. If you + use something other than pam_unix to verify user passwords, please remember to + adjust this PAM service. + ''); users.motd = mkOption { default = null; @@ -1170,6 +1193,7 @@ in ++ optionals config.security.pam.enableOTPW [ pkgs.otpw ] ++ optionals config.security.pam.oath.enable [ pkgs.oath-toolkit ] ++ optionals config.security.pam.p11.enable [ pkgs.pam_p11 ] + ++ optionals config.security.pam.enableFscrypt [ pkgs.fscrypt-experimental ] ++ optionals config.security.pam.u2f.enable [ pkgs.pam_u2f ]; boot.supportedFilesystems = optionals config.security.pam.enableEcryptfs [ "ecryptfs" ]; @@ -1211,6 +1235,9 @@ in it complains "Cannot create session: Already running in a session". */ runuser-l = { rootOK = true; unixAuth = false; }; + } // optionalAttrs (config.security.pam.enableFscrypt) { + # Allow fscrypt to verify login passphrase + fscrypt = {}; }; security.apparmor.includes."abstractions/pam" = let @@ -1275,6 +1302,9 @@ in optionalString config.security.pam.enableEcryptfs '' mr ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so, '' + + optionalString config.security.pam.enableFscrypt '' + mr ${pkgs.fscrypt-experimental}/lib/security/pam_fscrypt.so, + '' + optionalString (isEnabled (cfg: cfg.pamMount)) '' mr ${pkgs.pam_mount}/lib/security/pam_mount.so, '' + diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index cb3b9a248c0e..168d1454af60 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -178,6 +178,7 @@ in { ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {}; ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {}; ecryptfs = handleTest ./ecryptfs.nix {}; + fscrypt = handleTest ./fscrypt.nix {}; ejabberd = handleTest ./xmpp/ejabberd.nix {}; elk = handleTestOn ["x86_64-linux"] ./elk.nix {}; emacs-daemon = handleTest ./emacs-daemon.nix {}; diff --git a/nixos/tests/fscrypt.nix b/nixos/tests/fscrypt.nix new file mode 100644 index 000000000000..03367979359b --- /dev/null +++ b/nixos/tests/fscrypt.nix @@ -0,0 +1,50 @@ +import ./make-test-python.nix ({ ... }: +{ + name = "fscrypt"; + + nodes.machine = { pkgs, ... }: { + imports = [ ./common/user-account.nix ]; + security.pam.enableFscrypt = true; + }; + + testScript = '' + def login_as_alice(): + machine.wait_until_tty_matches("1", "login: ") + machine.send_chars("alice\n") + machine.wait_until_tty_matches("1", "Password: ") + machine.send_chars("foobar\n") + machine.wait_until_tty_matches("1", "alice\@machine") + + + def logout(): + machine.send_chars("logout\n") + machine.wait_until_tty_matches("1", "login: ") + + + machine.wait_for_unit("default.target") + + with subtest("Enable fscrypt on filesystem"): + machine.succeed("tune2fs -O encrypt /dev/vda") + machine.succeed("fscrypt setup --quiet --force --time=1ms") + + with subtest("Set up alice with an fscrypt-enabled home directory"): + machine.succeed("(echo foobar; echo foobar) | passwd alice") + machine.succeed("chown -R alice.users ~alice") + machine.succeed("echo foobar | fscrypt encrypt --skip-unlock --source=pam_passphrase --user=alice /home/alice") + + with subtest("Create file as alice"): + login_as_alice() + machine.succeed("echo hello > /home/alice/world") + logout() + # Wait for logout to be processed + machine.sleep(1) + + with subtest("File should not be readable without being logged in as alice"): + machine.fail("cat /home/alice/world") + + with subtest("File should be readable again as alice"): + login_as_alice() + machine.succeed("cat /home/alice/world") + logout() + ''; +}) From cdec36131ffbd447e1b239c07de014c9e22b8105 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 12 Nov 2022 12:00:00 +0000 Subject: [PATCH 020/133] pulseeffects-legacy: 4.8.4 -> 4.8.7 fixes crash at startup ``` The schema default value for key 'mode' in schema 'com.github.wwmm.pulseeffects.compressor' was rejected by the binding mapping function. ``` --- pkgs/applications/audio/pulseeffects-legacy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/pulseeffects-legacy/default.nix b/pkgs/applications/audio/pulseeffects-legacy/default.nix index 2a775369d26a..53d2a998fbe2 100644 --- a/pkgs/applications/audio/pulseeffects-legacy/default.nix +++ b/pkgs/applications/audio/pulseeffects-legacy/default.nix @@ -45,13 +45,13 @@ let ]; in stdenv.mkDerivation rec { pname = "pulseeffects"; - version = "4.8.4"; + version = "4.8.7"; src = fetchFromGitHub { owner = "wwmm"; repo = "pulseeffects"; rev = "v${version}"; - sha256 = "19sndxvszafbd1l2033g2irpx2jrwi5bpbx8r35047wi0z7djiag"; + sha256 = "sha256-ldvcA8aTHOgaascH6MF4CzmJ8I2rYOiR0eAkCZzvK/M="; }; nativeBuildInputs = [ From da73c860aa144ba988551a96ee1cd4c70c056c37 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Oct 2022 19:43:15 +0300 Subject: [PATCH 021/133] python3.pkgs.pylpsd: init at 0.1.4 --- .../python-modules/pylpsd/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/pylpsd/default.nix diff --git a/pkgs/development/python-modules/pylpsd/default.nix b/pkgs/development/python-modules/pylpsd/default.nix new file mode 100644 index 000000000000..b74a7e65aa15 --- /dev/null +++ b/pkgs/development/python-modules/pylpsd/default.nix @@ -0,0 +1,33 @@ +{ lib +, fetchPypi +, buildPythonPackage +, numpy +, scipy +}: + +buildPythonPackage rec { + pname = "pylpsd"; + version = "0.1.4"; + src = fetchPypi { + inherit pname version; + hash = "sha256-evPL9vF75S8ATkFwzQjh4pLI/aXGXWwoypCb24nXAN8="; + }; + + # Tests fail and there are none + doCheck = false; + pythonImportsCheck = [ + "pylpsd" + ]; + + propagatedBuildInputs = [ + numpy + scipy + ]; + + meta = with lib; { + description = "Python implementation of the LPSD algorithm for computing power spectral density with logarithmically spaced points."; + homepage = "https://github.com/bleykauf/py-lpsd"; + license = licenses.mit; + maintainers = with maintainers; [ doronbehar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af0c07084a9f..852a4193b7b3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8042,6 +8042,8 @@ self: super: with self; { pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { }; + pylpsd = callPackage ../development/python-modules/pylpsd { }; + PyLTI = callPackage ../development/python-modules/pylti { }; pylutron = callPackage ../development/python-modules/pylutron { }; From f97c7b38a1c7289069282e2603ec0ec9ecf81e0a Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Oct 2022 18:16:51 +0300 Subject: [PATCH 022/133] python3.pkgs.myhdl: init at unstable-2022-04-26 --- .../python-modules/myhdl/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 4 ++ 2 files changed, 53 insertions(+) create mode 100644 pkgs/development/python-modules/myhdl/default.nix diff --git a/pkgs/development/python-modules/myhdl/default.nix b/pkgs/development/python-modules/myhdl/default.nix new file mode 100644 index 000000000000..77e793266e70 --- /dev/null +++ b/pkgs/development/python-modules/myhdl/default.nix @@ -0,0 +1,49 @@ +{ lib +, fetchFromGitHub +, buildPythonPackage +, verilog +, ghdl +, pytest +, pytest-xdist +}: + +buildPythonPackage rec { + pname = "myhdl"; + # The stable version is from 2019 and it doesn't pass tests + version = "unstable-2022-04-26"; + # The pypi src doesn't contain the ci script used in checkPhase + src = fetchFromGitHub { + owner = "myhdl"; + repo = "myhdl"; + rev = "1a4f5cd4e9de2e7bbf1053c3c2bc9526b5cc524a"; + hash = "sha256-Tgoem88Y6AhlCKVhMm0Khg6GPcrEktYOqV8xcMaNkl4="; + }; + + checkInputs = [ + pytest + pytest-xdist + verilog + ghdl + ]; + passthru = { + # If using myhdl as a dependency, use these if needed and not ghdl and + # verlog from all-packages.nix + inherit ghdl verilog; + }; + checkPhase = '' + runHook preCheck + + for target in {core,iverilog,ghdl}; do + env CI_TARGET="$target" bash ./scripts/ci.sh + done; + + runHook postCheck + ''; + + meta = with lib; { + description = "A free, open-source package for using Python as a hardware description and verification language."; + homepage = "http://www.myhdl.org/"; + license = licenses.lgpl21; + maintainers = with maintainers; [ doronbehar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af0c07084a9f..160ea34bb6ac 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5949,6 +5949,10 @@ self: super: with self; { mygpoclient = callPackage ../development/python-modules/mygpoclient { }; + myhdl = callPackage ../development/python-modules/myhdl { + inherit (pkgs) ghdl verilog; + }; + myhome = callPackage ../development/python-modules/myhome { }; myjwt = callPackage ../development/python-modules/myjwt { }; From b6429927c04f8ae66aa3e9eed55d6ed7aa0e6d98 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Oct 2022 19:03:38 +0300 Subject: [PATCH 023/133] python3.pkgs.asyncserial: init at unstable-2022-06-10 --- .../python-modules/asyncserial/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/asyncserial/default.nix diff --git a/pkgs/development/python-modules/asyncserial/default.nix b/pkgs/development/python-modules/asyncserial/default.nix new file mode 100644 index 000000000000..34ab492b9ae8 --- /dev/null +++ b/pkgs/development/python-modules/asyncserial/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pyserial +}: + +buildPythonPackage rec { + pname = "asyncserial"; + version = "unstable-2022-06-10"; + + src = fetchFromGitHub { + owner = "m-labs"; + repo = "asyncserial"; + rev = "446559fec892a556876b17d17f182ae9647d5952"; + hash = "sha256-WExmgh55sTH2w7wV3i96J1F1FN7L5rX3L/Ayvt2Kw/g="; + }; + + propagatedBuildInputs = [ + pyserial + ]; + + pythonImportsCheck = [ "asyncserial" ]; + + meta = with lib; { + description = "asyncio support for pyserial"; + homepage = "https://github.com/m-labs/asyncserial"; + license = licenses.bsd2; + maintainers = with maintainers; [ doronbehar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 160ea34bb6ac..b8a5b53fff96 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -682,6 +682,8 @@ self: super: with self; { asyncpg = callPackage ../development/python-modules/asyncpg { }; + asyncserial = callPackage ../development/python-modules/asyncserial { }; + asyncsleepiq = callPackage ../development/python-modules/asyncsleepiq { }; asyncssh = callPackage ../development/python-modules/asyncssh { }; From 3e3fe0b2e21107bfcc59a958571f23b98ba5b51a Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Oct 2022 19:41:11 +0300 Subject: [PATCH 024/133] python3.pkgs.migen: unstable-2021-09-14 -> unstable-2022-09-02 --- pkgs/development/python-modules/migen/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/migen/default.nix b/pkgs/development/python-modules/migen/default.nix index 41396e1c623b..0bbecefff967 100644 --- a/pkgs/development/python-modules/migen/default.nix +++ b/pkgs/development/python-modules/migen/default.nix @@ -7,14 +7,13 @@ buildPythonPackage rec { pname = "migen"; - version = "unstable-2021-09-14"; - disabled = pythonOlder "3.3"; + version = "unstable-2022-09-02"; src = fetchFromGitHub { owner = "m-labs"; repo = "migen"; - rev = "a5bc262560238f93ceaad423820eb06843326274"; - sha256 = "32UjaIam/B7Gx6XbPcR067LcXfokJH2mATG9mU38a6o="; + rev = "639e66f4f453438e83d86dc13491b9403bbd8ec6"; + hash = "sha256-IPyhoFZLhY8d3jHB8jyvGdbey7V+X5eCzBZYSrJ18ec="; }; propagatedBuildInputs = [ From 7b365ed51518ba4727c3a9130d5ddb5011608062 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Oct 2022 19:22:12 +0300 Subject: [PATCH 025/133] python3.pkgs.misoc: init at unstable-2022-10-08 --- .../python-modules/misoc/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/misoc/default.nix diff --git a/pkgs/development/python-modules/misoc/default.nix b/pkgs/development/python-modules/misoc/default.nix new file mode 100644 index 000000000000..447bde58c328 --- /dev/null +++ b/pkgs/development/python-modules/misoc/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pyserial +, asyncserial +, jinja2 +, migen +, numpy +}: + +buildPythonPackage rec { + pname = "misoc"; + version = "unstable-2022-10-08"; + + src = fetchFromGitHub { + owner = "m-labs"; + repo = "misoc"; + rev = "6a7c670ab6120b8136f652c41d907eb0fb16ed54"; + hash = "sha256-dLDp0xg5y5b443hD7vbJFobHxbhtnj68RdZnQ7ckgp4="; + }; + + propagatedBuildInputs = [ + pyserial + asyncserial + jinja2 + migen + ]; + + checkInputs = [ + numpy + ]; + + pythonImportsCheck = [ "misoc" ]; + + meta = with lib; { + description = "The original high performance and small footprint system-on-chip based on Migen"; + homepage = "https://github.com/m-labs/misoc"; + license = licenses.bsd2; + maintainers = with maintainers; [ doronbehar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b8a5b53fff96..b3a6e109a848 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5722,6 +5722,8 @@ self: super: with self; { misaka = callPackage ../development/python-modules/misaka { }; + misoc = callPackage ../development/python-modules/misoc { }; + mistletoe = callPackage ../development/python-modules/mistletoe { }; mistune = callPackage ../development/python-modules/mistune { }; From cd74512c68203cdc2cb88188263785800d5c430b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Nov 2022 17:52:29 +0000 Subject: [PATCH 026/133] opentelemetry-collector: 0.64.0 -> 0.64.1 --- pkgs/tools/misc/opentelemetry-collector/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/opentelemetry-collector/default.nix b/pkgs/tools/misc/opentelemetry-collector/default.nix index bb2a6e5bed97..6db9e4c91e3f 100644 --- a/pkgs/tools/misc/opentelemetry-collector/default.nix +++ b/pkgs/tools/misc/opentelemetry-collector/default.nix @@ -12,17 +12,17 @@ let in buildGoModule rec { pname = "opentelemetry-collector"; - version = "0.64.0"; + version = "0.64.1"; src = fetchFromGitHub { owner = "open-telemetry"; repo = "opentelemetry-collector"; rev = "v${version}"; - sha256 = "sha256-4EXRmG8HAUybA9+kPNCvlfZf3bfREAqeis7YxmGn33c="; + sha256 = "sha256-qYQWPhvWVNUqsQLTLUd4SOfW0YiXPyGBrtX8AY15FNg="; }; # there is a nested go.mod sourceRoot = "source/cmd/otelcorecol"; - vendorSha256 = "sha256-i3pAK9ByXDdd2juenPooStgvhpcemcCOKLT9jjz0hL8="; + vendorSha256 = "sha256-uq5o/wtmgGMthUqK86x+uKV7jFAd9koKucnBCKGUJMo="; preBuild = '' # set the build version, can't be done via ldflags From f8de2411a175d09ec61e0053353bbd7b81077578 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 13 Nov 2022 11:48:09 +0100 Subject: [PATCH 027/133] python310Packages.selenium: 4.5.0 -> 4.6.0 --- pkgs/development/python-modules/selenium/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/selenium/default.nix b/pkgs/development/python-modules/selenium/default.nix index 2656f460ff6a..c6f42a38e0f1 100644 --- a/pkgs/development/python-modules/selenium/default.nix +++ b/pkgs/development/python-modules/selenium/default.nix @@ -1,6 +1,7 @@ { lib , fetchFromGitHub , buildPythonPackage +, certifi , geckodriver , pytestCheckHook , pythonOlder @@ -12,7 +13,9 @@ buildPythonPackage rec { pname = "selenium"; - version = "4.5.0"; + version = "4.6.0"; + format = "setuptools"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { @@ -20,7 +23,7 @@ buildPythonPackage rec { repo = "selenium"; # check if there is a newer tag with or without -python suffix rev = "refs/tags/selenium-${version}"; - hash = "sha256-K90CQYTeX9GKpP0ahxLx2HO5HG0P6MN7jeWmHtfiOns="; + hash = "sha256-xgGGtJo+DZIwPa0H6dsT0VClRTMM8iFbNzSDZjH7ImI="; }; postPatch = '' @@ -33,11 +36,11 @@ buildPythonPackage rec { ''; propagatedBuildInputs = [ + certifi trio trio-websocket urllib3 - ] ++ urllib3.optional-dependencies.secure - ++ urllib3.optional-dependencies.socks; + ] ++ urllib3.optional-dependencies.socks; checkInputs = [ pytestCheckHook From a25c3c56e74ff7827c9326534368bac247106ea0 Mon Sep 17 00:00:00 2001 From: ercao Date: Sun, 6 Nov 2022 14:59:10 +0800 Subject: [PATCH 028/133] figma-linux: init at 0.10.1 Signed-off-by: ercao --- .../graphics/figma-linux/default.nix | 77 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 79 insertions(+) create mode 100644 pkgs/applications/graphics/figma-linux/default.nix diff --git a/pkgs/applications/graphics/figma-linux/default.nix b/pkgs/applications/graphics/figma-linux/default.nix new file mode 100644 index 000000000000..1afc65ea0fc1 --- /dev/null +++ b/pkgs/applications/graphics/figma-linux/default.nix @@ -0,0 +1,77 @@ +{ pkgs +, lib +, stdenv +, fetchurl +, autoPatchelfHook +, dpkg +, ... +}: +with lib; +stdenv.mkDerivation rec { + pname = "figma-linux"; + version = "0.10.0"; + + src = fetchurl { + url = "https://github.com/Figma-Linux/figma-linux/releases/download/v${version}/figma-linux_${version}_linux_amd64.deb"; + sha256 = "sha256-+xiXEwSSxpt1/Eu9g57/L+Il/Av+a/mgGBQl/4LKR74="; + }; + + nativeBuildInputs = [ autoPatchelfHook dpkg ]; + + buildInputs = with pkgs;[ + alsa-lib + at-spi2-atk + cairo + cups.lib + dbus.lib + expat + gdk-pixbuf + glib + gtk3 + libdrm + libxkbcommon + mesa + nspr + nss + pango + ] ++ (with pkgs.xorg; [ + libX11 + libXcomposite + libXdamage + libXext + libXfixes + libXrandr + libxcb + libxshmfence + ]); + + runtimeDependencies = with pkgs; [ eudev ]; + + unpackCmd = "dpkg -x $src ."; + + sourceRoot = "."; + + installPhase = '' + runHook preInstall + + mkdir -p $out/lib && cp -r opt/figma-linux/* $_ + mkdir -p $out/bin && ln -s $out/lib/figma-linux $_/figma-linux + + cp -r usr/* $out + + runHook postInstall + ''; + + postFixup = '' + substituteInPlace $out/share/applications/figma-linux.desktop \ + --replace "Exec=/opt/figma-linux/figma-linux" "Exec=$out/bin/${pname}" + ''; + + meta = { + description = "unofficial Electron-based Figma desktop app for Linux"; + homepage = "https://github.com/Figma-Linux/figma-linux"; + platforms = [ "x86_64-linux" ]; + license = licenses.gpl2; + maintainers = with maintainers; [ ercao ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e391e772558c..0a910c7a69bc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -482,6 +482,8 @@ with pkgs; expressvpn = callPackage ../applications/networking/expressvpn { }; + figma-linux = callPackage ../applications/graphics/figma-linux {}; + firefly-desktop = callPackage ../applications/misc/firefly-desktop { }; frece = callPackage ../development/tools/frece { }; From 73dc3187f58a9a4cb9388964011e85c73c013ef4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 14:14:04 +0000 Subject: [PATCH 029/133] python310Packages.mne-python: 1.2.1 -> 1.2.2 --- pkgs/development/python-modules/mne-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mne-python/default.nix b/pkgs/development/python-modules/mne-python/default.nix index 3aa925b63d2e..53a852934d47 100644 --- a/pkgs/development/python-modules/mne-python/default.nix +++ b/pkgs/development/python-modules/mne-python/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "mne-python"; - version = "1.2.1"; + version = "1.2.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "mne-tools"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-PAgePQGf4pO+cciIk718Wlk0OEw4ltrhCdWRyDZzFh0="; + hash = "sha256-KFifnu9MR3FoVs7gLv+CpB/p3/6Iej9RJuBf1uc1HJs="; }; propagatedBuildInputs = [ From 113a9e987026274ccc435b895267a6fb08d9b5e2 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sun, 13 Nov 2022 14:23:56 +0000 Subject: [PATCH 030/133] ecs-agent: use buildGoModule --- .../virtualization/ecs-agent/default.nix | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/virtualization/ecs-agent/default.nix b/pkgs/applications/virtualization/ecs-agent/default.nix index 22178fb74b84..88c5f3779df6 100644 --- a/pkgs/applications/virtualization/ecs-agent/default.nix +++ b/pkgs/applications/virtualization/ecs-agent/default.nix @@ -1,27 +1,30 @@ -{ lib, fetchFromGitHub, buildGoPackage }: +{ lib, fetchFromGitHub, buildGoModule }: -buildGoPackage rec { - pname = "amazon-ecs-agent"; +buildGoModule rec { + pname = "amazon-ecs-agent"; version = "1.66.2"; - goPackagePath = "github.com/aws/${pname}"; - subPackages = [ "agent" ]; - src = fetchFromGitHub { - rev = "v${version}"; - owner = "aws"; - repo = pname; - sha256 = "sha256-mZzDvD+40YiC8cBpLlYd7K1p5UBYpso9OMCDijopuik="; + rev = "v${version}"; + owner = "aws"; + repo = pname; + hash = "sha256-mZzDvD+40YiC8cBpLlYd7K1p5UBYpso9OMCDijopuik="; }; + vendorHash = null; + + modRoot = "./agent"; + + excludedPackages = [ "./version/gen" ]; + ldflags = [ "-s" "-w" ]; meta = with lib; { description = "The agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS"; - homepage = "https://github.com/aws/amazon-ecs-agent"; - changelog = "https://github.com/aws/amazon-ecs-agent/raw/v${version}/CHANGELOG.md"; - license = licenses.asl20; - platforms = platforms.unix; + homepage = "https://github.com/aws/amazon-ecs-agent"; + changelog = "https://github.com/aws/amazon-ecs-agent/raw/v${version}/CHANGELOG.md"; + license = licenses.asl20; + platforms = platforms.linux; maintainers = with maintainers; [ copumpkin ]; mainProgram = "agent"; }; From 6a16d555f34874fdba158911ae394e0f42a86224 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 16:02:27 +0000 Subject: [PATCH 031/133] python310Packages.mypy-boto3-s3: 1.25.0 -> 1.26.0.post1 --- pkgs/development/python-modules/mypy-boto3-s3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mypy-boto3-s3/default.nix b/pkgs/development/python-modules/mypy-boto3-s3/default.nix index 1c48a6afae77..eb36da387f60 100644 --- a/pkgs/development/python-modules/mypy-boto3-s3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3-s3/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "mypy-boto3-s3"; - version = "1.25.0"; + version = "1.26.0.post1"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-aJd/dEzjucQgiEZ/9m4z55HKPyew3FXztVApjwPqGm8="; + hash = "sha256-bXB5+Mc53Jk8vtrQc2KZxBOyl4FLc3laOFWnkWnsyTg="; }; propagatedBuildInputs = [ From ed23e9bb9c4aa2e1731509e2dd22b6deccb684d4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 19:27:32 +0000 Subject: [PATCH 032/133] python310Packages.peaqevcore: 7.3.2 -> 7.3.3 --- pkgs/development/python-modules/peaqevcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/peaqevcore/default.nix b/pkgs/development/python-modules/peaqevcore/default.nix index 0bc838839e6c..c3fe1c044708 100644 --- a/pkgs/development/python-modules/peaqevcore/default.nix +++ b/pkgs/development/python-modules/peaqevcore/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "peaqevcore"; - version = "7.3.2"; + version = "7.3.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-+DihyuSzqFoQvDnlYUyvdyjravxMcU8PgYEq2FY2o9g="; + hash = "sha256-fg5/5x4vUsm0kvVJtvlgB3PZSmU4pXkU6V0+yEDqNRg="; }; postPatch = '' From 1b00c83b12e45e6d5a84c8f6c4458a67384a3fd4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 19:48:48 +0000 Subject: [PATCH 033/133] python310Packages.pex: 2.1.112 -> 2.1.113 --- pkgs/development/python-modules/pex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pex/default.nix b/pkgs/development/python-modules/pex/default.nix index 0984dd3e0492..b0167bf17a3f 100644 --- a/pkgs/development/python-modules/pex/default.nix +++ b/pkgs/development/python-modules/pex/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "pex"; - version = "2.1.112"; + version = "2.1.113"; format = "flit"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Mwns3l0cUylbMxC55wIZyYklVtqcPEQ02+5oxNd5SbQ="; + hash = "sha256-FykzeHQjBMBZ+NqOMzjwHiOCMLk1rvomjUaoHco2ZQg="; }; nativeBuildInputs = [ From 95d624394e73cb0b107e0f0214307979a018a997 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Thu, 26 May 2022 03:48:48 +0200 Subject: [PATCH 034/133] appleseed: remove hasn't built on hydra since 2020-10-09 16:57:25 --- pkgs/tools/graphics/appleseed/default.nix | 84 ----------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - pkgs/top-level/python-packages.nix | 2 - 4 files changed, 1 insertion(+), 88 deletions(-) delete mode 100644 pkgs/tools/graphics/appleseed/default.nix diff --git a/pkgs/tools/graphics/appleseed/default.nix b/pkgs/tools/graphics/appleseed/default.nix deleted file mode 100644 index efa46b3b608a..000000000000 --- a/pkgs/tools/graphics/appleseed/default.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile, -eigen, libpng, python3, libGLU, qt4, openexr, openimageio, -opencolorio_1, xercesc, ilmbase, osl, seexpr, makeWrapper -}: - -let boost_static = boost165.override { - enableStatic = true; - enablePython = true; - python = python3; -}; -in stdenv.mkDerivation rec { - - pname = "appleseed"; - version = "2.0.5-beta"; - - src = fetchFromGitHub { - owner = "appleseedhq"; - repo = "appleseed"; - rev = version; - sha256 = "1sq9s0rzjksdn8ayp1g17gdqhp7fqks8v1ddd3i5rsl96b04fqx5"; - }; - nativeBuildInputs = [ cmake pkg-config makeWrapper ]; - buildInputs = [ - boost_static guile eigen libpng python3 - libGLU qt4 openexr openimageio opencolorio_1 xercesc - osl seexpr - ]; - - NIX_CFLAGS_COMPILE = toString [ - "-I${openexr.dev}/include/OpenEXR" - "-I${ilmbase.dev}/include/OpenEXR" - "-I${openimageio.dev}/include/OpenImageIO" - - "-Wno-unused-but-set-variable" - "-Wno-error=class-memaccess" - "-Wno-error=maybe-uninitialized" - "-Wno-error=catch-value" - "-Wno-error=stringop-truncation" - ]; - - cmakeFlags = [ - "-DUSE_EXTERNAL_XERCES=ON" "-DUSE_EXTERNAL_OCIO=ON" "-DUSE_EXTERNAL_OIIO=ON" - "-DUSE_EXTERNAL_OSL=ON" "-DWITH_CLI=ON" "-DWITH_STUDIO=ON" "-DWITH_TOOLS=ON" - "-DUSE_EXTERNAL_PNG=ON" "-DUSE_EXTERNAL_ZLIB=ON" - "-DUSE_EXTERNAL_EXR=ON" "-DUSE_EXTERNAL_SEEXPR=ON" - "-DWITH_PYTHON=ON" - "-DWITH_DISNEY_MATERIAL=ON" - "-DUSE_SSE=ON" - "-DUSE_SSE42=ON" - ]; - - meta = with lib; { - description = "Open source, physically-based global illumination rendering engine"; - homepage = "https://appleseedhq.net/"; - maintainers = with maintainers; [ hodapp ]; - license = licenses.mit; - platforms = platforms.linux; - }; - - # Work around a bug in the CMake build: - postInstall = '' - chmod a+x $out/bin/* - wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python3} - ''; -} - -# TODO: Is the below problematic? - -# CMake Warning (dev) at /nix/store/dsyw2zla2h3ld2p0jj4cv0j3wal1bp3h-cmake-3.11.2/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message): -# Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when -# available. Run "cmake --help-policy CMP0072" for policy details. Use the -# cmake_policy command to set the policy and suppress this warning. -# -# FindOpenGL found both a legacy GL library: -# -# OPENGL_gl_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libGL.so -# -# and GLVND libraries for OpenGL and GLX: -# -# OPENGL_opengl_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libOpenGL.so -# OPENGL_glx_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libGLX.so -# -# OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for -# compatibility with CMake 3.10 and below the legacy GL library will be used. diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e104b7ecb856..b7262913886b 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -83,6 +83,7 @@ mapAliases ({ antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06 antimicroX = antimicrox; # Added 2021-10-31 apple-music-electron = throw "'apple-music-electron' is end of life and has been removed, you can use 'cider' instead"; # Added 2022-10-02 + appleseed = throw "appleseed has been removed, because it was unmaintained"; # Added 2022-05-26 arangodb_3_3 = throw "arangodb_3_3 went end of life and has been removed"; # Added 2022-10-08 arangodb_3_4 = throw "arangodb_3_4 went end of life and has been removed"; # Added 2022-10-08 arangodb_3_5 = throw "arangodb_3_5 went end of life and has been removed"; # Added 2022-10-08 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a70dd9e0494c..4d923d6bb207 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5037,8 +5037,6 @@ with pkgs; apparix = callPackage ../tools/misc/apparix { }; - appleseed = callPackage ../tools/graphics/appleseed { }; - apc-temp-fetch = with python3.pkgs; callPackage ../tools/networking/apc-temp-fetch { }; arping = callPackage ../tools/networking/arping { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 617356b42c4e..5d3263e4ff79 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -518,8 +518,6 @@ self: super: with self; { appdirs = callPackage ../development/python-modules/appdirs { }; - appleseed = toPythonModule (pkgs.appleseed.override { python3 = self.python; }); - applicationinsights = callPackage ../development/python-modules/applicationinsights { }; appnope = callPackage ../development/python-modules/appnope { }; From 7ba6ae6310e42c11d4f8ea9cb08b9632421b57d8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 13 Nov 2022 21:19:41 +0100 Subject: [PATCH 035/133] python310Packages.pyrainbird: 0.4.3 -> 0.6.2 --- .../python-modules/pyrainbird/default.nix | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/pyrainbird/default.nix b/pkgs/development/python-modules/pyrainbird/default.nix index 74f0ed630a26..5035f7c1a369 100644 --- a/pkgs/development/python-modules/pyrainbird/default.nix +++ b/pkgs/development/python-modules/pyrainbird/default.nix @@ -7,44 +7,42 @@ , pythonOlder , pyyaml , requests +, requests-mock , responses -, setuptools }: buildPythonPackage rec { pname = "pyrainbird"; - version = "0.4.3"; + version = "0.6.2"; format = "setuptools"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "jbarrancos"; repo = pname; rev = version; - hash = "sha256-uRHknWvoPKPu3B5MbSEUlWqBKwAbNMwsgXuf6PZxhkU="; + hash = "sha256-MikJDW5Fo2DNpn9/Hyc1ecIIMEwE8GD5LKpka2t7aCk="; }; + postPatch = '' + substituteInPlace pytest.ini \ + --replace "--cov=pyrainbird --cov-report=term-missing" "" + ''; + propagatedBuildInputs = [ pycryptodome pyyaml requests - setuptools ]; checkInputs = [ - pytestCheckHook parameterized + pytestCheckHook + requests-mock responses ]; - postPatch = '' - substituteInPlace requirements.txt \ - --replace "datetime" "" - substituteInPlace pytest.ini \ - --replace "--cov=pyrainbird --cov-report=term-missing --pep8 --flakes --mccabe" "" - ''; - pythonImportsCheck = [ "pyrainbird" ]; From 92eaf16a759808cbb38a5b2deb5c8b50ac9c681b Mon Sep 17 00:00:00 2001 From: "Bryan A. S" Date: Sun, 13 Nov 2022 20:14:45 -0300 Subject: [PATCH 036/133] argocd: 2.5.1 -> 2.5.2 - also add proxy vendor to fix hash mismatch between linux and darwin --- pkgs/applications/networking/cluster/argocd/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/argocd/default.nix b/pkgs/applications/networking/cluster/argocd/default.nix index 2701a101b023..3885db4b30a8 100644 --- a/pkgs/applications/networking/cluster/argocd/default.nix +++ b/pkgs/applications/networking/cluster/argocd/default.nix @@ -2,16 +2,17 @@ buildGoModule rec { pname = "argocd"; - version = "2.5.1"; + version = "2.5.2"; src = fetchFromGitHub { owner = "argoproj"; repo = "argo-cd"; rev = "v${version}"; - sha256 = "sha256-UwMJnmvwcN/OuIbFJJEE7A5WFjzfvpe5ljMmbSLQsnA="; + sha256 = "sha256-xiqxCYGSpsREZyylWJCIbFPPr3jISxD0wS/L/P77BF8="; }; - vendorSha256 = "sha256-LmIvNenKV6ie2FZBj/jN70pKe1m8kFg/IQ8z5q8tO8A="; + proxyVendor = true; # darwin/linux hash mismatch + vendorSha256 = "sha256-F5EY1/WWRPBN5fqp2J2mdpIzL1gNKR0ltzSdarT6dFw="; # Set target as ./cmd per cli-local # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227 From 404a5ad09207f5da9b452c0aa8bb0103b40bd3f3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 23:15:48 +0000 Subject: [PATCH 037/133] python310Packages.pycocotools: 2.0.5 -> 2.0.6 --- pkgs/development/python-modules/pycocotools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycocotools/default.nix b/pkgs/development/python-modules/pycocotools/default.nix index 52ce42b13918..d6c757ed2e34 100644 --- a/pkgs/development/python-modules/pycocotools/default.nix +++ b/pkgs/development/python-modules/pycocotools/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "pycocotools"; - version = "2.0.5"; + version = "2.0.6"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-QdH7Bi31urXrw+kpcUVaoIlHnnzRBVMnjKVGKLncm/U="; + sha256 = "sha256-f+CJsFzBjoBtzzvXZHCNhtq5IqEA83NOt3+3enCh0Yw="; }; propagatedBuildInputs = [ From 8ba634bb13b265571eb19084cc5dd32250399ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 00:47:45 +0100 Subject: [PATCH 038/133] sbclPackages: mark some failing packages as broken --- .../import/database/sqlite.lisp | 26 +++++++++++++++- .../development/lisp-modules-new/imported.nix | 31 ++++++++++++++++--- 2 files changed, 52 insertions(+), 5 deletions(-) diff --git a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp index 18d384e06c70..0e98783fe017 100644 --- a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp +++ b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp @@ -71,6 +71,29 @@ getAttr = builtins.getAttr; in {") +;; Random compilation errors +(defparameter +broken-packages+ + (list + ;; no dispatch function defined for #\t + "hu.dwim.logger" + "hu.dwim.serializer" + "hu.dwim.quasi-quote" + ;; Tries to write in $HOME + "ubiquitous" + ;; Upstream bad packaging, multiple systems in clml.blas.asd + "clml.blas.hompack" + ;; Fails on SBCL due to heap exhaustion + "magicl" + ;; Probably missing dependency in QL data + "mcclim-bezier" + ;; Missing dependency on c2ffi cffi extension + "hu.dwim.zlib" + ;; Missing libgvc.so native library + "hu.dwim.graphviz" + ;; Missing zmq.h C header + "pzmq" + )) + (defmethod database->nix-expression ((database sqlite-database) outfile) (sqlite:with-open-database (db (database-url database)) (with-open-file (f outfile @@ -131,6 +154,7 @@ in {") (remove "asdf" (str:split-omit-nulls #\, deps) :test #'string=)))) - ,@(when (find #\/ name) + ,@(when (or (find #\/ name) + (find name +broken-packages+ :test #'string=)) '(("meta" (:attrs ("broken" (:symbol "true")))))))))))) (format f "~%}~%")))) diff --git a/pkgs/development/lisp-modules-new/imported.nix b/pkgs/development/lisp-modules-new/imported.nix index 5620620188b2..fe2a6baf52b4 100644 --- a/pkgs/development/lisp-modules-new/imported.nix +++ b/pkgs/development/lisp-modules-new/imported.nix @@ -25092,6 +25092,9 @@ in { }); systems = [ "clml.blas.hompack" ]; lispLibs = [ (getAttr "f2cl-lib" pkgs) ]; + meta = { + broken = true; + }; }; clml_dot_blas_dot_real = { pname = "clml.blas.real"; @@ -36543,10 +36546,6 @@ in { }); systems = [ "gsll" ]; lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "foreign-array" pkgs) (getAttr "cffi-grovel" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "lisp-unit" pkgs) (getAttr "metabang-bind" pkgs) (getAttr "trivial-features" pkgs) (getAttr "trivial-garbage" pkgs) ]; - meta = { - # needs "nativeLibs=nixpkgs.gsl" for libgslcblas.so and a way to set CFLAGS="-I gsl/include" or something similar - broken = true; - }; }; gt = { pname = "gt"; @@ -37991,6 +37990,9 @@ in { }); systems = [ "hu.dwim.graphviz" ]; lispLibs = [ (getAttr "cffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "metabang-bind" pkgs) ]; + meta = { + broken = true; + }; }; hu_dot_dwim_dot_graphviz_dot_documentation = { pname = "hu.dwim.graphviz.documentation"; @@ -38030,6 +38032,9 @@ in { }); systems = [ "hu.dwim.logger" ]; lispLibs = [ (getAttr "bordeaux-threads" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_def_plus_hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_defclass-star_plus_hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) (getAttr "local-time" pkgs) ]; + meta = { + broken = true; + }; }; hu_dot_dwim_dot_logger_plus_iolib = { pname = "hu.dwim.logger+iolib"; @@ -38381,6 +38386,9 @@ in { }); systems = [ "hu.dwim.quasi-quote" ]; lispLibs = [ (getAttr "babel" pkgs) (getAttr "babel-streams" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_defclass-star_plus_hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_syntax-sugar" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) (getAttr "hu_dot_dwim_dot_walker" pkgs) ]; + meta = { + broken = true; + }; }; hu_dot_dwim_dot_quasi-quote_dot_css = { pname = "hu.dwim.quasi-quote.css"; @@ -38718,6 +38726,9 @@ in { }); systems = [ "hu.dwim.serializer" ]; lispLibs = [ (getAttr "babel" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_syntax-sugar" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) ]; + meta = { + broken = true; + }; }; hu_dot_dwim_dot_serializer_dot_documentation = { pname = "hu.dwim.serializer.documentation"; @@ -39379,6 +39390,9 @@ in { }); systems = [ "hu.dwim.zlib" ]; lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "cffi" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) ]; + meta = { + broken = true; + }; }; hu_dot_dwim_dot_zlib_slash_fancy = { pname = "hu.dwim.zlib_fancy"; @@ -47717,6 +47731,9 @@ in { }); systems = [ "mcclim-bezier" ]; lispLibs = [ (getAttr "flexichain" pkgs) (getAttr "clim" pkgs) (getAttr "clim-pdf" pkgs) (getAttr "clim-postscript" pkgs) (getAttr "mcclim-clx" pkgs) (getAttr "mcclim-null" pkgs) (getAttr "mcclim-render" pkgs) ]; + meta = { + broken = true; + }; }; mcclim-bezier_slash_clx = { pname = "mcclim-bezier_clx"; @@ -57402,6 +57419,9 @@ in { }); systems = [ "pzmq" ]; lispLibs = [ (getAttr "cffi" pkgs) (getAttr "cffi-grovel" pkgs) ]; + meta = { + broken = true; + }; }; pzmq-compat = { pname = "pzmq-compat"; @@ -68823,6 +68843,9 @@ in { }); systems = [ "ubiquitous" ]; lispLibs = [ ]; + meta = { + broken = true; + }; }; ubiquitous-concurrent = { pname = "ubiquitous-concurrent"; From bc8a625adc596a2c6ee14b492666548e11279233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 00:52:59 +0100 Subject: [PATCH 039/133] sbclPackages: bring over some fixes merged into staging-next --- pkgs/development/lisp-modules-new/ql.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index 4ffce7a8d769..cc4593ca64d1 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -130,6 +130,24 @@ let nativeLibs = [ libfixposix ]; systems = [ "iolib" "iolib/os" "iolib/pathnames" ]; }; + cl-ana_dot_hdf-cffi = pkg: { + nativeBuildInputs = [ pkgs.hdf5 ]; + nativeLibs = [ pkgs.hdf5 ]; + NIX_LDFLAGS = [ "-lhdf5" ]; + }; + gsll = pkg: { + nativeBuildInputs = [ pkgs.gsl ]; + nativeLibs = [ pkgs.gsl ]; + }; + cl-libyaml = pkg: { + nativeLibs = [ pkgs.libyaml ]; + }; + cl-libxml2 = pkg: { + nativeLibs = [ pkgs.libxml2 ]; + }; + cl-readline = pkg: { + nativeLibs = [ pkgs.readline ]; + }; }; qlpkgs = From f59352d0af7e008d93ad1cce4ada9e7e6078b0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 00:57:29 +0100 Subject: [PATCH 040/133] sbclPackages: fixed pzmq --- pkgs/development/lisp-modules-new/import/database/sqlite.lisp | 2 -- pkgs/development/lisp-modules-new/imported.nix | 3 --- pkgs/development/lisp-modules-new/ql.nix | 4 ++++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp index 0e98783fe017..8ff0f3e1c7d4 100644 --- a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp +++ b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp @@ -90,8 +90,6 @@ in {") "hu.dwim.zlib" ;; Missing libgvc.so native library "hu.dwim.graphviz" - ;; Missing zmq.h C header - "pzmq" )) (defmethod database->nix-expression ((database sqlite-database) outfile) diff --git a/pkgs/development/lisp-modules-new/imported.nix b/pkgs/development/lisp-modules-new/imported.nix index fe2a6baf52b4..f09448ab3723 100644 --- a/pkgs/development/lisp-modules-new/imported.nix +++ b/pkgs/development/lisp-modules-new/imported.nix @@ -57419,9 +57419,6 @@ in { }); systems = [ "pzmq" ]; lispLibs = [ (getAttr "cffi" pkgs) (getAttr "cffi-grovel" pkgs) ]; - meta = { - broken = true; - }; }; pzmq-compat = { pname = "pzmq-compat"; diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index cc4593ca64d1..ba229b5e8232 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -148,6 +148,10 @@ let cl-readline = pkg: { nativeLibs = [ pkgs.readline ]; }; + pzmq = pkg: { + nativeBuildInputs = [ pkgs.zeromq ]; + nativeLibs = [ pkgs.zeromq ]; + }; }; qlpkgs = From beb27110edde03076eb77b66fe0bac37f27674b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 01:02:16 +0100 Subject: [PATCH 041/133] sbclPackages: fix typo --- pkgs/development/lisp-modules-new/ql.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index ba229b5e8232..b23549938941 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -130,7 +130,7 @@ let nativeLibs = [ libfixposix ]; systems = [ "iolib" "iolib/os" "iolib/pathnames" ]; }; - cl-ana_dot_hdf-cffi = pkg: { + "cl-ana.hdf-cffi" = pkg: { nativeBuildInputs = [ pkgs.hdf5 ]; nativeLibs = [ pkgs.hdf5 ]; NIX_LDFLAGS = [ "-lhdf5" ]; From 354c89dc0a6fbd5819c69e3a5a5abb03b7ad8f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 01:03:24 +0100 Subject: [PATCH 042/133] sbclPackages: fix cl-cairo2 --- pkgs/development/lisp-modules-new/ql.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index b23549938941..090561107397 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -19,6 +19,9 @@ let cl-cffi-gtk-cairo = pkg: { nativeLibs = [ cairo ]; }; + cl-cairo2 = pkg: { + nativeLibs = [ cairo ]; + }; cl-cffi-gtk-gdk = pkg: { nativeLibs = [ gtk3 ]; }; From 5376fb46762f4c823f8f7affe2b7f80197ace71e Mon Sep 17 00:00:00 2001 From: Maxine Aubrey Date: Mon, 14 Nov 2022 01:21:01 +0100 Subject: [PATCH 043/133] _1password-gui: 8.9.4 -> 8.9.8, 8.9.6-30.BETA -> 8.9.10-1.BETA --- .../misc/1password-gui/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/1password-gui/default.nix b/pkgs/applications/misc/1password-gui/default.nix index 7f8cc200a968..e6cf00d669de 100644 --- a/pkgs/applications/misc/1password-gui/default.nix +++ b/pkgs/applications/misc/1password-gui/default.nix @@ -9,43 +9,43 @@ let pname = "1password"; - version = if channel == "stable" then "8.9.4" else "8.9.6-30.BETA"; + version = if channel == "stable" then "8.9.8" else "8.9.10-1.BETA"; sources = { stable = { x86_64-linux = { url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz"; - sha256 = "sha256-Smq0gOGfBTjIOMwF1AI+TJwXaIiTi/YP9mGIqcjsCNQ="; + sha256 = "sha256-s5GFGsSelnvqdoEgCzU88BG0dc4bUG4IX3fbeciIPIk="; }; aarch64-linux = { url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz"; - sha256 = "sha256-SJDUfAFEwYnOR+y/6Dg2S/CkA84QogoRpMXOPP5PyrM="; + sha256 = "sha256-wNF9jwHTxuojFQ+s05jhb7dFihE/36cadaBONqrMYF0="; }; x86_64-darwin = { url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; - sha256 = "sha256-+2FQQ5FiB0N30JM/Mtnfa04K2XZaf3r/W1+i8VKNslA="; + sha256 = "sha256-Ok0M6jPZ513iTE646PDPu+dK6Y3b/J8oejJQQkQMS2w="; }; aarch64-darwin = { url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; - sha256 = "sha256-nhocEwtr6cMSSStPa7S+g8SwPStJVWPblA3HbqJ8q6Q="; + sha256 = "sha256-zocY/0IgiGwuY/ZrMbip34HoRp90ATWRpfAIRhyH9M8="; }; }; beta = { x86_64-linux = { url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; - sha256 = "sha256-xBfpBkYff1X26Iu0Ee03lIiR6UdJOiaG+kZMVotG0Hc="; + sha256 = "sha256-fW+9mko1OZ5zlTnbZucOjvjus8KVZA4Mcga/4HJyJL4="; }; aarch64-linux = { url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz"; - sha256 = "0j0v90i78y1m77gpn65iyjdy1xslv1mar1ihxj9jzcmva0nmdmra"; + sha256 = "sha256-jczDhKMCEHjE5yXr5jczSalGa4pVFs7V8BcIhueT88M="; }; x86_64-darwin = { url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; - sha256 = "sha256-PNlEBFoIGYkDR4TzbudsqAE5vjbiVHTNL7XoflN+mUY="; + sha256 = "sha256-apgXMoZ7yNtUgf6efuSjAK6TGFR230FMK4j95OoXgwQ="; }; aarch64-darwin = { url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; - sha256 = "sha256-PYS0N4VeUjNhCncSDXvpyLuHlpv4nn35aJTPANdMXwk="; + sha256 = "sha256-tdGu648joHu5E8ECU1TpkxgfU6ZMHlJAy+VcNDtIscA="; }; }; }; From 177732bd36ec4e640f4c893247329967ad5ed1dd Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Fri, 4 Nov 2022 00:19:33 +0000 Subject: [PATCH 044/133] perf: add libbabeltrace dependency --- pkgs/os-specific/linux/kernel/perf/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/perf/default.nix b/pkgs/os-specific/linux/kernel/perf/default.nix index e3a387b8115b..52715ab34c01 100644 --- a/pkgs/os-specific/linux/kernel/perf/default.nix +++ b/pkgs/os-specific/linux/kernel/perf/default.nix @@ -31,6 +31,7 @@ , systemtap , numactl , zlib +, babeltrace , withGtk ? false , gtk2 , withZstd ? true @@ -121,6 +122,7 @@ stdenv.mkDerivation { numactl python3 perl + babeltrace ] ++ (if (lib.versionAtLeast kernel.version "5.19") then [ libbfd libopcodes ] else [ libbfd_2_38 libopcodes_2_38 ]) From 766ad4f624a1bcffb8e4b0ef5f1a7ac16fd12a62 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 01:31:01 +0000 Subject: [PATCH 045/133] python310Packages.pyosmium: 3.4.1 -> 3.5.0 --- pkgs/development/python-modules/pyosmium/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyosmium/default.nix b/pkgs/development/python-modules/pyosmium/default.nix index 3d681c75daa8..22473af90282 100644 --- a/pkgs/development/python-modules/pyosmium/default.nix +++ b/pkgs/development/python-modules/pyosmium/default.nix @@ -5,7 +5,7 @@ buildPythonPackage rec { pname = "pyosmium"; - version = "3.4.1"; + version = "3.5.0"; disabled = pythonOlder "3.4" || isPyPy; @@ -13,7 +13,7 @@ buildPythonPackage rec { owner = "osmcode"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-PMQnQe699ZWRR2gevrSCTokyc9xr1TL9Ohuqn7NL8c8="; + sha256 = "sha256-dumTyca1nLPa6B3p5fmUGWa6jReHOeFPc9heTz/2zao="; }; nativeBuildInputs = [ cmake ]; From b016e85f39d5945c855df7cf7073f97c0e899a5e Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 14 Nov 2022 02:51:42 +0100 Subject: [PATCH 046/133] audacity: add x86_64-darwin support (#201104) --- pkgs/applications/audio/audacity/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix index 47bfcf8b8c06..c12cc30df26d 100644 --- a/pkgs/applications/audio/audacity/default.nix +++ b/pkgs/applications/audio/audacity/default.nix @@ -84,6 +84,10 @@ stdenv.mkDerivation rec { '' + lib.optionalString stdenv.isLinux '' substituteInPlace libraries/lib-files/FileNames.cpp \ --replace /usr/include/linux/magic.h ${linuxHeaders}/include/linux/magic.h + '' + # error: unknown type name 'NSAppearanceName' + + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' + sed -z -i "s/if (@available(macOS 10.14, \*)).*}/}/g" src/AudacityApp.mm ''; nativeBuildInputs = [ @@ -199,7 +203,5 @@ stdenv.mkDerivation rec { ]; maintainers = with maintainers; [ lheckemann veprbl wegank ]; platforms = platforms.unix; - # error: unknown type name 'NSAppearanceName' - broken = stdenv.isDarwin && stdenv.isx86_64; }; } From 0bcc9969b25b9870868a4bc2f5af3ebab7bc28ac Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Mon, 14 Nov 2022 09:56:52 +0800 Subject: [PATCH 047/133] miniflux: 2.0.39 -> 2.0.40 --- pkgs/servers/miniflux/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/miniflux/default.nix b/pkgs/servers/miniflux/default.nix index a3c19252c82d..9f08b323ca5e 100644 --- a/pkgs/servers/miniflux/default.nix +++ b/pkgs/servers/miniflux/default.nix @@ -2,7 +2,7 @@ let pname = "miniflux"; - version = "2.0.39"; + version = "2.0.40"; in buildGoModule { inherit pname version; @@ -11,10 +11,10 @@ in buildGoModule { owner = pname; repo = "v2"; rev = version; - sha256 = "sha256-vvGQc+Ot7w9gZuXV8yCGvMcRIRJJez59bMudX6D34es="; + sha256 = "sha256-T7W7DnMMRv4UmzfNB25ustLxv+gkG4Wtw/pMesDvIns="; }; - vendorSha256 = "sha256-IbOfEdCAuK70+3Z4rWkxVZKPw1rD1hHkohQoWAK1Z3w="; + vendorSha256 = "sha256-uRbRNUZVYzvxl+qomXG9tBAuXOkoyKOfUQaPF3q4a9Y="; nativeBuildInputs = [ installShellFiles ]; From 92ad187a934f82e5a38e7959bd22104ee10fd73f Mon Sep 17 00:00:00 2001 From: happysalada Date: Sun, 13 Nov 2022 16:30:01 -0500 Subject: [PATCH 048/133] influxdb2: 2.4.0 -> 2.5.1 --- pkgs/servers/nosql/influxdb2/cli.nix | 6 ++--- pkgs/servers/nosql/influxdb2/default.nix | 34 +++++++++--------------- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/pkgs/servers/nosql/influxdb2/cli.nix b/pkgs/servers/nosql/influxdb2/cli.nix index 63e4f9f4557f..37b95a16b166 100644 --- a/pkgs/servers/nosql/influxdb2/cli.nix +++ b/pkgs/servers/nosql/influxdb2/cli.nix @@ -5,19 +5,19 @@ }: let - version = "2.4.0"; + version = "2.5.0"; src = fetchFromGitHub { owner = "influxdata"; repo = "influx-cli"; rev = "v${version}"; - sha256 = "sha256-l27BAHQtMA4kE7VEZLdOPFnSXtyWUOrcUFitaWqwvTw="; + sha256 = "sha256-gztLANO42VbgA6LxiuVh8ESF20JqjC+7znYhmWJKxVA="; }; in buildGoModule { pname = "influx-cli"; version = version; - src = src; + inherit src; vendorSha256 = "sha256-GnVLr9mWehgw8vs4RiOrFHVlPpPT/LP6XvCq94aJxJQ="; subPackages = [ "cmd/influx" ]; diff --git a/pkgs/servers/nosql/influxdb2/default.nix b/pkgs/servers/nosql/influxdb2/default.nix index ce010f306221..41bba89996bf 100644 --- a/pkgs/servers/nosql/influxdb2/default.nix +++ b/pkgs/servers/nosql/influxdb2/default.nix @@ -13,22 +13,22 @@ }: let - version = "2.4.0"; + version = "2.5.1"; # Despite the name, this is not a rolling release. This is the - # version of the UI assets for 2.4.0, as specified in - # scripts/fetch-ui-assets.sh in the 2.4.0 tag of influxdb. - ui_version = "Master"; - libflux_version = "0.179.0"; + # version of the UI assets for 2.5.1, as specified in + # scripts/fetch-ui-assets.sh in the 2.5.1 tag of influxdb. + ui_version = "OSS-2022-09-16"; + libflux_version = "0.188.1"; src = fetchFromGitHub { owner = "influxdata"; repo = "influxdb"; rev = "v${version}"; - sha256 = "sha256-ufJnrVWVfia2/xLRmFkauCw8ktdSJUybJkv42Gd0npg="; + sha256 = "sha256-AKyuFBja06BuWYliqIGKOb4PIc5G8S9S+cf/dLrEATY="; }; ui = fetchurl { - url = "https://github.com/influxdata/ui/releases/download/OSS-${ui_version}/build.tar.gz"; + url = "https://github.com/influxdata/ui/releases/download/${ui_version}/build.tar.gz"; sha256 = "sha256-YKDp1jLyo4n+YTeMaWl8dhN4Lr3H8FXV7stJ3p3zFe8="; }; @@ -39,20 +39,10 @@ let owner = "influxdata"; repo = "flux"; rev = "v${libflux_version}"; - sha256 = "sha256-xcsmvT8Ve1WbfwrdVPnJcj7RAvrk795N3C95ubbGig0="; + sha256 = "sha256-Xmh7V/o1Gje62kcnTeB9h/fySljhfu+tjbyvryvIGRc="; }; - patches = [ - # https://github.com/influxdata/flux/pull/5273 - # fix compile error with Rust 1.64 - (fetchpatch { - url = "https://github.com/influxdata/flux/commit/20ca62138a0669f2760dd469ca41fc333e04b8f2.patch"; - stripLen = 2; - extraPrefix = ""; - sha256 = "sha256-Fb4CuH9ZvrPha249dmLLI8MqSNQRKqKPxPbw2pjqwfY="; - }) - ]; sourceRoot = "source/libflux"; - cargoSha256 = "sha256-+hJQFV0tWeTQDN560DzROUNpdkcZ5h2sc13akHCgqPc="; + cargoSha256 = "sha256-9rPW0lgi3lXJARa1KXgSY8LVJsoFjppok5ODGlqYeYw="; nativeBuildInputs = [ llvmPackages.libclang ]; buildInputs = lib.optional stdenv.isDarwin libiconv; LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; @@ -77,11 +67,11 @@ let in buildGoModule { pname = "influxdb"; version = version; - src = src; + inherit src; nativeBuildInputs = [ go-bindata pkg-config perl ]; - vendorSha256 = "sha256-DZsd6qPKfRbnvz0UAww+ubaeTEqQxLeil1S3SZAmmJk="; + vendorSha256 = "sha256-02x+HsWkng7OnKVSfkQR8LL1Qk42Bdrw0IMtBpS7xQc="; subPackages = [ "cmd/influxd" "cmd/telemetryd" ]; PKG_CONFIG_PATH = "${flux}/pkgconfig"; @@ -102,7 +92,7 @@ in buildGoModule { exit 1 fi - ui_ver=$(egrep 'influxdata/ui/releases/.*/sha256.txt' scripts/fetch-ui-assets.sh | perl -pe 's#.*/OSS-([^/]+)/.*#$1#') + ui_ver=$(egrep 'UI_RELEASE=".*"' scripts/fetch-ui-assets.sh | cut -d'"' -f2) if [ "$ui_ver" != "${ui_version}" ]; then echo "scripts/fetch-ui-assets.sh wants UI $ui_ver, but nix derivation provides ${ui_version}" exit 1 From 678ccdf71645a5ed766f743e81ecdfeb56f3e868 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 14 Nov 2022 02:16:43 +0000 Subject: [PATCH 049/133] element: mark as broken on darwin --- pkgs/applications/science/chemistry/element/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/chemistry/element/default.nix b/pkgs/applications/science/chemistry/element/default.nix index c9c609f4b8f2..f0865b503dea 100644 --- a/pkgs/applications/science/chemistry/element/default.nix +++ b/pkgs/applications/science/chemistry/element/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, stdenv, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "element"; @@ -18,5 +18,6 @@ buildGoModule rec { homepage = "https://github.com/gennaro-tedesco/element"; license = licenses.asl20; maintainers = [ maintainers.j0hax ]; + broken = stdenv.isDarwin; }; } From fd8361c44a436c852c97d9660b4aa88b3d53e8de Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 14 Nov 2022 02:22:22 +0000 Subject: [PATCH 050/133] fn-cli: mark as broken on darwin --- pkgs/applications/networking/cluster/fn-cli/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/fn-cli/default.nix b/pkgs/applications/networking/cluster/fn-cli/default.nix index c9895fccc9b7..78eee8746c51 100644 --- a/pkgs/applications/networking/cluster/fn-cli/default.nix +++ b/pkgs/applications/networking/cluster/fn-cli/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, docker }: +{ lib, stdenv, buildGoModule, fetchFromGitHub, docker }: buildGoModule rec { pname = "fn"; @@ -32,5 +32,6 @@ buildGoModule rec { homepage = "https://fnproject.io"; license = licenses.asl20; maintainers = [ maintainers.c4605 ]; + broken = stdenv.isDarwin; }; } From f519ea5528c1c534e76e963bdf37a31af63167c9 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sun, 13 Nov 2022 21:23:42 -0500 Subject: [PATCH 051/133] ruff: 0.0.115 -> 0.0.117 --- pkgs/development/tools/ruff/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/ruff/default.nix b/pkgs/development/tools/ruff/default.nix index 2ab10d7a5b63..fec8f561c8c9 100644 --- a/pkgs/development/tools/ruff/default.nix +++ b/pkgs/development/tools/ruff/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "ruff"; - version = "0.0.115"; + version = "0.0.117"; src = fetchFromGitHub { owner = "charliermarsh"; repo = pname; rev = "v${version}"; - sha256 = "sha256-eb5k6gW70Z4bVrJhrDtI6G1Hk5C98gdqZP6rkgiI6uQ="; + sha256 = "sha256-+pGzqChtstpuVyo90Jj/Eb6rdvovN+eZZN5Xpe7FD9g="; }; - cargoSha256 = "sha256-s2ufpiCqQG5JoLsEscIusY/4B7SieABIK164Up0H74I="; + cargoSha256 = "sha256-xDLdwDRhWH5egB+nV4swh1Mveyv8RWyOtXRXgYWypEQ="; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices From 41eb952bbbe1558dc44a5f801443a73770a4c5bd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 22:18:16 +0000 Subject: [PATCH 052/133] python310Packages.prefixed: 0.4.0 -> 0.4.2 --- pkgs/development/python-modules/prefixed/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prefixed/default.nix b/pkgs/development/python-modules/prefixed/default.nix index 848f50fe62f5..5f6cf56465a1 100644 --- a/pkgs/development/python-modules/prefixed/default.nix +++ b/pkgs/development/python-modules/prefixed/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "prefixed"; - version = "0.4.0"; + version = "0.4.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-z5awVvmKubphXQMR7Kg3s9oBIBXNxZTz/uJIyvcCKLc="; + sha256 = "sha256-gfTjvBUEbncnE6uA8IaQ5hxSzOsgFBQldU6rWwCxMMk="; }; checkInputs = [ pytestCheckHook ]; From 47728c4392cd05839d01037beeac7f6104e77ee2 Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Mon, 14 Nov 2022 09:39:28 +0800 Subject: [PATCH 053/133] manim: fix build --- pkgs/applications/video/manim/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix index 62a17d9c1dc8..3f1d5ecb81b9 100644 --- a/pkgs/applications/video/manim/default.nix +++ b/pkgs/applications/video/manim/default.nix @@ -64,6 +64,7 @@ in python3.pkgs.buildPythonApplication rec { --replace "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term" "" \ --replace 'cloup = "^0.13.0"' 'cloup = "*"' \ --replace 'mapbox-earcut = "^0.12.10"' 'mapbox-earcut = "*"' \ + --replace 'click = ">=7.2<=9.0"' 'click = ">=7.2,<=9.0"' # https://github.com/ManimCommunity/manim/pull/2954 ''; buildInputs = [ cairo ]; From 5a65cc178188ebcc98fb763861b6e378a729d977 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 03:03:15 +0000 Subject: [PATCH 054/133] python310Packages.pyswitchbot: 0.20.3 -> 0.20.4 --- pkgs/development/python-modules/pyswitchbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index 14fff3d0d370..f09d40bc7236 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.20.3"; + version = "0.20.4"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-kyCCGXvjE3Ufmc473GiYDVZ9QpNn1GTuVbwvd3NUTwo="; + hash = "sha256-hBoK2Nx4pFCWt+RRmzVuoJok8QvVnEa82WINGrFpHqo="; }; propagatedBuildInputs = [ From a3bd01822330f9cdc25c62f061ac088d5d35a1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 12 Nov 2022 09:11:21 -0800 Subject: [PATCH 055/133] python310Packages.safety: 2.2.1 -> 2.3.1 https://github.com/pyupio/safety/blob/2.3.1/CHANGELOG.md --- pkgs/development/python-modules/safety/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/safety/default.nix b/pkgs/development/python-modules/safety/default.nix index 20f0beecb70f..fdd0c975272f 100644 --- a/pkgs/development/python-modules/safety/default.nix +++ b/pkgs/development/python-modules/safety/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "safety"; - version = "2.2.1"; + version = "2.3.1"; disabled = pythonOlder "3.6"; @@ -21,12 +21,14 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-2LSMRqxmKLuDRBt93cR1bP4lgqvhOhEu5uTvGjSq0DI="; + hash = "sha256-bm/LfU6DIQmM8on1m2UFHK/TRn8InG5XyfiUrjLCO3E="; }; postPatch = '' substituteInPlace safety/safety.py \ --replace "telemetry=True" "telemetry=False" + substituteInPlace safety/util.py \ + --replace "telemetry=True" "telemetry=False" substituteInPlace safety/cli.py \ --replace "telemetry', default=True" "telemetry', default=False" ''; From a0bf7e251c9e830157475684e19ca6ae129102a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 12 Nov 2022 10:26:20 -0800 Subject: [PATCH 056/133] python310Packages.xsdata: 22.9 -> 22.11 https://github.com/tefra/xsdata/blob/v22.11/CHANGES.rst --- pkgs/development/python-modules/xsdata/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xsdata/default.nix b/pkgs/development/python-modules/xsdata/default.nix index e87b07b89fa4..ab8881827394 100644 --- a/pkgs/development/python-modules/xsdata/default.nix +++ b/pkgs/development/python-modules/xsdata/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "xsdata"; - version = "22.9"; + version = "22.11"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-xi1QArTeWbrKTE6p7f3Aj7d1lxPsIROaruv/IMw+fPw="; + hash = "sha256-3A2vyK6UdelWSzcN7pzPz6xKnU3X+rum7dKzl6OfWoc="; }; postPatch = '' @@ -74,6 +74,7 @@ buildPythonPackage rec { meta = { description = "Python XML Binding"; homepage = "https://github.com/tefra/xsdata"; + changelog = "https://github.com/tefra/xsdata/blob/v${version}/CHANGES.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; From 2c09426bcb544db300410dbb1bf8fefd3e498587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 12 Nov 2022 09:21:12 -0800 Subject: [PATCH 057/133] python310Packages.ua-parser: 0.15.0 -> 0.16.1 --- .../python-modules/ua-parser/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/ua-parser/default.nix b/pkgs/development/python-modules/ua-parser/default.nix index 6a232cfbe55c..e324459e9810 100644 --- a/pkgs/development/python-modules/ua-parser/default.nix +++ b/pkgs/development/python-modules/ua-parser/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "ua-parser"; - version = "0.15.0"; + version = "0.16.1"; format = "setuptools"; @@ -16,26 +16,17 @@ buildPythonPackage rec { repo = "uap-python"; rev = version; fetchSubmodules = true; - hash = "sha256-TtOj1ZL8+4T95AgF9ErvI+0W35WQ23snFhCyCbuRjxM="; + hash = "sha256-vyzeRi/wYEyezSU+EigJATgrNvABGCWVWlSFhKGipLE="; }; patches = [ ./dont-fetch-submodule.patch ]; - postPatch = '' - substituteInPlace setup.py \ - --replace "pyyaml ~= 5.4.0" pyyaml - ''; - nativeBuildInputs = [ pyyaml ]; - preBuild = '' - mkdir -p build/lib/ua_parser - ''; - checkInputs = [ pytestCheckHook ]; From ff7f75dfccec524e33f472e27fad2ca8742d873b Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 14 Nov 2022 04:30:27 +0000 Subject: [PATCH 058/133] perf-linux: fix build on linux 5.4 --- pkgs/os-specific/linux/kernel/perf/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/perf/default.nix b/pkgs/os-specific/linux/kernel/perf/default.nix index e3a387b8115b..2006c7b0bcdb 100644 --- a/pkgs/os-specific/linux/kernel/perf/default.nix +++ b/pkgs/os-specific/linux/kernel/perf/default.nix @@ -69,7 +69,7 @@ stdenv.mkDerivation { postPatch = '' patchShebangs scripts tools/perf/pmu-events/jevents.py - + '' + lib.optionalString (lib.versionAtLeast kernel.version "5.8") '' substituteInPlace tools/perf/scripts/python/flamegraph.py \ --replace "/usr/share/d3-flame-graph/d3-flamegraph-base.html" \ "${d3-flame-graph-templates}/share/d3-flame-graph/d3-flamegraph-base.html" From b0b258544faf3843a97db362bc28b2f3f3fbcc1d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 04:51:20 +0000 Subject: [PATCH 059/133] python310Packages.pytorch-pfn-extras: 0.6.1 -> 0.6.2 --- .../development/python-modules/pytorch-pfn-extras/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-pfn-extras/default.nix b/pkgs/development/python-modules/pytorch-pfn-extras/default.nix index e3c27eda9ef1..8fc3b2eae037 100644 --- a/pkgs/development/python-modules/pytorch-pfn-extras/default.nix +++ b/pkgs/development/python-modules/pytorch-pfn-extras/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "pytorch-pfn-extras"; - version = "0.6.1"; + version = "0.6.2"; src = fetchFromGitHub { owner = "pfnet"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-wxTs/hfgqJn4DCxZj87V/zDKZc+thx3o5bWAvZe7EJU="; + sha256 = "sha256-J1+y5hHMKC31rIYeWI3Ca8Hdx0FF+MnCOAp0ejHzX/Y="; }; propagatedBuildInputs = [ numpy packaging torch typing-extensions ]; From ee015169b775c88ee7f76a996cf601161abf4a68 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 05:33:16 +0000 Subject: [PATCH 060/133] awscli2: 2.8.11 -> 2.8.12 --- pkgs/tools/admin/awscli2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index a666a4cf8edb..a04ebf85ea7f 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -32,14 +32,14 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli2"; - version = "2.8.11"; # N.B: if you change this, check if overrides are still up-to-date + version = "2.8.12"; # N.B: if you change this, check if overrides are still up-to-date format = "pyproject"; src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; rev = version; - sha256 = "sha256-E4O4DEdPwfIt+XOiCF2gLZILYTfZ4BhXMUgKggtsoCc="; + sha256 = "sha256-OeOSSB0WgVJEszmkXmMkmJNq37sPID7HFaTbXkBUwlI="; }; nativeBuildInputs = [ From 4f34f4a8633e1f63c1c18c370d63589527f4afd5 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Mon, 14 Nov 2022 15:41:05 +1000 Subject: [PATCH 061/133] pam_ussh: fix build with go > 1.17 --- pkgs/os-specific/linux/pam_ussh/default.nix | 9 +++------ pkgs/os-specific/linux/pam_ussh/go.sum | 22 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 pkgs/os-specific/linux/pam_ussh/go.sum diff --git a/pkgs/os-specific/linux/pam_ussh/default.nix b/pkgs/os-specific/linux/pam_ussh/default.nix index 4d02efa67330..b0eeef0948e6 100644 --- a/pkgs/os-specific/linux/pam_ussh/default.nix +++ b/pkgs/os-specific/linux/pam_ussh/default.nix @@ -16,14 +16,12 @@ buildGoModule rec { sha256 = "0nb9hpqbghgi3zvq41kabydzyc6ffaaw9b4jkc5jrwn1klpw1xk8"; }; - prePatch = '' + preBuild = '' cp ${./go.mod} go.mod + cp ${./go.sum} go.sum ''; - overrideModAttrs = (_: { - inherit prePatch; - }); - vendorSha256 = null; #vendorSha256 = ""; + vendorSha256 = "sha256-fOIzJuTXiDNJak5ilgI2KnPOCogbFWTlPL3yNQdzUUI="; buildInputs = [ pam @@ -63,6 +61,5 @@ buildGoModule rec { license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ lukegb ]; - broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check }; } diff --git a/pkgs/os-specific/linux/pam_ussh/go.sum b/pkgs/os-specific/linux/pam_ussh/go.sum new file mode 100644 index 000000000000..0df3145edbd5 --- /dev/null +++ b/pkgs/os-specific/linux/pam_ussh/go.sum @@ -0,0 +1,22 @@ +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +golang.org/x/crypto v0.0.0-20220313003712-b769efc7c000 h1:SL+8VVnkqyshUSz5iNnXtrBQzvFF2SkROm6t5RczFAE= +golang.org/x/crypto v0.0.0-20220313003712-b769efc7c000/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= From a0212e0f8ebb5731d48b41e32dba1cc7e918c1ad Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Mon, 14 Nov 2022 17:24:04 +1000 Subject: [PATCH 062/133] fd: 8.5.2 -> 8.5.3 https://github.com/sharkdp/fd/releases/tag/v8.5.3 --- pkgs/tools/misc/fd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/fd/default.nix b/pkgs/tools/misc/fd/default.nix index 1a8843bd4f8c..6dd0e7a6e7cb 100644 --- a/pkgs/tools/misc/fd/default.nix +++ b/pkgs/tools/misc/fd/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "fd"; - version = "8.5.2"; + version = "8.5.3"; src = fetchFromGitHub { owner = "sharkdp"; repo = "fd"; rev = "v${version}"; - sha256 = "sha256-APgC5159U9yMrTiGLE0ngyA5y1bbJUZgoleDAs2ZaDI="; + sha256 = "sha256-7QQHLw+isXtr1FDQr4aiUhvOjJUPbaxFGDwukiWBG9g="; }; - cargoSha256 = "sha256-8pkn7FLPWMEwsjdwxKigHDEwBHBlh2W9R7HCUIu94Wg="; + cargoSha256 = "sha256-QFh47Pr+7lIdT++huziKgMJxvsZElTTwu11c7/wjyHE="; nativeBuildInputs = [ installShellFiles ]; From 10a4e2f5584c5ee42ad02b80d6fd18639cb8db80 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 07:53:53 +0000 Subject: [PATCH 063/133] cargo-auditable: 0.5.2 -> 0.5.3 --- pkgs/development/tools/rust/cargo-auditable/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-auditable/default.nix b/pkgs/development/tools/rust/cargo-auditable/default.nix index 164a6b2184ad..82213d6a93bc 100644 --- a/pkgs/development/tools/rust/cargo-auditable/default.nix +++ b/pkgs/development/tools/rust/cargo-auditable/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-auditable"; - version = "0.5.2"; + version = "0.5.3"; src = fetchFromGitHub { owner = "rust-secure-code"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4CHuthi7GXZKHenOE2Bk+Ps1AJlPkhvMIGHmV9Z00hA="; + sha256 = "sha256-bRx+a6vzjiS2dglVkTyUm8OASM2Qq05S7LuVkHaIYMU="; }; - cargoSha256 = "sha256-puq8BgYuynFZCepYZdQ9ggDYJlFDks7s/l3UxM9F7ag="; + cargoSha256 = "sha256-QZi45U+MV8h4AMcN3QLIfAn/gHzoBWuOsC7gDSBY2jI="; meta = with lib; { description = "A tool to make production Rust binaries auditable"; From b64b13430961a4ab7842acb4853987088ce9b7f3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 08:16:57 +0000 Subject: [PATCH 064/133] comrak: 0.14.0 -> 0.15.0 --- pkgs/tools/text/comrak/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/comrak/default.nix b/pkgs/tools/text/comrak/default.nix index 5d51f708e6a3..f4ad0f485e40 100644 --- a/pkgs/tools/text/comrak/default.nix +++ b/pkgs/tools/text/comrak/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "comrak"; - version = "0.14.0"; + version = "0.15.0"; src = fetchFromGitHub { owner = "kivikakk"; repo = pname; rev = version; - sha256 = "0a01s9lqhqjqpycszfkgmxk60bk4h2ja9ykdhp32aqvcdsjsj763"; + sha256 = "sha256-F6MZxbB3FYEJ8tzJ0tp9/s0aLaH35QUnOJS6mCVfzUQ="; }; - cargoSha256 = "sha256-+OQ4np+JaHMm3n4uayqlAwx+DTi5k4NgKEOWA2lB/BQ="; + cargoSha256 = "sha256-+QPzwfoxt6+gpb4bDMd++1dBKoXOTON0z2EDdgmyy60="; meta = with lib; { description = "A CommonMark-compatible GitHub Flavored Markdown parser and formatter"; From defcd6b623a8956a9780895cbccddc01fb8edd91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Di=20Remigio=20Eik=C3=A5s?= Date: Fri, 11 Nov 2022 11:48:37 +0100 Subject: [PATCH 065/133] python3Packages.geometric: 0.9.7.2 -> 1.0 --- .../geometric/ase-is-optional.patch | 50 +++++++++++++++++++ .../python-modules/geometric/default.nix | 21 ++++++-- 2 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 pkgs/development/python-modules/geometric/ase-is-optional.patch diff --git a/pkgs/development/python-modules/geometric/ase-is-optional.patch b/pkgs/development/python-modules/geometric/ase-is-optional.patch new file mode 100644 index 000000000000..911867c35457 --- /dev/null +++ b/pkgs/development/python-modules/geometric/ase-is-optional.patch @@ -0,0 +1,50 @@ +From aff6e4411980ac9cbe112a050c3a34ba7e305a43 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Roberto=20Di=20Remigio=20Eik=C3=A5s?= + +Date: Fri, 11 Nov 2022 09:20:25 +0100 +Subject: [PATCH] Do not import ASE stuff at the top + +Since it is an optional add-on and it's not listed in the installation requirements. +--- + geometric/tests/test_ase_engine.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/geometric/tests/test_ase_engine.py b/geometric/tests/test_ase_engine.py +index 8750763..34239b5 100644 +--- a/geometric/tests/test_ase_engine.py ++++ b/geometric/tests/test_ase_engine.py +@@ -10,7 +10,6 @@ + - geometry optimisation w/ ASE internal calc + """ + import numpy as np +-from ase.calculators.lj import LennardJones + from pytest import fixture, raises + + from geometric.ase_engine import EngineASE +@@ -37,6 +36,8 @@ def molecule_h2o() -> Molecule: + + @using_ase + def test_construction(molecule_h2o): ++ from ase.calculators.lj import LennardJones ++ + lj_calc = LennardJones() + engine = EngineASE(molecule_h2o, lj_calc) + assert engine.calculator == lj_calc +@@ -44,6 +45,8 @@ def test_construction(molecule_h2o): + + @using_ase + def test_from_args(molecule_h2o): ++ from ase.calculators.lj import LennardJones ++ + lj_calc = LennardJones(sigma=1.4, epsilon=3.0) + + # create equivalent engines in two ways +@@ -68,6 +71,8 @@ def test_from_args(molecule_h2o): + + @using_ase + def test_from_string(molecule_h2o): ++ from ase.calculators.lj import LennardJones ++ + engine = EngineASE.from_calculator_string( + molecule_h2o, calculator_import="ase.calculators.lj.LennardJones" + ) diff --git a/pkgs/development/python-modules/geometric/default.nix b/pkgs/development/python-modules/geometric/default.nix index 89f1e73ed9af..775ace5f6b2c 100644 --- a/pkgs/development/python-modules/geometric/default.nix +++ b/pkgs/development/python-modules/geometric/default.nix @@ -1,19 +1,28 @@ -{ buildPythonPackage, lib, fetchFromGitHub -, networkx, numpy, scipy, six +{ buildPythonPackage +, lib +, fetchFromGitHub +, networkx +, numpy +, scipy +, six , pytestCheckHook }: buildPythonPackage rec { pname = "geometric"; - version = "0.9.7.2"; + version = "1.0"; src = fetchFromGitHub { owner = "leeping"; repo = "geomeTRIC"; rev = version; - hash = "sha256-QFpfY6tWqcda6AJT17YBEuwu/4DYPbIMJU1c9/gHjaA="; + hash = "sha256-y8dh4vZ/d1KL1EpDrle8CH/KIDMCKKZdAyJVgUFjx/o="; }; + patches = [ + ./ase-is-optional.patch + ]; + propagatedBuildInputs = [ networkx numpy @@ -21,6 +30,10 @@ buildPythonPackage rec { six ]; + preCheck = '' + export OMP_NUM_THREADS=2 + ''; + checkInputs = [ pytestCheckHook ]; meta = with lib; { From 260fb8b482a4a4a427488378f83ac2847b0f4064 Mon Sep 17 00:00:00 2001 From: Nathanael Robbins Date: Mon, 29 Aug 2022 19:48:49 -0400 Subject: [PATCH 066/133] maintainers: add robbins --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e5cef2bf4fe9..843ebdadcc38 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11791,6 +11791,12 @@ githubId = 12312980; name = "Robbin C."; }; + robbins = { + email = "nejrobbins@gmail.com"; + github = "robbins"; + githubId = 31457698; + name = "Nathanael Robbins"; + }; roberth = { email = "nixpkgs@roberthensing.nl"; matrix = "@roberthensing:matrix.org"; From 73684a65aa21828d808cf38cad07fe93f4f15514 Mon Sep 17 00:00:00 2001 From: Nathanael Robbins Date: Tue, 30 Aug 2022 02:08:50 -0400 Subject: [PATCH 067/133] obs-studio-plugins.obs-source-record: init at 2022-11-10 Co-authored-by: Franz Pletz --- .../video/obs-studio/plugins/default.nix | 2 ++ .../obs-studio/plugins/obs-source-record.nix | 34 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/applications/video/obs-studio/plugins/obs-source-record.nix diff --git a/pkgs/applications/video/obs-studio/plugins/default.nix b/pkgs/applications/video/obs-studio/plugins/default.nix index 3f6a5f8d987d..d1a3cc988a50 100644 --- a/pkgs/applications/video/obs-studio/plugins/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/default.nix @@ -26,6 +26,8 @@ obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { }; + obs-source-record = callPackage ./obs-source-record.nix { }; + obs-vkcapture = callPackage ./obs-vkcapture.nix { obs-vkcapture32 = pkgsi686Linux.obs-studio-plugins.obs-vkcapture; }; diff --git a/pkgs/applications/video/obs-studio/plugins/obs-source-record.nix b/pkgs/applications/video/obs-studio/plugins/obs-source-record.nix new file mode 100644 index 000000000000..29dcb533915c --- /dev/null +++ b/pkgs/applications/video/obs-studio/plugins/obs-source-record.nix @@ -0,0 +1,34 @@ +{ lib, stdenv, fetchFromGitHub, cmake, obs-studio }: + +stdenv.mkDerivation rec { + pname = "obs-source-record"; + version = "unstable-2022-11-10"; + + src = fetchFromGitHub { + owner = "exeldro"; + repo = "obs-source-record"; + rev = "4a543d3577d56a27f5f2b9aa541a466b37dafde0"; + sha256 = "sha256-LoMgrWZ7r6lu2fisNvqrAiFvxWQQDE6lSxUHkMB/ZPY="; + }; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ + obs-studio + ]; + + cmakeFlags = [ + "-DBUILD_OUT_OF_TREE=On" + ]; + + postInstall = '' + rm -rf $out/{data,obs-plugins} + ''; + + meta = with lib; { + description = "OBS Studio plugin to make sources available to record via a filter"; + homepage = "https://github.com/exeldro/obs-source-record"; + maintainers = with maintainers; [ robbins ]; + license = licenses.gpl2Only; + platforms = [ "x86_64-linux" ]; + }; +} From 000663a015f2f56d392932f79365021bd5e21c16 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 14 Nov 2022 09:17:52 +0000 Subject: [PATCH 068/133] survex: use xorg.* packages directly instead of xlibsWrapper indirection Validated as no change in `out` output with `diffoscope`. --- pkgs/applications/misc/survex/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/survex/default.nix b/pkgs/applications/misc/survex/default.nix index 0dd5afd3edb4..b23cd02220b2 100644 --- a/pkgs/applications/misc/survex/default.nix +++ b/pkgs/applications/misc/survex/default.nix @@ -7,6 +7,8 @@ , ffmpeg , glib , libGLU +, libICE +, libX11 , mesa , perl , pkg-config @@ -14,7 +16,6 @@ , python3 , wrapGAppsHook , wxGTK32 -, xlibsWrapper }: stdenv.mkDerivation rec { @@ -52,7 +53,8 @@ stdenv.mkDerivation rec { Carbon Cocoa ] ++ lib.optionals stdenv.hostPlatform.isLinux [ - xlibsWrapper + libICE + libX11 ]; postPatch = '' From 5744a7b2c670f432b5b9ab3ddd7f067d3da5303d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 09:20:05 +0000 Subject: [PATCH 069/133] cppcheck: 2.9.1 -> 2.9.2 --- pkgs/development/tools/analysis/cppcheck/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/cppcheck/default.nix b/pkgs/development/tools/analysis/cppcheck/default.nix index 7d3502f1262a..73b1385a00de 100644 --- a/pkgs/development/tools/analysis/cppcheck/default.nix +++ b/pkgs/development/tools/analysis/cppcheck/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "cppcheck"; - version = "2.9.1"; + version = "2.9.2"; src = fetchFromGitHub { owner = "danmar"; repo = "cppcheck"; rev = version; - hash = "sha256-bKZOAGInks26NmzlKo1T8NREO9xoF8ZsssNDzyTJwlU="; + hash = "sha256-76JMC9kjeQO4ZuRQ4Kv7J141xy0M7kDTWWjQtJ/d5r0="; }; buildInputs = [ pcre From 04be2d8747aad512fc9c907dfc6b9943d2a16412 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 14 Nov 2022 09:29:12 +0000 Subject: [PATCH 070/133] zoekt: unstable-2021-03-17 -> unstable-2022-11-09 --- pkgs/tools/text/zoekt/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/text/zoekt/default.nix b/pkgs/tools/text/zoekt/default.nix index 38e4f9510eb0..1c14c4fa5bba 100644 --- a/pkgs/tools/text/zoekt/default.nix +++ b/pkgs/tools/text/zoekt/default.nix @@ -1,28 +1,31 @@ -{ stdenv -, lib +{ lib , buildGoModule , fetchFromGitHub , git }: buildGoModule { pname = "zoekt"; - version = "unstable-2021-03-17"; + version = "unstable-2022-11-09"; src = fetchFromGitHub { - owner = "google"; + owner = "sourcegraph"; repo = "zoekt"; - rev = "d92b3b80e582e735b2459413ee7d9dbbf294d629"; - sha256 = "JdORh6bRdHsAYwsmdKY0OUavXfu3HsPQFkQjRBkcMBo="; + rev = "c4b18d3b44da94b3e7c9c94467d68c029666bb86"; + hash = "sha256-QtwOiBxBeFkhRfH3R2fP72b05Hc4+zt9njqCNVcprZ4="; }; - vendorSha256 = "d+Xvl6fleMO0frP9qr5tZgkzsnH5lPELwmEQEspD22M="; + vendorHash = "sha256-DiAqFJ8E5V0/eHztm92WVrf1XGPXmmOaVXaWHfQMn2k="; checkInputs = [ git ]; + preCheck = '' + export HOME=`mktemp -d` + git config --global --replace-all protocol.file.allow always + ''; + meta = with lib; { - broken = stdenv.isDarwin; description = "Fast trigram based code search"; homepage = "https://github.com/google/zoekt"; license = licenses.asl20; From ab44b8890a41845f55dab39cd96f28cfbe0108ea Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 09:47:00 +0000 Subject: [PATCH 071/133] dufs: 0.30.0 -> 0.31.0 --- pkgs/servers/http/dufs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/http/dufs/default.nix b/pkgs/servers/http/dufs/default.nix index c89ccb8c7b13..e162a42863a5 100644 --- a/pkgs/servers/http/dufs/default.nix +++ b/pkgs/servers/http/dufs/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "dufs"; - version = "0.30.0"; + version = "0.31.0"; src = fetchFromGitHub { owner = "sigoden"; repo = pname; rev = "v${version}"; - sha256 = "sha256-UJ93yUJqxkP+PyUrhKkjV90vr55MemC1zRbzh/gFqPU="; + sha256 = "sha256-fR3CeF+ScvDoPJaevAAShUdZDDjD/ocZQl7dIk2jHso="; }; - cargoSha256 = "sha256-dyn0wj11MC9NYwULsR6ytYUl+8wsRkVLBIwcgM5mMNQ="; + cargoSha256 = "sha256-VH/eu0qLh59J6uyj0RSqqEhlwghYg/JPp6u54BQzLPo="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config From fd9eed5bf351ba90c754f2479a56455d101cb597 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Mon, 14 Nov 2022 11:38:12 +0200 Subject: [PATCH 072/133] nixos/nginx: Extend acmeFallbackHost documentation This extra example would have saved me a lot of uncertainty and doubt. --- nixos/modules/services/web-servers/nginx/vhost-options.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/web-servers/nginx/vhost-options.nix b/nixos/modules/services/web-servers/nginx/vhost-options.nix index ccf8804943ac..b708f5b3be5c 100644 --- a/nixos/modules/services/web-servers/nginx/vhost-options.nix +++ b/nixos/modules/services/web-servers/nginx/vhost-options.nix @@ -99,6 +99,10 @@ with lib; description = lib.mdDoc '' Host which to proxy requests to if acme challenge is not found. Useful if you want multiple hosts to be able to verify the same domain name. + + For example, you could request certificates for the present domain with + an acme client that is running on another host, which you would specify + here. ''; }; From 0baed3d787e16ac752e62b08ecf8e45ce4dfa1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 12 Nov 2022 11:14:05 +0100 Subject: [PATCH 073/133] joplin-desktop: make Icon= more bitrot resistant Replace Icon= with Icon= so that the desktop file doesn't break when placed in ~/.config/autostart and after a system upgrade + garbage collect cycle. --- pkgs/applications/misc/joplin-desktop/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/joplin-desktop/default.nix b/pkgs/applications/misc/joplin-desktop/default.nix index 47a0fcbebde4..d712712908f0 100644 --- a/pkgs/applications/misc/joplin-desktop/default.nix +++ b/pkgs/applications/misc/joplin-desktop/default.nix @@ -55,7 +55,7 @@ let install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps substituteInPlace $out/share/applications/@joplinapp-desktop.desktop \ --replace 'Exec=AppRun' 'Exec=${pname}' \ - --replace 'Icon=joplin' "Icon=$out/share/pixmaps/@joplinapp-desktop.png" + --replace 'Icon=joplin' "Icon=@joplinapp-desktop" ''; }; From 0e2c58c77f031d58dcdf8c64928530ad075d085e Mon Sep 17 00:00:00 2001 From: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> Date: Mon, 14 Nov 2022 10:05:55 +0000 Subject: [PATCH 074/133] emacs: add withSystemd option --- pkgs/applications/editors/emacs/generic.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 91110c48a74b..21d286ff3a2c 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -20,7 +20,6 @@ , AppKit, Carbon, Cocoa, IOKit, OSAKit, Quartz, QuartzCore, WebKit , ImageCaptureCore, GSS, ImageIO # These may be optional -, systemd ? null , withX ? !stdenv.isDarwin && !withPgtk , withNS ? stdenv.isDarwin && !withMacport , withMacport ? macportVersion != null @@ -45,6 +44,7 @@ else if withMotif then "motif" else if withAthena then "athena" else "lucid") +, withSystemd ? stdenv.isLinux, systemd }: assert (libXft != null) -> libpng != null; # probably a bug @@ -141,7 +141,8 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation buildInputs = [ ncurses gconf libxml2 gnutls gettext jansson harfbuzz.dev ] - ++ lib.optionals stdenv.isLinux [ dbus libselinux systemd alsa-lib acl gpm ] + ++ lib.optionals stdenv.isLinux [ dbus libselinux alsa-lib acl gpm ] + ++ lib.optionals withSystemd [ systemd ] ++ lib.optionals withX [ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg giflib libtiff libXft gconf cairo ] From 7f9825881063fe6ac21782edbb08255883a2df8a Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Fri, 11 Nov 2022 01:54:11 +0300 Subject: [PATCH 075/133] datree: 1.6.42 -> 1.7.3 --- pkgs/development/tools/datree/default.nix | 52 ++++++++++++++--------- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/pkgs/development/tools/datree/default.nix b/pkgs/development/tools/datree/default.nix index 631f03d9c25b..7c9fbb0f146e 100644 --- a/pkgs/development/tools/datree/default.nix +++ b/pkgs/development/tools/datree/default.nix @@ -1,47 +1,57 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: +{ lib +, buildGoModule +, fetchFromGitHub +, installShellFiles +, testers +, datree +}: buildGoModule rec { pname = "datree"; - version = "1.6.42"; + version = "1.7.3"; src = fetchFromGitHub { owner = "datreeio"; repo = "datree"; rev = version; - hash = "sha256-4sj+zyFYtG/C6oDuQno/rkyxgdnnvAn9GZ5qvqA+UhA="; + hash = "sha256-FeGV/GXzt/AHprvKyt/gPAxxJ7d46GXrh0QRLb7qp0E="; }; - vendorSha256 = "sha256-gjD24nyQ8U1WwhUbq8N4dvzFK74t3as7wWZK7rh9yiw="; + vendorHash = "sha256-m3O5AoAHSM6rSnmL5N7V37XU38FADb0Edt/EZvvb2u4="; + + nativeBuildInputs = [ installShellFiles ]; ldflags = [ - "-extldflags '-static'" "-s" "-w" "-X github.com/datreeio/datree/cmd.CliVersion=${version}" ]; - nativeBuildInputs = [ installShellFiles ]; - - doInstallCheck = true; - installCheckPhase = '' - $out/bin/datree version | grep ${version} > /dev/null - ''; + tags = [ "main" ]; postInstall = '' - for shell in bash fish zsh; do - $out/bin/datree completion $shell > datree.$shell - installShellCompletion datree.$shell - done + installShellCompletion \ + --cmd datree \ + --bash <($out/bin/datree completion bash) \ + --fish <($out/bin/datree completion fish) \ + --zsh <($out/bin/datree completion zsh) ''; - doCheck = true; + passthru.tests.version = testers.testVersion { + package = datree; + command = "datree version"; + }; meta = with lib; { - description = - "CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies"; + description = "CLI tool to ensure K8s manifests and Helm charts follow best practices"; + longDescription = '' + Datree provides an E2E policy enforcement solution to run automatic checks + for rule violations. Datree can be used on the command line, admission + webhook, or even as a kubectl plugin to run policies against Kubernetes + objects. + ''; homepage = "https://datree.io/"; - license = [ licenses.asl20 ]; - maintainers = [ maintainers.jceb ]; - mainProgram = "datree"; + license = licenses.asl20; + maintainers = with maintainers; [ azahi jceb ]; }; } From e3fc19b301f7467df9920cdf721adcb705a783f7 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Mon, 14 Nov 2022 12:17:12 +0200 Subject: [PATCH 076/133] nixos/nginx: docs: Update formatting * Capitalize ACME * Use bold instead of ALL CAPS * Tweak sentence structure --- .../services/web-servers/nginx/vhost-options.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/web-servers/nginx/vhost-options.nix b/nixos/modules/services/web-servers/nginx/vhost-options.nix index b708f5b3be5c..e3d4afc074cf 100644 --- a/nixos/modules/services/web-servers/nginx/vhost-options.nix +++ b/nixos/modules/services/web-servers/nginx/vhost-options.nix @@ -88,7 +88,7 @@ with lib; type = types.nullOr types.str; default = "/var/lib/acme/acme-challenge"; description = lib.mdDoc '' - Directory for the acme challenge which is PUBLIC, don't put certs or keys in here. + Directory for the ACME challenge, which is **public**. Don't put certs or keys in here. Set to null to inherit from config.security.acme. ''; }; @@ -97,12 +97,12 @@ with lib; type = types.nullOr types.str; default = null; description = lib.mdDoc '' - Host which to proxy requests to if acme challenge is not found. Useful + Host which to proxy requests to if ACME challenge is not found. Useful if you want multiple hosts to be able to verify the same domain name. - For example, you could request certificates for the present domain with - an acme client that is running on another host, which you would specify - here. + With this option, you could request certificates for the present domain + with an ACME client that is running on another host, which you would + specify here. ''; }; From 3024d77c8221a8696ca53789169c279ab18ddf3b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 10:28:58 +0000 Subject: [PATCH 077/133] deno: 1.27.2 -> 1.28.0 --- pkgs/development/web/deno/default.nix | 6 +++--- pkgs/development/web/deno/librusty_v8.nix | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index df1b4deb0300..c29b39e78037 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -17,15 +17,15 @@ rustPlatform.buildRustPackage rec { pname = "deno"; - version = "1.27.2"; + version = "1.28.0"; src = fetchFromGitHub { owner = "denoland"; repo = pname; rev = "v${version}"; - sha256 = "sha256-YDlZYYKibq8eAeGkU1qtTrJC0UF4YOK7XzkxWZjoQhM="; + sha256 = "sha256-u5qlHIzPaAKLOoNSmfcPr+iNug3ZPyAm5kkfI7IO45U="; }; - cargoSha256 = "sha256-3mXjAD4kzAaiFkK9XFEy7Df+ko6jHfWAle7gAoHxb7E="; + cargoSha256 = "sha256-+jc/k7YDk/MySJhuOWlas9KQSeqkwFrvRGGd9tDFEkc="; postPatch = '' # upstream uses lld on aarch64-darwin for faster builds diff --git a/pkgs/development/web/deno/librusty_v8.nix b/pkgs/development/web/deno/librusty_v8.nix index eeafb988c097..32e2edccce1a 100644 --- a/pkgs/development/web/deno/librusty_v8.nix +++ b/pkgs/development/web/deno/librusty_v8.nix @@ -11,11 +11,11 @@ let }; in fetch_librusty_v8 { - version = "0.54.0"; + version = "0.55.0"; shas = { - x86_64-linux = "sha256-V7xBGdKtLZRRNoRyvY/8a3Cvw12zo8tz76ZR72xmG6U="; - aarch64-linux = "sha256-/KIZ2Feli7VNdgFUU+MC5QZ8dQJ88TKfjz/SOoux1zg="; - x86_64-darwin = "sha256-xBDMDvWFZPMwJb3alQe7ZuboTm2aFOh9F7memuHo180="; - aarch64-darwin = "sha256-Z62rnm8X0cro7HBBv5pbkvQJd+AW+wF2tthH1+5a0nU="; + x86_64-linux = "sha256-HztOb1r/9tWh0w4zQveBLOh3d6OfnSwQZkIx6drXJ7M="; + aarch64-linux = "sha256-rP0K875V4f4yHe7unUCpMCQbi7Fips6474gFZph73Ys="; + x86_64-darwin = "sha256-iiYttjs9h84YqZG8prxudTTi588BuoqA3zc2LkEks5E="; + aarch64-darwin = "sha256-RBA3fl3YdCqxb00xgl6KTYdbvl75U5Kgrux5N+dZg/g="; }; } From 4d2e0a096b96826a6c0a6a9e8611b45a8f69edd2 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 14 Nov 2022 10:44:34 +0000 Subject: [PATCH 078/133] darkman: build on linux only --- pkgs/applications/misc/darkman/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/darkman/default.nix b/pkgs/applications/misc/darkman/default.nix index 22ed4bea8eef..0114b353f20c 100644 --- a/pkgs/applications/misc/darkman/default.nix +++ b/pkgs/applications/misc/darkman/default.nix @@ -45,5 +45,6 @@ buildGoModule rec { homepage = "https://gitlab.com/WhyNotHugo/darkman"; license = licenses.isc; maintainers = [ maintainers.ajgrf ]; + platforms = platforms.linux; }; } From 8ac4008c0918bfcd910535203c8c9caf98da0f39 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sat, 8 Oct 2022 12:23:45 +0300 Subject: [PATCH 079/133] python3.pkgs.pytest-plt: init at 1.1.0 --- .../python-modules/pytest-plt/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/pytest-plt/default.nix diff --git a/pkgs/development/python-modules/pytest-plt/default.nix b/pkgs/development/python-modules/pytest-plt/default.nix new file mode 100644 index 000000000000..2c995aaeff1c --- /dev/null +++ b/pkgs/development/python-modules/pytest-plt/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +, matplotlib +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pytest-plt"; + version = "1.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-IkTNlierFXIG9WSVUfVoirfQ6z7JOYlCaa5NhnBSuxc="; + }; + + checkInputs = [ + pytestCheckHook + matplotlib + ]; + + meta = with lib; { + description = "provides fixtures for quickly creating Matplotlib plots in your tests"; + homepage = "https://www.nengo.ai/pytest-plt/"; + changelog = "https://github.com/nengo/pytest-plt/blob/master/CHANGES.rst"; + license = licenses.mit; + maintainers = [ maintainers.doronbehar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af0c07084a9f..1911d7eb3c83 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8811,6 +8811,8 @@ self: super: with self; { pytest-param-files = callPackage ../development/python-modules/pytest-param-files { }; + pytest-plt = callPackage ../development/python-modules/pytest-plt { }; + pytest-pylint = callPackage ../development/python-modules/pytest-pylint { }; pytest-qt = callPackage ../development/python-modules/pytest-qt { }; From 0e69f6db6498ee6f5e6c3b16c1af8d8620a6aeb4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 10:57:01 +0000 Subject: [PATCH 080/133] ferium: 4.2.0 -> 4.2.1 --- pkgs/games/ferium/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/ferium/default.nix b/pkgs/games/ferium/default.nix index 7fc79f8be438..60cf85ddfb57 100644 --- a/pkgs/games/ferium/default.nix +++ b/pkgs/games/ferium/default.nix @@ -2,18 +2,18 @@ rustPlatform.buildRustPackage rec { pname = "ferium"; - version = "4.2.0"; + version = "4.2.1"; src = fetchFromGitHub { owner = "gorilla-devs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-pJis4Lab/qRc5taeTxSoJOvNrhsWhGJrPILvkmB8k2A="; + sha256 = "sha256-tRJwx+yOzgy5SkVPtE2w4bhFSIaZUxXO4FBrZdhyz7g="; }; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; - cargoSha256 = "sha256-J1BY0gSkUQRFZJ/UlikvQqrLvCjHlf2jxbg6BIoZZUE="; + cargoSha256 = "sha256-zfA+kCqfyI+zNleOHWAYGLePy5FHSw05xIcWRT8BHbY="; # Disable the GUI file picker so that GTK/XDG dependencies aren't used buildNoDefaultFeatures = true; From 2f1ca6e27f0fd2a3dc250eefe53fedbff722fd80 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 14 Nov 2022 12:15:54 +0100 Subject: [PATCH 081/133] whois: 5.5.13 -> 5.5.14 --- pkgs/tools/networking/whois/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/whois/default.nix b/pkgs/tools/networking/whois/default.nix index b87991003cf1..b1ce1a7b7f6a 100644 --- a/pkgs/tools/networking/whois/default.nix +++ b/pkgs/tools/networking/whois/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchFromGitHub, perl, gettext, pkg-config, libidn2, libiconv }: stdenv.mkDerivation rec { - version = "5.5.13"; + version = "5.5.14"; pname = "whois"; src = fetchFromGitHub { owner = "rfc1036"; repo = "whois"; rev = "v${version}"; - sha256 = "sha256-Qd1tPRKbiTNmsOdawxQhJO1ykEA1VdAAXeBPPVlXwvI="; + sha256 = "sha256-UTUsuu/CGWhx9zYr7ppnJd7pumb6nGEyVwtJwC0loZ0="; }; nativeBuildInputs = [ perl gettext pkg-config ]; From eebb43a334806859a9444d9f99b9c52f1d432dac Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 14 Nov 2022 12:18:21 +0100 Subject: [PATCH 082/133] lldpd: 1.0.15 -> 1.0.16 --- pkgs/tools/networking/lldpd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/lldpd/default.nix b/pkgs/tools/networking/lldpd/default.nix index 22ae4cb210c2..6107efff7871 100644 --- a/pkgs/tools/networking/lldpd/default.nix +++ b/pkgs/tools/networking/lldpd/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "lldpd"; - version = "1.0.15"; + version = "1.0.16"; src = fetchurl { url = "https://media.luffy.cx/files/lldpd/${pname}-${version}.tar.gz"; - sha256 = "sha256-9/46EwvpihnEkUee9g82uO5Bqea8TX8sQQM/Y5VqMSY="; + sha256 = "sha256-47ORZQx7pnzqL+hNZ/201/yKoexc+G64u5hHEd+EZak="; }; configureFlags = [ From ec7467e2ea318b8abd0eb913262b839f1601afb0 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 14 Nov 2022 12:46:08 +0100 Subject: [PATCH 083/133] jool: 4.1.7 -> 4.1.8 --- pkgs/os-specific/linux/jool/source.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/jool/source.nix b/pkgs/os-specific/linux/jool/source.nix index 87e36fe5a9eb..600dd8a33a4a 100644 --- a/pkgs/os-specific/linux/jool/source.nix +++ b/pkgs/os-specific/linux/jool/source.nix @@ -1,11 +1,11 @@ { fetchFromGitHub }: rec { - version = "4.1.7"; + version = "4.1.8"; src = fetchFromGitHub { owner = "NICMx"; repo = "Jool"; rev = "v${version}"; - sha256 = "08z23mi6xkr6zzp0hzh1cppvl2y0177s0lnpxqbpy8jiii5fxw8f"; + hash = "sha256-b+1EM172NRnnTcbJOwBQfytIRuIr8zZBlKBBV/e7Ttg="; }; } From 890d0576c5f68852cd3d6ca81c5428122c620560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 6 Nov 2022 19:53:50 +0100 Subject: [PATCH 084/133] cross/mingw: make threading library configureable --- pkgs/development/compilers/gcc/10/default.nix | 8 ++--- pkgs/development/compilers/gcc/11/default.nix | 8 ++--- pkgs/development/compilers/gcc/12/default.nix | 8 ++--- .../development/compilers/gcc/4.8/default.nix | 6 ++-- .../development/compilers/gcc/4.9/default.nix | 6 ++-- pkgs/development/compilers/gcc/6/default.nix | 8 ++--- pkgs/development/compilers/gcc/7/default.nix | 8 ++--- pkgs/development/compilers/gcc/8/default.nix | 9 +++--- pkgs/development/compilers/gcc/9/default.nix | 8 ++--- .../compilers/gcc/common/configure-flags.nix | 3 +- .../gcc/common/extra-target-flags.nix | 4 +-- pkgs/development/compilers/go/1.18.nix | 2 +- pkgs/development/compilers/go/1.19.nix | 2 +- pkgs/top-level/all-packages.nix | 31 ++++++++++--------- 14 files changed, 57 insertions(+), 54 deletions(-) diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix index 207860b90c0e..e4cebab266e8 100644 --- a/pkgs/development/compilers/gcc/10/default.nix +++ b/pkgs/development/compilers/gcc/10/default.nix @@ -37,7 +37,7 @@ assert langGo -> langCC; assert langAda -> gnatboot != null; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -65,7 +65,7 @@ let majorVersion = "10"; ++ optional (targetPlatform.libc == "musl" && targetPlatform.isPower) ../ppc-musl.patch # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch ++ optional (buildPlatform.system == "aarch64-darwin" && targetPlatform != buildPlatform) (fetchpatch { url = "https://raw.githubusercontent.com/richard-vd/musl-cross-make/5e9e87f06fc3220e102c29d3413fbbffa456fcd6/patches/gcc-${version}/0008-darwin-aarch64-self-host-driver.patch"; @@ -179,7 +179,7 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {} && threadsCross.package != null) threadsCross.package; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -199,7 +199,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/11/default.nix b/pkgs/development/compilers/gcc/11/default.nix index 3b03e185dd86..220339c29595 100644 --- a/pkgs/development/compilers/gcc/11/default.nix +++ b/pkgs/development/compilers/gcc/11/default.nix @@ -37,7 +37,7 @@ assert langGo -> langCC; assert langAda -> gnatboot != null; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -76,7 +76,7 @@ let majorVersion = "11"; }) # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch; + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch; /* Cross-gcc settings (build == host != target) */ crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; @@ -187,7 +187,7 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {} && threadsCross.package != null) threadsCross.package; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -207,7 +207,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/12/default.nix b/pkgs/development/compilers/gcc/12/default.nix index c7fcd5475ade..78c7a12027ce 100644 --- a/pkgs/development/compilers/gcc/12/default.nix +++ b/pkgs/development/compilers/gcc/12/default.nix @@ -41,7 +41,7 @@ assert langAda -> gnatboot != null; assert !langD; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -71,7 +71,7 @@ let majorVersion = "12"; ++ optional langD ../libphobos.patch # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch; + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch; /* Cross-gcc settings (build == host != target) */ crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; @@ -180,7 +180,7 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross.package; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -201,7 +201,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix index 0bd2e5e1b91e..ba084af53ee5 100644 --- a/pkgs/development/compilers/gcc/4.8/default.nix +++ b/pkgs/development/compilers/gcc/4.8/default.nix @@ -45,7 +45,7 @@ assert stdenv.buildPlatform.isDarwin -> gnused != null; assert langGo -> langCC; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -188,7 +188,7 @@ stdenv.mkDerivation ({ ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs)) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross; preConfigure = import ../common/pre-configure.nix { inherit lib; @@ -204,7 +204,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/4.9/default.nix b/pkgs/development/compilers/gcc/4.9/default.nix index 9a977392aeb3..516cdee708d3 100644 --- a/pkgs/development/compilers/gcc/4.9/default.nix +++ b/pkgs/development/compilers/gcc/4.9/default.nix @@ -45,7 +45,7 @@ assert stdenv.buildPlatform.isDarwin -> gnused != null; assert langGo -> langCC; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -208,7 +208,7 @@ stdenv.mkDerivation ({ ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs)) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross; preConfigure = import ../common/pre-configure.nix { inherit lib; @@ -224,7 +224,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix index 8c28e9b4b466..8bd9d41f1eae 100644 --- a/pkgs/development/compilers/gcc/6/default.nix +++ b/pkgs/development/compilers/gcc/6/default.nix @@ -48,7 +48,7 @@ assert langGo -> langCC; assert langAda -> gnatboot != null; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -72,7 +72,7 @@ let majorVersion = "6"; ++ optional (targetPlatform.libc == "musl") ../libgomp-dont-force-initial-exec.patch # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch ++ optional (targetPlatform.libc == "musl" && targetPlatform.isx86_32) (fetchpatch { url = "https://git.alpinelinux.org/aports/plain/main/gcc/gcc-6.1-musl-libssp.patch?id=5e4b96e23871ee28ef593b439f8c07ca7c7eb5bb"; sha256 = "1jf1ciz4gr49lwyh8knfhw6l5gvfkwzjy90m7qiwkcbsf4a3fqn2"; @@ -217,7 +217,7 @@ stdenv.mkDerivation ({ ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs)) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross.package; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -235,7 +235,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/7/default.nix b/pkgs/development/compilers/gcc/7/default.nix index 4097d6999d7a..637be9fd971c 100644 --- a/pkgs/development/compilers/gcc/7/default.nix +++ b/pkgs/development/compilers/gcc/7/default.nix @@ -32,7 +32,7 @@ assert stdenv.buildPlatform.isDarwin -> gnused != null; assert langGo -> langCC; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -75,7 +75,7 @@ let majorVersion = "7"; ++ optional (targetPlatform.libc == "musl") ../libgomp-dont-force-initial-exec.patch # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch ++ [ ../libsanitizer-no-cyclades-9.patch ]; @@ -184,7 +184,7 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross.package; NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument"; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -203,7 +203,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix index 26591000fd8e..4eb47d00c5c2 100644 --- a/pkgs/development/compilers/gcc/8/default.nix +++ b/pkgs/development/compilers/gcc/8/default.nix @@ -32,7 +32,7 @@ assert stdenv.buildPlatform.isDarwin -> gnused != null; assert langGo -> langCC; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -59,8 +59,7 @@ let majorVersion = "8"; ++ optional (targetPlatform.libc == "musl") ../libgomp-dont-force-initial-exec.patch # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch - + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch ++ [ ../libsanitizer-no-cyclades-9.patch ]; /* Cross-gcc settings (build == host != target) */ @@ -168,7 +167,7 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross.package; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -186,7 +185,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix index b970785d38ef..4c49cdaa3e25 100644 --- a/pkgs/development/compilers/gcc/9/default.nix +++ b/pkgs/development/compilers/gcc/9/default.nix @@ -41,7 +41,7 @@ assert langGo -> langCC; assert langAda -> gnatboot != null; # threadsCross is just for MinGW -assert threadsCross != null -> stdenv.targetPlatform.isWindows; +assert threadsCross != {} -> stdenv.targetPlatform.isWindows; # profiledCompiler builds inject non-determinism in one of the compilation stages. # If turned on, we can't provide reproducible builds anymore @@ -71,7 +71,7 @@ let majorVersion = "9"; ++ optional (targetPlatform.libc == "musl" && targetPlatform.isPower) ../ppc-musl.patch # Obtain latest patch with ../update-mcfgthread-patches.sh - ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch ; /* Cross-gcc settings (build == host != target) */ @@ -180,7 +180,7 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ; - depsTargetTarget = optional (!crossStageStatic && threadsCross != null) threadsCross; + depsTargetTarget = optional (!crossStageStatic && threadsCross != {}) threadsCross.package; NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm -ldl"; @@ -198,7 +198,7 @@ stdenv.mkDerivation ({ lib stdenv targetPackages - crossStageStatic libcCross + crossStageStatic libcCross threadsCross version gmp mpfr libmpc isl diff --git a/pkgs/development/compilers/gcc/common/configure-flags.nix b/pkgs/development/compilers/gcc/common/configure-flags.nix index 09533163cbfe..8e444d54bf39 100644 --- a/pkgs/development/compilers/gcc/common/configure-flags.nix +++ b/pkgs/development/compilers/gcc/common/configure-flags.nix @@ -2,6 +2,7 @@ , targetPackages , crossStageStatic, libcCross +, threadsCross , version , gmp, mpfr, libmpc, isl @@ -86,7 +87,7 @@ let "--enable-__cxa_atexit" "--enable-long-long" "--enable-threads=${if targetPlatform.isUnix then "posix" - else if targetPlatform.isWindows then "mcf" + else if targetPlatform.isWindows then (threadsCross.model or "win32") else "single"}" "--enable-nls" ] ++ lib.optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [ diff --git a/pkgs/development/compilers/gcc/common/extra-target-flags.nix b/pkgs/development/compilers/gcc/common/extra-target-flags.nix index ad4ab6bcb4bd..4dedd333b002 100644 --- a/pkgs/development/compilers/gcc/common/extra-target-flags.nix +++ b/pkgs/development/compilers/gcc/common/extra-target-flags.nix @@ -15,7 +15,7 @@ in "-B${lib.getLib dep}${dep.libdir or "/lib"}" ]); in mkFlags libcCross langD - ++ lib.optionals (!crossStageStatic) (mkFlags threadsCross langD) + ++ lib.optionals (!crossStageStatic) (mkFlags (threadsCross.package or null) langD) ; EXTRA_LDFLAGS_FOR_TARGET = let @@ -28,6 +28,6 @@ in "-Wl,-rpath-link,${lib.getLib dep}${dep.libdir or "/lib"}" ])); in mkFlags libcCross - ++ lib.optionals (!crossStageStatic) (mkFlags threadsCross) + ++ lib.optionals (!crossStageStatic) (mkFlags (threadsCross.package or null)) ; } diff --git a/pkgs/development/compilers/go/1.18.nix b/pkgs/development/compilers/go/1.18.nix index 07a590f38845..7f6e2ce6ace8 100644 --- a/pkgs/development/compilers/go/1.18.nix +++ b/pkgs/development/compilers/go/1.18.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { depsBuildTarget = lib.optional isCross targetCC; - depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross; + depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross.package; postPatch = '' patchShebangs . diff --git a/pkgs/development/compilers/go/1.19.nix b/pkgs/development/compilers/go/1.19.nix index 0d977ec3af3a..a406b21458dc 100644 --- a/pkgs/development/compilers/go/1.19.nix +++ b/pkgs/development/compilers/go/1.19.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { depsBuildTarget = lib.optional isCross targetCC; - depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross; + depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross.package; postPatch = '' patchShebangs . diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8fe5c03a38c8..d6220b12f68d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13856,7 +13856,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; isl = if !stdenv.isDarwin then isl_0_14 else null; cloog = if !stdenv.isDarwin then cloog else null; @@ -13870,7 +13870,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; isl = if !stdenv.isDarwin then isl_0_11 else null; @@ -13887,7 +13887,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; # gcc 10 is too strict to cross compile gcc <= 8 stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv; @@ -13906,7 +13906,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; # gcc 10 is too strict to cross compile gcc <= 8 stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv; @@ -13921,7 +13921,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; # gcc 10 is too strict to cross compile gcc <= 8 stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv; @@ -13936,7 +13936,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; isl = if !stdenv.isDarwin then isl_0_20 else null; })); @@ -13948,7 +13948,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; isl = if !stdenv.isDarwin then isl_0_20 else null; })); @@ -13960,7 +13960,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; isl = if !stdenv.isDarwin then isl_0_20 else null; })); @@ -13972,7 +13972,7 @@ with pkgs; profiledCompiler = false; libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; - threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null; + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else {}; isl = if !stdenv.isDarwin then isl_0_20 else null; })); @@ -15413,7 +15413,7 @@ with pkgs; # want the C++ library to be explicitly chosen by the caller, and null by # default. libcxx ? null - , extraPackages ? lib.optional (cc.isGNU or false && stdenv.targetPlatform.isMinGW) threadsCross + , extraPackages ? lib.optional (cc.isGNU or false && stdenv.targetPlatform.isMinGW) threadsCross.package , nixSupport ? {} , ... } @ extraArgs: @@ -19140,10 +19140,13 @@ with pkgs; libcCross = assert stdenv.targetPlatform != stdenv.buildPlatform; libcCrossChooser stdenv.targetPlatform.libc; - threadsCross = - if stdenv.targetPlatform.isMinGW && !(stdenv.targetPlatform.useLLVM or false) - then targetPackages.windows.mcfgthreads or windows.mcfgthreads - else null; + threadsCross = if stdenv.targetPlatform.isMinGW && !(stdenv.targetPlatform.useLLVM or false) + then { + # other possible values: win32 or posix + model = "mcf"; + # For win32 or posix set this to null + package = targetPackages.windows.mcfgthreads or windows.mcfgthreads; + } else {}; wasilibc = callPackage ../development/libraries/wasilibc { stdenv = crossLibcStdenv; From b08b69c5a11c2f21e54c3e9878e5812cb03c7f13 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 11:57:32 +0000 Subject: [PATCH 085/133] gifski: 1.7.2 -> 1.8.0 --- pkgs/tools/graphics/gifski/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/gifski/default.nix b/pkgs/tools/graphics/gifski/default.nix index 3c7ae47991bc..7751ecdf25eb 100644 --- a/pkgs/tools/graphics/gifski/default.nix +++ b/pkgs/tools/graphics/gifski/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "gifski"; - version = "1.7.2"; + version = "1.8.0"; src = fetchFromGitHub { owner = "ImageOptim"; repo = "gifski"; rev = version; - sha256 = "sha256-Hlowm+wtj3bJBGJd/JndOaGC6iSdab3sURUjzshqh+k="; + sha256 = "sha256-KAm4ng+FIMmhHAxoFNNVo48GVbW3c+raX6Hcab+KCf8="; }; - cargoSha256 = "sha256-Ir3u57nCBgzEuwaOzx8z71cxXmrIJLkURhuwFRoB2Xw="; + cargoSha256 = "sha256-xbE1Olf0lh6o4kF9ubZhdnTbZsJcd5TvLf7P1nWLf9Q="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; From 5a04b70e1463d1ecf18ba819c1b9b6db43c56320 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 14 Nov 2022 12:57:48 +0100 Subject: [PATCH 086/133] jool-cli: divert man pages --- pkgs/os-specific/linux/jool/cli.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/jool/cli.nix b/pkgs/os-specific/linux/jool/cli.nix index 4c18f478798e..dbcf9522e723 100644 --- a/pkgs/os-specific/linux/jool/cli.nix +++ b/pkgs/os-specific/linux/jool/cli.nix @@ -10,6 +10,11 @@ stdenv.mkDerivation { src = sourceAttrs.src; + outputs = [ + "out" + "man" + ]; + nativeBuildInputs = [ autoreconfHook pkg-config ]; buildInputs = [ libnl iptables ]; From af9a4dd35eb387c527cc04e6cc86c4607e532082 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 08:09:37 +0000 Subject: [PATCH 087/133] cargo-public-api: 0.21.0 -> 0.22.0 --- pkgs/development/tools/rust/cargo-public-api/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-public-api/default.nix b/pkgs/development/tools/rust/cargo-public-api/default.nix index d3b1a1f7d263..d248b091bba6 100644 --- a/pkgs/development/tools/rust/cargo-public-api/default.nix +++ b/pkgs/development/tools/rust/cargo-public-api/default.nix @@ -8,14 +8,14 @@ rustPlatform.buildRustPackage rec { pname = "cargo-public-api"; - version = "0.21.0"; + version = "0.22.0"; src = fetchCrate { inherit pname version; - sha256 = "sha256-wrNooeHFgIPJkjCeH4PoaaRjsukg2ASbioD/TTSNNgk="; + sha256 = "sha256-OjKvp3LsNBIIkpq15BAi9LqxbLgormkiW/lMqdPefZM="; }; - cargoSha256 = "sha256-2/yTRbGTE72PhSFf4I/6y0B6z9qYM5dwFmk5VCWU0mU="; + cargoSha256 = "sha256-TUXyWO1rNngv1Tli0jeaOHwaBJnh7LnXe+lNSR+7rfI="; nativeBuildInputs = [ pkg-config ]; From f23a62a5dccf7bc7e3f8413e3a8146a2f739f75f Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 10 Nov 2022 12:29:57 -0500 Subject: [PATCH 088/133] kubernetes-helm: 3.10.1 -> 3.10.2 --- pkgs/applications/networking/cluster/helm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix index 5ec74e95e05c..bfc05e38a679 100644 --- a/pkgs/applications/networking/cluster/helm/default.nix +++ b/pkgs/applications/networking/cluster/helm/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "kubernetes-helm"; - version = "3.10.1"; + version = "3.10.2"; src = fetchFromGitHub { owner = "helm"; repo = "helm"; rev = "v${version}"; - sha256 = "sha256-OyU97zyN7fZMZAD2BEp8TW2z2E9Rl/yeiVkQaJ1GWZk="; + sha256 = "sha256-ly48zSsi+dV4te68LX8NtaJ9eLC46sSakExR2a+3b5U="; }; vendorSha256 = "sha256-vyHT/N5lat/vqM2jK4Q+jJOtZpS52YCYGcJqfa5e0KM="; From e5da3f3aef4b692fafc270568449436ec70071b6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 10 Nov 2022 14:32:28 +0000 Subject: [PATCH 089/133] v2ray-geoip: 202211030059 -> 202211100058 --- pkgs/data/misc/v2ray-geoip/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/data/misc/v2ray-geoip/default.nix b/pkgs/data/misc/v2ray-geoip/default.nix index b6b4af002d5c..52183660ad04 100644 --- a/pkgs/data/misc/v2ray-geoip/default.nix +++ b/pkgs/data/misc/v2ray-geoip/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "v2ray-geoip"; - version = "202211030059"; + version = "202211100058"; src = fetchFromGitHub { owner = "v2fly"; repo = "geoip"; - rev = "b7d16c8aea9bbe2555fe4aabddd1fb86f9785229"; - sha256 = "sha256-1WxqD9a0uJY+/DiFwESkEceN2EJvDl5qhLg4oEs5uSA="; + rev = "6fcf11f003829b16b534a710a26549b741e81311"; + sha256 = "sha256-XlqfXRJa4xnw8lqC94TfRcXVW/8L7hrqENfC7A7rTpI="; }; installPhase = '' From 232a9b93b2dc6f71194be6b00bb3a9f8dfe434ee Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 05:15:35 +0000 Subject: [PATCH 090/133] velero: 1.9.2 -> 1.9.3 --- pkgs/applications/networking/cluster/velero/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/velero/default.nix b/pkgs/applications/networking/cluster/velero/default.nix index 49d9700feace..8bb4dc5ad80d 100644 --- a/pkgs/applications/networking/cluster/velero/default.nix +++ b/pkgs/applications/networking/cluster/velero/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "velero"; - version = "1.9.2"; + version = "1.9.3"; src = fetchFromGitHub { owner = "vmware-tanzu"; repo = "velero"; rev = "v${version}"; - sha256 = "sha256-xhsHFb3X1oM68xnYiVEa0eZr7VFdUCkNzeyvci6wb9g="; + sha256 = "sha256-UN1nxzcoaUrqmFAJ6LQ+Ro6Ywn/mG7J+MEJIUbpBiK4="; }; ldflags = [ @@ -20,7 +20,7 @@ buildGoModule rec { "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=none" ]; - vendorSha256 = "sha256-l8srlzoCcBZFOwVs7veQ1RvqWRIqQAaZLM/2CbNHN50="; + vendorSha256 = "sha256-QSR8nSKSKaFyFC6yik3f44mdNvSBgE4bFIGttuJ5oRM="; excludedPackages = [ "issue-template-gen" "release-tools" "v1" "velero-restic-restore-helper" ]; From f955ad1647fdaf66d9a929cbd101ac93b2d6a60c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 10 Nov 2022 01:51:56 +0000 Subject: [PATCH 091/133] mutagen-compose: 0.16.0 -> 0.16.1 --- pkgs/tools/misc/mutagen-compose/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/mutagen-compose/default.nix b/pkgs/tools/misc/mutagen-compose/default.nix index 669ad1d3aea2..8c110b89bbd2 100644 --- a/pkgs/tools/misc/mutagen-compose/default.nix +++ b/pkgs/tools/misc/mutagen-compose/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "mutagen-compose"; - version = "0.16.0"; + version = "0.16.1"; src = fetchFromGitHub { owner = "mutagen-io"; repo = pname; rev = "v${version}"; - sha256 = "sha256-fr4Emw8S7Uu0I08Yxha+hzZF54cJZ8UQgWF4GGvWDu0="; + sha256 = "sha256-tH1aYMjKsSMWls53IgsqtAgMMLUvotb5zGlAmV3dlvQ="; }; - vendorSha256 = "sha256-P6FnDp+nEEZM/7uvSb9Zkrn2zLha816A82xN2AFNgWc="; + vendorSha256 = "sha256-nRH26ty3JVSz2ZnrZ+owTj2fponnvYkrASQxcJXm8aE="; doCheck = false; From 36ce474508e9de1209ca9857907a66fcbc9d27e7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 11:30:53 +0000 Subject: [PATCH 092/133] atmos: 1.10.4 -> 1.13.1 --- pkgs/applications/networking/cluster/atmos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/atmos/default.nix b/pkgs/applications/networking/cluster/atmos/default.nix index a38f6463e404..16635f17600f 100644 --- a/pkgs/applications/networking/cluster/atmos/default.nix +++ b/pkgs/applications/networking/cluster/atmos/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "atmos"; - version = "1.10.4"; + version = "1.13.1"; src = fetchFromGitHub { owner = "cloudposse"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ZNoucLjvj5nZxIDbzoAXtIx3TAg405+CaKBSLmC1PNM="; + sha256 = "sha256-iL8quRwW4idY880aEM2rwXRh6JXIvMzlfBDcz2TgHjw="; }; - vendorSha256 = "sha256-j4KvGLnFm3P9EUXxfRgsandKc0lJMs9ntBQacsEha2w="; + vendorSha256 = "sha256-pr33Ya6cg3EKIVTBTY8DD0lyTMPF1FcRQK2jdyPiE44="; ldflags = [ "-s" "-w" "-X github.com/cloudposse/atmos/cmd.Version=v${version}" ]; From 84da129f182579be04935e88dc96e77358552ce4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 11 Nov 2022 22:22:28 +0000 Subject: [PATCH 093/133] pipenv: 2022.10.25 -> 2022.11.11 --- pkgs/development/tools/pipenv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pipenv/default.nix b/pkgs/development/tools/pipenv/default.nix index 63ab2100f6d0..ae314347ff4f 100644 --- a/pkgs/development/tools/pipenv/default.nix +++ b/pkgs/development/tools/pipenv/default.nix @@ -23,11 +23,11 @@ let in buildPythonApplication rec { pname = "pipenv"; - version = "2022.10.25"; + version = "2022.11.11"; src = fetchPypi { inherit pname version; - sha256 = "sha256-PjnI1aK8qrMkVSoYV2EFwqNeAguzEf9T106stYuFGFM="; + sha256 = "sha256-5p9kR36DWV87iR4eWLGxNV1MWTQy5jsHjcG+m9k8UGY="; }; LC_ALL = "en_US.UTF-8"; From 5bc1b01a403e071500a3b0659364fb6ee20391e1 Mon Sep 17 00:00:00 2001 From: Markus Partheymueller Date: Mon, 14 Nov 2022 14:20:58 +0100 Subject: [PATCH 094/133] boot.loader.systemd-boot: add extraInstallCommands option (#200715) --- .../boot/loader/systemd-boot/systemd-boot.nix | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix index a9d43d027e01..8cb7c7b8e47b 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix @@ -57,6 +57,12 @@ let --disallow-untyped-defs \ $out ''; + + finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" '' + #!${pkgs.runtimeShell} + ${checkedSystemdBootBuilder} "$@" + ${cfg.extraInstallCommands} + ''; in { imports = @@ -99,6 +105,22 @@ in { ''; }; + extraInstallCommands = mkOption { + default = ""; + example = '' + default_cfg=$(cat /boot/loader/loader.conf | grep default | awk '{print $2}') + init_value=$(cat /boot/loader/entries/$default_cfg | grep init= | awk '{print $2}') + sed -i "s|@INIT@|$init_value|g" /boot/custom/config_with_placeholder.conf + ''; + type = types.lines; + description = lib.mdDoc '' + Additional shell commands inserted in the bootloader installer + script after generating menu entries. It can be used to expand + on extra boot entries that cannot incorporate certain pieces of + information (such as the resulting `init=` kernel parameter). + ''; + }; + consoleMode = mkOption { default = "keep"; @@ -277,7 +299,7 @@ in { ]; system = { - build.installBootLoader = checkedSystemdBootBuilder; + build.installBootLoader = finalSystemdBootBuilder; boot.loader.id = "systemd-boot"; From 4b14567454aa524f6393ba2810930f54e47e3b33 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 02:58:08 +0000 Subject: [PATCH 095/133] topicctl: 1.6.1 -> 1.7.0 --- pkgs/tools/misc/topicctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/topicctl/default.nix b/pkgs/tools/misc/topicctl/default.nix index 213a44488881..26d7ac3971d7 100644 --- a/pkgs/tools/misc/topicctl/default.nix +++ b/pkgs/tools/misc/topicctl/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "topicctl"; - version = "1.6.1"; + version = "1.7.0"; src = fetchFromGitHub { owner = "segmentio"; repo = "topicctl"; rev = "v${version}"; - sha256 = "sha256-RbcycZPTZFxvtgwcjZ8d0LUiSzBtMyFxyC0AcwKGlv4="; + sha256 = "sha256-eHFqczZtJWcZ4ZVOzpCUlVoCJ7wjyWNpFfiZ9MaJHOI="; }; - vendorSha256 = "sha256-/f1uzil3FtKLByFI5qp2Tc52/lajCbx5sNBRRJzjWN8="; + vendorSha256 = "sha256-50UDRf8S9Yl0zwGOrFLa5L1TmSKF4RQ/ju0tnFzs56M="; ldflags = [ "-X main.BuildVersion=${version}" From 88f2d44dc112d156d1b5063f1e27ff2a3d944a01 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 14 Nov 2022 14:03:19 +0100 Subject: [PATCH 096/133] nix-update: 0.7.0 -> 0.8.0 https://github.com/Mic92/nix-update/releases/tag/0.8.0 --- pkgs/tools/package-management/nix-update/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/package-management/nix-update/default.nix b/pkgs/tools/package-management/nix-update/default.nix index 73e6cbd27d1e..036cc53efc99 100644 --- a/pkgs/tools/package-management/nix-update/default.nix +++ b/pkgs/tools/package-management/nix-update/default.nix @@ -2,24 +2,24 @@ , buildPythonApplication , fetchFromGitHub , nix -, nix-prefetch , nixpkgs-fmt , nixpkgs-review }: buildPythonApplication rec { pname = "nix-update"; - version = "0.7.0"; + version = "0.8.0"; + format = "setuptools"; src = fetchFromGitHub { owner = "Mic92"; repo = pname; rev = version; - sha256 = "sha256-q3kC+CJ0+NRz3rqHFuJkiI4RCSAXZczqDiyfQB2CrFQ="; + sha256 = "sha256-EwEGHiJxdubecuXMuBrk6pDld3mNl2ortwlIa0Cdgu0="; }; makeWrapperArgs = [ - "--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch nixpkgs-fmt nixpkgs-review ]) + "--prefix" "PATH" ":" (lib.makeBinPath [ nix nixpkgs-fmt nixpkgs-review ]) ]; checkPhase = '' From b676b764e7de2ff56b48c87bee83e879154bd465 Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Mon, 14 Nov 2022 07:39:25 +0100 Subject: [PATCH 097/133] rustic-rs: init at 0.3.2 --- pkgs/tools/backup/rustic-rs/default.nix | 36 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/tools/backup/rustic-rs/default.nix diff --git a/pkgs/tools/backup/rustic-rs/default.nix b/pkgs/tools/backup/rustic-rs/default.nix new file mode 100644 index 000000000000..4d98fce5c60a --- /dev/null +++ b/pkgs/tools/backup/rustic-rs/default.nix @@ -0,0 +1,36 @@ +{ lib, fetchFromGitHub, rustPlatform, stdenv, darwin, installShellFiles }: + +rustPlatform.buildRustPackage rec { + pname = "rustic-rs"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "rustic-rs"; + repo = "rustic"; + rev = "v${version}"; + hash = "sha256-MGFtJUfPK6IH3w8xe/RZaXS+QDIVS3jFSnf4VYiSLM4="; + }; + + cargoHash = "sha256-siJrqL7HjUQvcyXpUN5rQWNeQNBc+693N1xTSvlOixI="; + + nativeBuildInputs = [ installShellFiles ]; + + buildInputs = lib.optionals stdenv.isDarwin [ darwin.Security ]; + + postInstall = '' + for shell in {ba,fi,z}sh; do + $out/bin/rustic completions $shell > rustic.$shell + done + + installShellCompletion rustic.{ba,fi,z}sh + ''; + + meta = { + homepage = "https://github.com/rustic-rs/rustic"; + changelog = "https://github.com/rustic-rs/rustic/blob/${src.rev}/changelog/${version}.txt"; + description = "fast, encrypted, deduplicated backups powered by pure Rust"; + platforms = lib.platforms.linux ++ lib.platforms.darwin; + license = [ lib.licenses.mit lib.licenses.asl20 ]; + maintainers = [ lib.maintainers.nobbz ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a70dd9e0494c..dd8067ebf796 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24433,6 +24433,8 @@ with pkgs; roon-server = callPackage ../servers/roon-server { }; + rustic-rs = callPackage ../tools/backup/rustic-rs { }; + supervise = callPackage ../tools/system/supervise { }; spamassassin = callPackage ../servers/mail/spamassassin { }; From f5ecd16cc8bea85e8adbb49b3ec992998662c9c4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 2 Nov 2022 15:55:27 +0000 Subject: [PATCH 098/133] syncstorage-rs: 0.12.4 -> 0.12.5 --- pkgs/servers/syncstorage-rs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/syncstorage-rs/default.nix b/pkgs/servers/syncstorage-rs/default.nix index 460f412a7f83..e0b836ae851d 100644 --- a/pkgs/servers/syncstorage-rs/default.nix +++ b/pkgs/servers/syncstorage-rs/default.nix @@ -21,13 +21,13 @@ in rustPlatform.buildRustPackage rec { pname = "syncstorage-rs"; - version = "0.12.4"; + version = "0.12.5"; src = fetchFromGitHub { owner = "mozilla-services"; repo = pname; rev = version; - hash = "sha256-X+AtorrDjxPYRmG1kVumF857mLFfHVUmfOntUbO7J1U="; + hash = "sha256-rayJvJ8+y1mw2BEKuaZqGnsIqtVKgBoFkINntRLtTLs="; }; nativeBuildInputs = [ @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { --prefix PATH : ${lib.makeBinPath [ pyFxADeps ]} ''; - cargoSha256 = "sha256-mCEQELIi4baPpQOO0Ya51bDfw24I/9tZIRjic6OzMF4="; + cargoSha256 = "sha256-FUWyR2mfXHyQ/WdyyV4/pIniBV9pr80WwpFA4c8D1UY="; buildFeatures = [ "grpcio/openssl" ]; From 07e5701aca54f1b5cc5f517ac259d4bcd4208d42 Mon Sep 17 00:00:00 2001 From: pennae Date: Mon, 14 Nov 2022 15:30:24 +0100 Subject: [PATCH 099/133] nixos/manual: re-add mention of mdDoc marker --- .../development/option-declarations.section.md | 13 +++++++------ .../development/option-declarations.section.xml | 16 +++++++++------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/nixos/doc/manual/development/option-declarations.section.md b/nixos/doc/manual/development/option-declarations.section.md index 0f5673dd4d58..88617ab1920a 100644 --- a/nixos/doc/manual/development/option-declarations.section.md +++ b/nixos/doc/manual/development/option-declarations.section.md @@ -11,7 +11,7 @@ options = { type = type specification; default = default value; example = example value; - description = "Description for use in the NixOS manual."; + description = lib.mdDoc "Description for use in the NixOS manual."; }; }; ``` @@ -59,8 +59,9 @@ The function `mkOption` accepts the following arguments. : A textual description of the option, in [Nixpkgs-flavored Markdown]( https://nixos.org/nixpkgs/manual/#sec-contributing-markup) format, that will be included in the NixOS manual. During the migration process from DocBook - to CommonMark the description may also be written in DocBook, but this is - discouraged. + it is necessary to mark descriptions written in CommonMark with `lib.mdDoc`. + The description may still be written in DocBook (without any marker), but this + is discouraged and will be deprecated in the future. ## Utility functions for common option patterns {#sec-option-declarations-util} @@ -83,7 +84,7 @@ lib.mkOption { type = lib.types.bool; default = false; example = true; - description = "Whether to enable magic."; + description = lib.mdDoc "Whether to enable magic."; } ``` @@ -116,7 +117,7 @@ lib.mkOption { type = lib.types.package; default = pkgs.hello; defaultText = lib.literalExpression "pkgs.hello"; - description = "The hello package to use."; + description = lib.mdDoc "The hello package to use."; } ``` @@ -132,7 +133,7 @@ lib.mkOption { default = pkgs.ghc; defaultText = lib.literalExpression "pkgs.ghc"; example = lib.literalExpression "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])"; - description = "The GHC package to use."; + description = lib.mdDoc "The GHC package to use."; } ``` diff --git a/nixos/doc/manual/from_md/development/option-declarations.section.xml b/nixos/doc/manual/from_md/development/option-declarations.section.xml index 69163853b627..0932a51a18cd 100644 --- a/nixos/doc/manual/from_md/development/option-declarations.section.xml +++ b/nixos/doc/manual/from_md/development/option-declarations.section.xml @@ -12,7 +12,7 @@ options = { type = type specification; default = default value; example = example value; - description = "Description for use in the NixOS manual."; + description = lib.mdDoc "Description for use in the NixOS manual."; }; }; @@ -98,9 +98,11 @@ options = { A textual description of the option, in Nixpkgs-flavored Markdown format, that will be included in the NixOS - manual. During the migration process from DocBook to - CommonMark the description may also be written in DocBook, but - this is discouraged. + manual. During the migration process from DocBook it is + necessary to mark descriptions written in CommonMark with + lib.mdDoc. The description may still be + written in DocBook (without any marker), but this is + discouraged and will be deprecated in the future. @@ -132,7 +134,7 @@ lib.mkOption { type = lib.types.bool; default = false; example = true; - description = "Whether to enable magic."; + description = lib.mdDoc "Whether to enable magic."; }
@@ -182,7 +184,7 @@ lib.mkOption { type = lib.types.package; default = pkgs.hello; defaultText = lib.literalExpression "pkgs.hello"; - description = "The hello package to use."; + description = lib.mdDoc "The hello package to use."; } @@ -197,7 +199,7 @@ lib.mkOption { default = pkgs.ghc; defaultText = lib.literalExpression "pkgs.ghc"; example = lib.literalExpression "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])"; - description = "The GHC package to use."; + description = lib.mdDoc "The GHC package to use."; }
From b8ba78f1d614e9faa981c6d74e83aff0c9cf66cf Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Mon, 14 Nov 2022 09:55:35 -0500 Subject: [PATCH 100/133] checkov: Fix build checkov build has been broken since https://hydra.nixos.org/build/187798638 due to a minor incompatibility with flake8 5.x on Python 3.8+; this remedies it. Upstream does not notice this issue presently since they only run unit tests against Python 3.7, and positional-only arguments did not appear till 3.8. See https://github.com/PyCQA/flake8/pull/1490/commits/f98d52a398cd2ff5cad270fdee9e37b62444550a for details on the change. --- .../tools/analysis/checkov/default.nix | 4 +++ .../analysis/checkov/flake8-compat-5.x.patch | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/tools/analysis/checkov/flake8-compat-5.x.patch diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 8a239b4c37f7..b89a9695939c 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -42,6 +42,10 @@ buildPythonApplication rec { hash = "sha256-dXpgm9S++jtBhuzX9db8Pm5LF6Qb4isXx5uyOGdWGUc="; }; + patches = [ + ./flake8-compat-5.x.patch + ]; + nativeBuildInputs = with py.pkgs; [ pythonRelaxDepsHook setuptools-scm diff --git a/pkgs/development/tools/analysis/checkov/flake8-compat-5.x.patch b/pkgs/development/tools/analysis/checkov/flake8-compat-5.x.patch new file mode 100644 index 000000000000..9bb019292536 --- /dev/null +++ b/pkgs/development/tools/analysis/checkov/flake8-compat-5.x.patch @@ -0,0 +1,25 @@ +diff --git a/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py b/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py +index 1ad762aed..c91078dcf 100644 +--- a/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py ++++ b/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py +@@ -1,6 +1,7 @@ + import ast + import os + ++import flake8 + from flake8.options.manager import OptionManager + + from flake8_plugins.flake8_class_attributes_plugin.flake8_class_attributes.checker import ClassAttributesChecker +@@ -17,7 +18,11 @@ def run_validator_for_test_file(filename, max_annotations_complexity=None, + raw_content = file_handler.read() + tree = ast.parse(raw_content) + +- options = OptionManager('flake8_class_attributes_order', '0.1.3') ++ options = OptionManager( ++ version=flake8.__version__, ++ plugin_versions='flake8_class_attributes_order: 0.1.3', ++ parents=[], ++ ) + options.use_class_attributes_order_strict_mode = strict_mode + options.class_attributes_order = attributes_order + ClassAttributesChecker.parse_options(options) From 41c56cadffe23835e60489f846675cb9e3c0a804 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Mon, 14 Nov 2022 10:08:52 -0500 Subject: [PATCH 101/133] checkov: Fix exe not executable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not really sure why it’s not—it’s executable in the Git repo and is listed properly as a script in setup.py. --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index b89a9695939c..105080ce2230 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -141,6 +141,10 @@ buildPythonApplication rec { "checkov" ]; + postInstall = '' + chmod +x $out/bin/checkov + ''; + meta = with lib; { description = "Static code analysis tool for infrastructure-as-code"; homepage = "https://github.com/bridgecrewio/checkov"; From cecc553095ea244e516003f7e0714669afb4af70 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 14 Nov 2022 16:47:51 +0100 Subject: [PATCH 102/133] schildichat-desktop: copy sqlcipher fix from element-desktop (#201179) --- .../instant-messengers/schildichat/schildichat-desktop.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix index 880981737d59..0573c7231e27 100644 --- a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix @@ -14,6 +14,7 @@ , Security , AppKit , CoreServices +, sqlcipher }: let @@ -87,7 +88,9 @@ stdenv.mkDerivation rec { done # executable wrapper + # LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102 makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ + --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \ --add-flags "$out/share/element/electron" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" From 9aad525eac929e5c1e5285226f8cb5a6981335b9 Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Mon, 14 Nov 2022 17:06:08 +0100 Subject: [PATCH 103/133] vscode-extensions.timonwong.shellcheck: 0.193 -> 0.26.3 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index e866c25e29d0..364b9e237fa7 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2478,8 +2478,8 @@ let mktplcRef = { name = "shellcheck"; publisher = "timonwong"; - version = "0.19.3"; - sha256 = "0l8fbim19jgcdgxxgidnhdczxvhls920vrffwrac8k1y34lgfl3v"; + version = "0.26.3"; + sha256 = "GlyOLc2VrRnA50MkaG83qa0yLUyJYwueqEO+ZeAStYs="; }; nativeBuildInputs = [ jq moreutils ]; postInstall = '' From bdd39e5757d858bd6ea58ed65b4a2e52c8ed11ca Mon Sep 17 00:00:00 2001 From: Anna Aurora Date: Mon, 14 Nov 2022 14:12:26 +0100 Subject: [PATCH 104/133] =?UTF-8?q?lollypop:=201.4.24=20=E2=86=92=201.4.36?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/audio/lollypop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix index 9557aa65c19a..019196d74eb7 100644 --- a/pkgs/applications/audio/lollypop/default.nix +++ b/pkgs/applications/audio/lollypop/default.nix @@ -25,7 +25,7 @@ python3.pkgs.buildPythonApplication rec { pname = "lollypop"; - version = "1.4.34"; + version = "1.4.36"; format = "other"; doCheck = false; @@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec { url = "https://gitlab.gnome.org/World/lollypop"; rev = "refs/tags/${version}"; fetchSubmodules = true; - sha256 = "sha256-nkrnmpM/mVrXVGkfwzmbSxsO1L890LgsjxSXAYjevCs="; + sha256 = "sha256-Ka/rYgWGuCQTzguJiyQpY5SPC1iB5XOVy/Gezj+DYpk="; }; nativeBuildInputs = [ From ec106b98ddaf404474002d3ff32472646fdcafd2 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Mon, 14 Nov 2022 18:19:56 +0100 Subject: [PATCH 105/133] inetutils: fix cross I guess with #181764 this might've broken for cross. Perl propagates libxcrypt, but is only listed in nativeBuildInputs. List libxcrypt in buildInputs to ensure it's picked up properly. --- pkgs/tools/networking/inetutils/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/inetutils/default.nix b/pkgs/tools/networking/inetutils/default.nix index 57ed93d8130e..0f31ef01cf22 100644 --- a/pkgs/tools/networking/inetutils/default.nix +++ b/pkgs/tools/networking/inetutils/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchurl, ncurses, perl, help2man , apparmorRulesFromClosure +, libxcrypt }: stdenv.mkDerivation rec { @@ -18,8 +19,9 @@ stdenv.mkDerivation rec { ./inetutils-1_9-PATH_PROCNET_DEV.patch ]; + strictDeps = true; nativeBuildInputs = [ help2man perl /* for `whois' */ ]; - buildInputs = [ ncurses /* for `talk' */ ]; + buildInputs = [ ncurses /* for `talk' */ libxcrypt ]; # Don't use help2man if cross-compiling # https://lists.gnu.org/archive/html/bug-sed/2017-01/msg00001.html From 8dfd6ce864367541cb250b6d4b8d9850438d3c6b Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 14 Nov 2022 12:21:09 -0500 Subject: [PATCH 106/133] difftastic: 0.37.0 -> 0.38.0 --- pkgs/tools/text/difftastic/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix index ec8b44648e2f..eb54d8ee6950 100644 --- a/pkgs/tools/text/difftastic/default.nix +++ b/pkgs/tools/text/difftastic/default.nix @@ -9,13 +9,13 @@ rustPlatform.buildRustPackage rec { pname = "difftastic"; - version = "0.37.0"; + version = "0.38.0"; src = fetchFromGitHub { owner = "wilfred"; repo = pname; rev = version; - sha256 = "sha256-LwDoIvhZj/1fHg2eWgadwTcegeOKPpY8aCAugLfKtDE="; + sha256 = "sha256-NhuFyJvXk3N9G6LedAPwJIDdd0CfFs1rjYmC1tJTqB8="; }; depsExtraArgs = { @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { popd ''; }; - cargoSha256 = "sha256-u4zM4mmYxy1o1FXQ8SjLJB9YFhYI5SbUZH2Wca7Kjmg="; + cargoSha256 = "sha256-0XqLdjF9O8CRVyq7j7IvOqCUB0oCV2P703BcWwSlIx8="; passthru.tests.version = testers.testVersion { package = difftastic; }; From 259f8aaa8b71315d9c4cdd8934c22c1dc852361c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Nov 2022 17:54:25 +0000 Subject: [PATCH 107/133] sqlfluff: 1.4.1 -> 1.4.2 --- pkgs/development/tools/database/sqlfluff/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/database/sqlfluff/default.nix b/pkgs/development/tools/database/sqlfluff/default.nix index 9618873410e5..340c471c2727 100644 --- a/pkgs/development/tools/database/sqlfluff/default.nix +++ b/pkgs/development/tools/database/sqlfluff/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "sqlfluff"; - version = "1.4.1"; + version = "1.4.2"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-5QWjlidDtf0OWQ9sdS08bCX5XV41igWmPr20gwbumQU="; + hash = "sha256-B1tqL8bc+mWEjQrS4lQM55/ahOeUyuE8VBtk6QMj6Mk="; }; propagatedBuildInputs = with python3.pkgs; [ From 6edfa4f6954654cab9856880c535b1179247aacb Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Mon, 14 Nov 2022 19:03:36 +0100 Subject: [PATCH 108/133] vimPlugins: update --- .../editors/vim/plugins/generated.nix | 786 +++++++++--------- 1 file changed, 393 insertions(+), 393 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index ad02db202540..1a3b7430b609 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -77,12 +77,12 @@ final: prev: FTerm-nvim = buildVimPluginFrom2Nix { pname = "FTerm.nvim"; - version = "2022-07-21"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "numToStr"; repo = "FTerm.nvim"; - rev = "efd10656724a269e21ba68d65e2b058a4e606424"; - sha256 = "1wfdw5gm4hnar9w7z4v1s14zm7g7pd6a3b54r4gsdwgr107ql7md"; + rev = "d1320892cc2ebab472935242d9d992a2c9570180"; + sha256 = "1rhizcrkas40p6gw420ljx8p4q3b206d96cx8sc67gdcmarl0avw"; }; meta.homepage = "https://github.com/numToStr/FTerm.nvim/"; }; @@ -281,12 +281,12 @@ final: prev: SchemaStore-nvim = buildVimPluginFrom2Nix { pname = "SchemaStore.nvim"; - version = "2022-11-03"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "b0o"; repo = "SchemaStore.nvim"; - rev = "6d856dc67cb85539fae976cce268e853f14079e7"; - sha256 = "09xqfahq1i59bw7fpxh6g16g1j9habsxi68v8ghr1za5lspki768"; + rev = "f92c7fce6a8ddb5b5b906d5cf7a2985b4741b9a8"; + sha256 = "07sjzaxa85zzxskq1247124x9519pz5g2s78n2h7z4hkixrd6g63"; }; meta.homepage = "https://github.com/b0o/SchemaStore.nvim/"; }; @@ -341,12 +341,12 @@ final: prev: SpaceVim = buildVimPluginFrom2Nix { pname = "SpaceVim"; - version = "2022-11-02"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "SpaceVim"; repo = "SpaceVim"; - rev = "49e0e52d512a370b53f315fcb83e0e84ebba4d86"; - sha256 = "19jmaabbwp8vl75ldm18vkl76xcgwfx0krihah52sdimfjy1az8i"; + rev = "885bc3863e16ec542ce6e17172f0ca05059f61ab"; + sha256 = "12bws3vk8ljzvwmxw8pckx4cmys37jsch0hfpjlkfdc5b23p17y8"; }; meta.homepage = "https://github.com/SpaceVim/SpaceVim/"; }; @@ -437,12 +437,12 @@ final: prev: YouCompleteMe = buildVimPluginFrom2Nix { pname = "YouCompleteMe"; - version = "2022-11-01"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "ycm-core"; repo = "YouCompleteMe"; - rev = "728b47728c31bcbc92fbc196c00230d601ca2a15"; - sha256 = "0mlhaxnafi6wdyxhjiy2jdpf7xqwlxh5cqjk658znb05x4kix0pp"; + rev = "1702de03d551317a1bcd94ded2972857ebc16d74"; + sha256 = "03x3h95lhfqgfhdr2l0fbb8acyfymvixpv0x0sxvnlz70560zi0y"; fetchSubmodules = true; }; meta.homepage = "https://github.com/ycm-core/YouCompleteMe/"; @@ -486,12 +486,12 @@ final: prev: aerial-nvim = buildVimPluginFrom2Nix { pname = "aerial.nvim"; - version = "2022-11-02"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "stevearc"; repo = "aerial.nvim"; - rev = "f15e49cbc0da8840531ed0bddf67735c604994d6"; - sha256 = "1lkyl27a3pn7lwcljpyy0q76c7f66jcik1nlbfq5nfr52h040061"; + rev = "6146e0aaea0c42f8cc151827a0ac83408d11b639"; + sha256 = "1fyvly5z420gxifz683jpxmw0l68bn11qrsg04b1p07g2xhjrvjd"; fetchSubmodules = true; }; meta.homepage = "https://github.com/stevearc/aerial.nvim/"; @@ -535,12 +535,12 @@ final: prev: ale = buildVimPluginFrom2Nix { pname = "ale"; - version = "2022-10-31"; + version = "2022-11-07"; src = fetchFromGitHub { owner = "dense-analysis"; repo = "ale"; - rev = "483d056528543df3349299db1ecf4aecfd0d7f44"; - sha256 = "0h5cx4sn4p19mk12jdsb4msn30awwaj4wm2kpamaaar1gv8m17h5"; + rev = "4b433e5693ccec8e408504c4b139b8f7cc6a4aa3"; + sha256 = "08ik0a5g54m295pqyxfzkgav9apyqrchbfsxssb8hjgq3sl00vjv"; }; meta.homepage = "https://github.com/dense-analysis/ale/"; }; @@ -559,12 +559,12 @@ final: prev: alpha-nvim = buildVimPluginFrom2Nix { pname = "alpha-nvim"; - version = "2022-09-09"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "goolord"; repo = "alpha-nvim"; - rev = "0bb6fc0646bcd1cdb4639737a1cee8d6e08bcc31"; - sha256 = "0cx2psvvafclggwm32xrx03wjm0vk59fj8xln75k4smckcax59dl"; + rev = "a858e4e7b0805835e61fab2b54704450427d47c3"; + sha256 = "0lcdywjbnh2rzjpyk9834invl8a8svmm2xwpmybdx1wrx9q6iip9"; }; meta.homepage = "https://github.com/goolord/alpha-nvim/"; }; @@ -667,24 +667,24 @@ final: prev: asyncrun-vim = buildVimPluginFrom2Nix { pname = "asyncrun.vim"; - version = "2022-11-03"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "skywind3000"; repo = "asyncrun.vim"; - rev = "e74f19f430f98fbb5a2f4d3a725ea980876b7314"; - sha256 = "0fasalhsyf86sr5r2y1wh6ixbf2ys7abwvsf5lzav0za59542av4"; + rev = "4c1b475b07c022d423069eb3d7680bc8be63dfea"; + sha256 = "0a6spsgc5580d8w4f0sxhbs1kqz82igy5ghlkgkqakl2l0gc5rzn"; }; meta.homepage = "https://github.com/skywind3000/asyncrun.vim/"; }; asynctasks-vim = buildVimPluginFrom2Nix { pname = "asynctasks.vim"; - version = "2022-10-06"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "skywind3000"; repo = "asynctasks.vim"; - rev = "32d2af43f196605f35aa78f38b16e9a8d158b010"; - sha256 = "0ryq8qsrjzdyrapz040mvp9f3mzcflcw14nddp5fq95859n18n2k"; + rev = "9053c97fc77ac3335761527d4431f936631e3a24"; + sha256 = "0jm4grwgz6wql22d3yqpmayqg0vnssdcp19csgvcjac9lrxl0m9y"; }; meta.homepage = "https://github.com/skywind3000/asynctasks.vim/"; }; @@ -751,12 +751,12 @@ final: prev: auto-session = buildVimPluginFrom2Nix { pname = "auto-session"; - version = "2022-09-19"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "rmagatti"; repo = "auto-session"; - rev = "39319bf7ad15a1881f180fa7c14bf6703775035e"; - sha256 = "02d9i60n3gn3cbyivz0pnfh9z9478clvvvvjg8jaqiyqv78n70qk"; + rev = "609c952a50ff1d415d79323364e934eba607fce0"; + sha256 = "1gv5h9zbjs83324sa0lm9xiy70yrvll3cgjdfmqnb51zvyx4anzx"; }; meta.homepage = "https://github.com/rmagatti/auto-session/"; }; @@ -931,12 +931,12 @@ final: prev: bufferline-nvim = buildVimPluginFrom2Nix { pname = "bufferline.nvim"; - version = "2022-11-01"; + version = "2022-11-07"; src = fetchFromGitHub { owner = "akinsho"; repo = "bufferline.nvim"; - rev = "d631817de1b52c7b1947e25ec8b7638492914768"; - sha256 = "0nnwq8cmwsy3jssrlvfghs8l6p6m7q5pmbbadp57sm153q4pjvpy"; + rev = "7c07dee2714778a84a9adda6e676c8e2151085f2"; + sha256 = "1v8j6zc5r30l9nzpvi2y5mym10cl3injpxarqkkcmww24daqgr74"; }; meta.homepage = "https://github.com/akinsho/bufferline.nvim/"; }; @@ -991,12 +991,12 @@ final: prev: ccc-nvim = buildVimPluginFrom2Nix { pname = "ccc.nvim"; - version = "2022-10-26"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "uga-rosa"; repo = "ccc.nvim"; - rev = "312f33f36115e8266b06ea97002b71e4ebc0f006"; - sha256 = "15vk2aglwhwikn7rg0pfkbjjr23mkq90nnq1i0dp69cbmwzb7nn6"; + rev = "da5ed534bf401819eb4bc6a78c11c11b8bf3fb65"; + sha256 = "074c56gwg91jpn66rrxf05m89kx1l0is96lm2pffi35ig67c45px"; }; meta.homepage = "https://github.com/uga-rosa/ccc.nvim/"; }; @@ -1039,12 +1039,12 @@ final: prev: circles-nvim = buildVimPluginFrom2Nix { pname = "circles.nvim"; - version = "2022-06-05"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "projekt0n"; repo = "circles.nvim"; - rev = "8339b7e9023dfd4fa83e3aa597c210c01de41746"; - sha256 = "165l7jm5rmkhvy77q00rvzhri6ic4l599brfscg4mb1sazm6gpwv"; + rev = "67bc0cb720ed2f6d57073b24a7c1cf0531f2ce7e"; + sha256 = "0q88yjssn4mm7m2fbddlp2yvixrfdmf5b8hrrq9zknx6q0b7bwpb"; }; meta.homepage = "https://github.com/projekt0n/circles.nvim/"; }; @@ -1063,12 +1063,12 @@ final: prev: clangd_extensions-nvim = buildVimPluginFrom2Nix { pname = "clangd_extensions.nvim"; - version = "2022-10-02"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "p00f"; repo = "clangd_extensions.nvim"; - rev = "756a12b1604aa86368f2078ab44bfa788a29ece4"; - sha256 = "1wxyy98gal3zdwrh6z92044yyj3nbw2bzq9diwa1h5waraf9jg7r"; + rev = "9bd6073dd1230e667f97760b5a73f81547a19528"; + sha256 = "00jzl7aaas26181b0ldnk7nskmp0l491c8j2r5lld623bvv2hdsl"; }; meta.homepage = "https://github.com/p00f/clangd_extensions.nvim/"; }; @@ -1147,12 +1147,12 @@ final: prev: cmp-cmdline = buildVimPluginFrom2Nix { pname = "cmp-cmdline"; - version = "2022-09-16"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "hrsh7th"; repo = "cmp-cmdline"; - rev = "c66c379915d68fb52ad5ad1195cdd4265a95ef1e"; - sha256 = "00ivhdq1skdccmkn0sd0kr8b9gnap84in34q5r2mkmnd07vhiwr2"; + rev = "8bc9c4a34b223888b7ffbe45c4fe39a7bee5b74d"; + sha256 = "0rx8ncap1dfrgwkx1wsmhybr6cs1kdh0li5hssbhws2d6igij8zq"; }; meta.homepage = "https://github.com/hrsh7th/cmp-cmdline/"; }; @@ -1207,12 +1207,12 @@ final: prev: cmp-dap = buildVimPluginFrom2Nix { pname = "cmp-dap"; - version = "2022-10-16"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "rcarriga"; repo = "cmp-dap"; - rev = "4de6b86b099a1cdee961545e0dfe2ef4846722de"; - sha256 = "1qz42hr1l728i2j4rd9g5xmj0ncq0hd99mlgdpfadxbxlgnvq0s1"; + rev = "d16f14a210cd28988b97ca8339d504533b7e09a4"; + sha256 = "1rqn5jbvca0yfsa7nhm6j0xss0hidvvqa5yks60vv3apkilhds63"; }; meta.homepage = "https://github.com/rcarriga/cmp-dap/"; }; @@ -1519,12 +1519,12 @@ final: prev: cmp-tabnine = buildVimPluginFrom2Nix { pname = "cmp-tabnine"; - version = "2022-10-05"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "tzachar"; repo = "cmp-tabnine"; - rev = "5a6d58badbfed69ee285983bf2cf5a17d957483a"; - sha256 = "1dsbq0wcqf8c7y5ld74gqxbf2pdh28km7wdk37xvlqcvfk1kzmxs"; + rev = "0f56fc14792602da05ac17517c755bee9645a9a7"; + sha256 = "09c3jwrraq1m9yyiwsr1rh3a7ixilmx2v85nd1haaclb6dfd5x10"; }; meta.homepage = "https://github.com/tzachar/cmp-tabnine/"; }; @@ -1651,24 +1651,24 @@ final: prev: coc-fzf = buildVimPluginFrom2Nix { pname = "coc-fzf"; - version = "2022-10-25"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "antoinemadec"; repo = "coc-fzf"; - rev = "812b0a47d0c8b066684d75bc6f9ad84627f8579e"; - sha256 = "1fr86avlyggkinai630pnji8d94wzsw14hb5d4yr8jn3rv9a8cmk"; + rev = "403e69ff873cf4447adad0477db7b7563813f13a"; + sha256 = "1njkvzy0q7r9ssq2994rc389isjwycs05lyxba5l9jsi7df7had9"; }; meta.homepage = "https://github.com/antoinemadec/coc-fzf/"; }; coc-lua = buildVimPluginFrom2Nix { pname = "coc-lua"; - version = "2022-09-07"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "josa42"; repo = "coc-lua"; - rev = "d5cae4cdff02f5e839ac7ec051bc477b5eb299cb"; - sha256 = "0dx9x8bv65d4pgm2p3fggh167g3d7hjfic1ykpfxyqvrabrkppn2"; + rev = "cdb82f176b13d4be5bed05c586ac1f141306a09a"; + sha256 = "1cfxzrir827wa3mnbg3gjv4n0afk220r0v55ajqqy8r5aycd68w7"; }; meta.homepage = "https://github.com/josa42/coc-lua/"; }; @@ -1687,12 +1687,12 @@ final: prev: coc-spell-checker = buildVimPluginFrom2Nix { pname = "coc-spell-checker"; - version = "2020-09-15"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "iamcco"; repo = "coc-spell-checker"; - rev = "a76ebbff41fec61bb7a3c2556a670720db3f9ff9"; - sha256 = "0i2znngg8jyxgns1kqi5168c4899wj2b8h8n14yy6pxgidhgqvzp"; + rev = "7988d47ad1942808f1a6f0420cda0abf493e1567"; + sha256 = "0qakmv3c9iaqy6gncjaq3j1vgs42gb5f1nl3p99ddyz5w3vq58jr"; }; meta.homepage = "https://github.com/iamcco/coc-spell-checker/"; }; @@ -1723,12 +1723,12 @@ final: prev: coc-nvim = buildVimPluginFrom2Nix { pname = "coc.nvim"; - version = "2022-11-03"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "neoclide"; repo = "coc.nvim"; - rev = "5f52e41be1ff19ce1f1bd3307144e7d96703b7fd"; - sha256 = "0nm8jgdgxbdlvcpl12fs2fgxww5nizjpqd2ywm2n7ca0lsjpqcx0"; + rev = "89cd42aea4cb91cac40fe96b756d43a34b442a64"; + sha256 = "1r7fyg53vhvsipnbg9w1a9mkyzm1zx7lszh3zxlh59apjaji4ncc"; }; meta.homepage = "https://github.com/neoclide/coc.nvim/"; }; @@ -1879,12 +1879,12 @@ final: prev: compiler-explorer-nvim = buildVimPluginFrom2Nix { pname = "compiler-explorer.nvim"; - version = "2022-10-20"; + version = "2022-11-07"; src = fetchFromGitHub { owner = "krady21"; repo = "compiler-explorer.nvim"; - rev = "70476109b783123a3a5cc1294cb7e0f2921d9f51"; - sha256 = "07pxg4k6sinhwg6n5xjk2by3pmfm545ybji9map81iqw2m3k2v3h"; + rev = "ab94958b819916a40770f9088db3a33336545dce"; + sha256 = "1pf26fw667rj5fzjrx3zkpz247i7y78wvrrl3b04jz581s4x5rrk"; }; meta.homepage = "https://github.com/krady21/compiler-explorer.nvim/"; }; @@ -1999,36 +1999,36 @@ final: prev: copilot-vim = buildVimPluginFrom2Nix { pname = "copilot.vim"; - version = "2022-10-12"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "github"; repo = "copilot.vim"; - rev = "8ba151a20bc1d7a5c72e592e51bfc925d5bbb837"; - sha256 = "0wr703fg7vvygx8iyym8jqqqm51nwffkz8aldma7ahkc5vwi2v0s"; + rev = "5a411d19ce7334ab10ba12516743fc25dad363fa"; + sha256 = "1v72i3f1w7q481grffm2grb9m11qiazs85xq3j89yiqh6jvvpvzh"; }; meta.homepage = "https://github.com/github/copilot.vim/"; }; coq-artifacts = buildVimPluginFrom2Nix { pname = "coq.artifacts"; - version = "2022-11-04"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq.artifacts"; - rev = "4e80d710635ef4599391c5da355abe5680931469"; - sha256 = "0zhscd3l9f5a0dn1zbc60p101s8447qjsjxhwivbpdyryl14ydqw"; + rev = "8e055719b1fbf7769eadc6634c54679d1733d727"; + sha256 = "0wjh4hbinl1ia8bljgj9qwr43phvajngz3ra4my6gmdpsbfhrrfb"; }; meta.homepage = "https://github.com/ms-jpq/coq.artifacts/"; }; coq-thirdparty = buildVimPluginFrom2Nix { pname = "coq.thirdparty"; - version = "2022-11-04"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq.thirdparty"; - rev = "079553e07ac79f6416e7751d388e90849d9f2e91"; - sha256 = "0aw779wcsak7ypq24kjras9bq3ynvxkl7s3mrn26ddpkcdrpkdlz"; + rev = "c503ac81e26c44b00307029b8cf6d16c5b41ada4"; + sha256 = "1rgxk4b7kb5rzfcjdnvh1f8mhxmvdf1zq96am2ifhjj2n86xk0vf"; }; meta.homepage = "https://github.com/ms-jpq/coq.thirdparty/"; }; @@ -2047,12 +2047,12 @@ final: prev: coq_nvim = buildVimPluginFrom2Nix { pname = "coq_nvim"; - version = "2022-11-04"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "coq_nvim"; - rev = "f1668e780b4fbc199ceac58ccba38be5fd5fe7c6"; - sha256 = "0qyam08y3j7z37iaajah2micq82a0jsl17qv4fjd7a2hamchzgcc"; + rev = "0137c3f16077c9b449651f18ec89ef1b7957e809"; + sha256 = "0srfi4fsrkkjzpivlrf8va2l2j4y4qi24m2w676pnxpyh3vwwasf"; }; meta.homepage = "https://github.com/ms-jpq/coq_nvim/"; }; @@ -2577,12 +2577,12 @@ final: prev: diffview-nvim = buildVimPluginFrom2Nix { pname = "diffview.nvim"; - version = "2022-10-26"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "sindrets"; repo = "diffview.nvim"; - rev = "94a3422415a092db1f2e00af5bd7db4ec1c6b8d7"; - sha256 = "01cg3dhwfzjmpz8sh3qppr1qdyrvvpiax5dfzqq7bs8jk6niyh3p"; + rev = "e0c81186dcb96f9199024cbe3400ed367e716037"; + sha256 = "071ghjvyzh0zlzwx3qrb5chc7wmz2ab21m2wiqjkkdi4ic9pdjmv"; }; meta.homepage = "https://github.com/sindrets/diffview.nvim/"; }; @@ -2601,36 +2601,36 @@ final: prev: doki-theme-vim = buildVimPluginFrom2Nix { pname = "doki-theme-vim"; - version = "2022-08-06"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "doki-theme"; repo = "doki-theme-vim"; - rev = "6008ae292f0d8b21505f56402cbe7906e4c9c7d6"; - sha256 = "02hclsqqj78pa12yf1xj0m19nnkkcwfz3v866d78jk4sniwh2sqw"; + rev = "cf534ddd2594b9e2f9602f0f65fbbf925d038505"; + sha256 = "121y84p8p16djm60zb4sl5b5blsfsngmjp602rrvd2wi6jzjcn79"; }; meta.homepage = "https://github.com/doki-theme/doki-theme-vim/"; }; dracula-nvim = buildVimPluginFrom2Nix { pname = "dracula.nvim"; - version = "2022-11-02"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "Mofiqul"; repo = "dracula.nvim"; - rev = "7ff76dd8248efeabb322fec87b22d33c129536fe"; - sha256 = "1g94pxa1frc5ym506vdvfpsk7qby2wzhdv3fby5c09a1vnkz7npz"; + rev = "fe57c180fd7fdea39bc0d85bac9252aa6a8645e8"; + sha256 = "1jac9pmg9sn28x62xx6n5brzycmgfsb825dfsh6mkny425705zsm"; }; meta.homepage = "https://github.com/Mofiqul/dracula.nvim/"; }; dressing-nvim = buildVimPluginFrom2Nix { pname = "dressing.nvim"; - version = "2022-10-03"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "stevearc"; repo = "dressing.nvim"; - rev = "12b808a6867e8c38015488ad6cee4e3d58174182"; - sha256 = "037sxvq9ywdnmy9f2gw89q52a76rmg4gwbn62i669ca95wvkhzxa"; + rev = "8c1500069cafc9cfd93bf5521b17fde060008022"; + sha256 = "144zpfs26yhj7mnfdigql5mxl32caww46p8y504a98ls4kja7lp7"; }; meta.homepage = "https://github.com/stevearc/dressing.nvim/"; }; @@ -2649,24 +2649,24 @@ final: prev: edge = buildVimPluginFrom2Nix { pname = "edge"; - version = "2022-09-09"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "sainnhe"; repo = "edge"; - rev = "a5319778816f07687fc30efebfc415814afb50a6"; - sha256 = "10s7jfvx38ry0ci64mynigvspjzmhf6f9sgfki3rrb1j0b37wzj9"; + rev = "b0b61bc4b6c94ea487fee0e9e33725c45711e32f"; + sha256 = "1wpai52r4486fpz8ys5lv71sj2kmjhhn3knj01awrincgzkql7w1"; }; meta.homepage = "https://github.com/sainnhe/edge/"; }; editorconfig-vim = buildVimPluginFrom2Nix { pname = "editorconfig-vim"; - version = "2022-10-30"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "editorconfig"; repo = "editorconfig-vim"; - rev = "6bba2596601086ddfc882488b1444bf1ea43aab9"; - sha256 = "16a1c1k9q6db99i0s7rm3j0g6wci8x41y71ky04hb9khqkzv3xm8"; + rev = "30ddc057f71287c3ac2beca876e7ae6d5abe26a0"; + sha256 = "1pscf8a3fd79gzqm91gb22pmd44ijahyim9f8vq94c99silyvrjh"; fetchSubmodules = true; }; meta.homepage = "https://github.com/editorconfig/editorconfig-vim/"; @@ -2674,12 +2674,12 @@ final: prev: editorconfig-nvim = buildVimPluginFrom2Nix { pname = "editorconfig.nvim"; - version = "2022-11-01"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "gpanders"; repo = "editorconfig.nvim"; - rev = "e72d2331b43e3f08d0ecca44cecded4e20c01fab"; - sha256 = "037ag6b10frwxp5nj1yc35zq0xn02a2bq179v48pqp3ds8lkanb2"; + rev = "91db270a7f458866102f420b457d17a59b48e83e"; + sha256 = "10rrls4ixgcbd5hqjsjz5yfnf0z9w4r5n3gy57fy40rvk8wmr11j"; }; meta.homepage = "https://github.com/gpanders/editorconfig.nvim/"; }; @@ -2735,12 +2735,12 @@ final: prev: everforest = buildVimPluginFrom2Nix { pname = "everforest"; - version = "2022-10-27"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "sainnhe"; repo = "everforest"; - rev = "06fda351738668e1357b3670875a645772aa7862"; - sha256 = "197h4jfidxd12rgpg1qpnihq0w8jifc0zw5wngmnxazq1z815yks"; + rev = "03dec15a3b2c05758d8969ed1d736fb682dc88ee"; + sha256 = "09yrzs23p9g9cg4ycppaz1rqmhy5a2i8iwinb35i53f8z6qycl2w"; }; meta.homepage = "https://github.com/sainnhe/everforest/"; }; @@ -2783,12 +2783,12 @@ final: prev: fcitx-vim = buildVimPluginFrom2Nix { pname = "fcitx.vim"; - version = "2021-10-26"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "lilydjwg"; repo = "fcitx.vim"; - rev = "c689083ffb1d1076dd3fb9b587fd3c6d9f9d6b5a"; - sha256 = "1hcg6lkgnx87qnqj8qc3gvpcfyav2v79mi5mjkjqkfw2f339gc5c"; + rev = "fe899f6aece54d962cd75686124ce4abc3e67ec2"; + sha256 = "1nz42r8ybwajncp3c9q8glrsxwi7psmipp4wqgf4v8jnhr4xgrm4"; }; meta.homepage = "https://github.com/lilydjwg/fcitx.vim/"; }; @@ -2819,12 +2819,12 @@ final: prev: fern-vim = buildVimPluginFrom2Nix { pname = "fern.vim"; - version = "2022-10-31"; + version = "2022-11-07"; src = fetchFromGitHub { owner = "lambdalisue"; repo = "fern.vim"; - rev = "b5f4635683f9df3ce6a9a1399aec55ee1ec9b681"; - sha256 = "15sl6d975svs3qp1h1nb2kivqxgzw2f9g3yr6fbpjcqh6n7hxjhr"; + rev = "908a3db77d5a061d98a45c36f8483886a8868c90"; + sha256 = "0fbz3317bilp8iznrjm6vzqgby20fq11nha5c2wzps92f4bcyp96"; }; meta.homepage = "https://github.com/lambdalisue/fern.vim/"; }; @@ -2928,24 +2928,24 @@ final: prev: flutter-tools-nvim = buildVimPluginFrom2Nix { pname = "flutter-tools.nvim"; - version = "2022-09-08"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "akinsho"; repo = "flutter-tools.nvim"; - rev = "15b770dcdca7ad2dab11cdf0dfdca34f04739471"; - sha256 = "13a7aa90qlj0lqxhgr9kclpqlj6156hs603qdg9hvhj023kan630"; + rev = "fc336d95ca00ae9c2a7c4fad57f131494fc825dd"; + sha256 = "0rkn63i5jqxxq122hb5gpcdy42sm09qnqd115ijx1l7ri803fc40"; }; meta.homepage = "https://github.com/akinsho/flutter-tools.nvim/"; }; formatter-nvim = buildVimPluginFrom2Nix { pname = "formatter.nvim"; - version = "2022-10-25"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "mhartington"; repo = "formatter.nvim"; - rev = "1646b0bdc1c7e7d746aa0556d79d7be2394caa7b"; - sha256 = "1f6xc3lbb9yw0dikdigkgfpax9cf83kk2mcq4bx74n722bz5h18z"; + rev = "804b96c0b7fea538af1a0a31daa2dabed0b16ad4"; + sha256 = "13wxjyzr1hq8iaa85yxqsa53ja4ccrq395q2gsk3g4vvjxcsw9wy"; }; meta.homepage = "https://github.com/mhartington/formatter.nvim/"; }; @@ -3072,12 +3072,12 @@ final: prev: fzf-lua = buildVimPluginFrom2Nix { pname = "fzf-lua"; - version = "2022-10-31"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "ibhagwan"; repo = "fzf-lua"; - rev = "b1f1f76c13d6040b9b9b6ccdb59129c6c4885124"; - sha256 = "1gf6h1g9s09xb3mmck29ippcqkajzh5156j5g14zsf2v7gsqkyax"; + rev = "0c6e614eeeb34ac9a7e1143861435609d1c65ba1"; + sha256 = "1mczan3wsdb5in33xdkz98x7s23pcw1r7403sd1mdahj72lqbslz"; }; meta.homepage = "https://github.com/ibhagwan/fzf-lua/"; }; @@ -3168,12 +3168,12 @@ final: prev: git-blame-nvim = buildVimPluginFrom2Nix { pname = "git-blame.nvim"; - version = "2022-10-23"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "f-person"; repo = "git-blame.nvim"; - rev = "7c498272d0f97c583fc3a92f196231a90455eb19"; - sha256 = "0fm6qxqb6yq62lxz8iz0kc07xn6951zh2xqird7prp7vdvh1d78q"; + rev = "d3afb1c57918720548effb42edec530232436378"; + sha256 = "1dwnkrp1h452129xsa1jszrw38as0czhiykf0fvqvfa5yhsq0aga"; }; meta.homepage = "https://github.com/f-person/git-blame.nvim/"; }; @@ -3228,12 +3228,12 @@ final: prev: gitsigns-nvim = buildNeovimPluginFrom2Nix { pname = "gitsigns.nvim"; - version = "2022-10-31"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "lewis6991"; repo = "gitsigns.nvim"; - rev = "d3a8ba0b0d34bbac482b963e52b346065169fa20"; - sha256 = "0v4gyzgl9k463i66xpj80h02gbxy96hawm0lqffvyzhqkgab143n"; + rev = "9ff7dfb051e5104088ff80556203634fc8f8546d"; + sha256 = "0cfssyyhcjndwr2xlk91rxzyir4ng5hk1f4fgij5hgrhhh3wgjdv"; }; meta.homepage = "https://github.com/lewis6991/gitsigns.nvim/"; }; @@ -3372,24 +3372,24 @@ final: prev: gruvbox-material = buildVimPluginFrom2Nix { pname = "gruvbox-material"; - version = "2022-09-11"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "sainnhe"; repo = "gruvbox-material"; - rev = "2807579bd0a9981575dbb518aa65d3206f04ea02"; - sha256 = "1avdm1gblf96l0n52w8sqdcw30jc6hmjf5wy55xn26v4jmbzz6zw"; + rev = "66f66f64788f66c8101aa35344dd005143356b6b"; + sha256 = "1issvqjvqix7c5iwlyffl52qpiz2c997pddkrwy4rmd8d2n0yclh"; }; meta.homepage = "https://github.com/sainnhe/gruvbox-material/"; }; gruvbox-nvim = buildVimPluginFrom2Nix { pname = "gruvbox.nvim"; - version = "2022-11-01"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "ellisonleao"; repo = "gruvbox.nvim"; - rev = "9002dc7a717d38b7bbe212febe6370fd7d047308"; - sha256 = "0hk298ah362kshvpxi3cjmp06yl7jnsj32n05pfw7a1nfiflk6xq"; + rev = "5ac400bbd7bbe5d5911a79c45347df6d3afd388e"; + sha256 = "0r3bqlw9i1m1x5anmjcaxgx6iscd3347bc7yp47vg9bywwa4if5d"; }; meta.homepage = "https://github.com/ellisonleao/gruvbox.nvim/"; }; @@ -3455,12 +3455,12 @@ final: prev: haskell-tools-nvim = buildVimPluginFrom2Nix { pname = "haskell-tools.nvim"; - version = "2022-11-04"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "MrcJkb"; repo = "haskell-tools.nvim"; - rev = "f7fa54b4efec69fb0fe5379a2d42baed4629ae76"; - sha256 = "07h0mbaxxkpsp0549dd366249pql58yvns1ip4y5jndzq1164c1r"; + rev = "a1d3699c14746b15af0520e23f54d2ed474e8be0"; + sha256 = "0kygk9aidqcbpp2avm9zpfp2d3dcscnz6apy879w8k1lwp1f2dk8"; }; meta.homepage = "https://github.com/MrcJkb/haskell-tools.nvim/"; }; @@ -3563,12 +3563,12 @@ final: prev: hotpot-nvim = buildVimPluginFrom2Nix { pname = "hotpot.nvim"; - version = "2022-10-16"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "rktjmp"; repo = "hotpot.nvim"; - rev = "4dff680b2bc31b1b909545f782bc757831f652c8"; - sha256 = "1bf80sascch39sc7vwb50ac6y0nxpqlwy8bkyhrfmj68mxil9ir4"; + rev = "562e3e0e04c092c43a9cddffae4c9a748afb186f"; + sha256 = "0gvr9fwbc22m2rfwz3ficlrk5yk0q4zaaplma4l5zarrxswv9csb"; }; meta.homepage = "https://github.com/rktjmp/hotpot.nvim/"; }; @@ -3599,12 +3599,12 @@ final: prev: iceberg-vim = buildVimPluginFrom2Nix { pname = "iceberg.vim"; - version = "2022-08-17"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "cocopon"; repo = "iceberg.vim"; - rev = "61efc9c61dec54076c093af0cff304e30b0c3a07"; - sha256 = "1aiarshkw8cs3kjfdj3v30294i7dj1x7pmv9j83wnssj7i4y6kp5"; + rev = "8a69612245fca4c9103a7f700b3ca87b77199f00"; + sha256 = "1vq6yka7scdv54r02034y93y9144lsqx78jwwryzlmf5qq4pmr00"; }; meta.homepage = "https://github.com/cocopon/iceberg.vim/"; }; @@ -3635,12 +3635,12 @@ final: prev: impatient-nvim = buildVimPluginFrom2Nix { pname = "impatient.nvim"; - version = "2022-08-19"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "lewis6991"; repo = "impatient.nvim"; - rev = "b842e16ecc1a700f62adb9802f8355b99b52a5a6"; - sha256 = "1q4ym3n98l3njs8qhiabvxc576xr7a5riykfcw6mh6vjkgs26jyd"; + rev = "d3dd30ff0b811756e735eb9020609fa315bfbbcc"; + sha256 = "04wv6hzmdwcd563kl68n33yyyydhr0rdbjc93874dlh2nlfm7ixn"; }; meta.homepage = "https://github.com/lewis6991/impatient.nvim/"; }; @@ -3876,12 +3876,12 @@ final: prev: kanagawa-nvim = buildVimPluginFrom2Nix { pname = "kanagawa.nvim"; - version = "2022-10-27"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "rebelot"; repo = "kanagawa.nvim"; - rev = "70d3139aaa8e59f3304ca7860e35fd6081b6caa5"; - sha256 = "1rizw9s24m24a4rpq0wl5ca0h6m0ykcgr54arv638pkjyg3pqf7l"; + rev = "52cfa270317121672c1416c725361fa653684de0"; + sha256 = "10wz64aks52bmhxgg0hv84zmbqfbrh9sfjcsa8ygiq38fc568g1r"; }; meta.homepage = "https://github.com/rebelot/kanagawa.nvim/"; }; @@ -3900,12 +3900,12 @@ final: prev: kommentary = buildVimPluginFrom2Nix { pname = "kommentary"; - version = "2022-05-27"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "b3nj5m1n"; repo = "kommentary"; - rev = "533d768a140b248443da8346b88e88db704212ab"; - sha256 = "1lgwvpiddvxlcakypa4cj5wvlw0fwcbjpim0rav7cgh15vzibwk0"; + rev = "981d56735ecc13e3c52b2d0cae269f5b9dcfe8ff"; + sha256 = "1pnxfarr1znv5zvy4pnapalyqg0pvnrrw5yk7ygyavfzzch1kzf0"; }; meta.homepage = "https://github.com/b3nj5m1n/kommentary/"; }; @@ -3972,12 +3972,12 @@ final: prev: lazygit-nvim = buildVimPluginFrom2Nix { pname = "lazygit.nvim"; - version = "2022-11-02"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "kdheepak"; repo = "lazygit.nvim"; - rev = "56045b4a0d8fa7bfee37411267ca5c6d3c1fe789"; - sha256 = "1xpq3adm1d1dpfns2p3abm111dschwjqqns7c55f2biig9f3lapl"; + rev = "32bffdebe273e571588f25c8a708ca7297928617"; + sha256 = "1iw9297di1jdwf1kqj14fpfw0w9gdh5mr0i1s41gl7j16pbpn9f6"; }; meta.homepage = "https://github.com/kdheepak/lazygit.nvim/"; }; @@ -4020,24 +4020,24 @@ final: prev: leap-nvim = buildVimPluginFrom2Nix { pname = "leap.nvim"; - version = "2022-10-30"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "ggandor"; repo = "leap.nvim"; - rev = "ba4241754451e6bb4d8e9e4000caba0a35fba75b"; - sha256 = "17rcvzyga4azz5s28yaa26l40xcfrwks4mhjlxkw2wj2az3ss3sf"; + rev = "c19e974cfd9d52dc5070ec7b68183da39702c877"; + sha256 = "1wdjmziq9910h51hvnmq27abqa8052fbpx5g065hbwk3jwsb5417"; }; meta.homepage = "https://github.com/ggandor/leap.nvim/"; }; legendary-nvim = buildVimPluginFrom2Nix { pname = "legendary.nvim"; - version = "2022-10-30"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "mrjones2014"; repo = "legendary.nvim"; - rev = "cf388c44976ca8a9f950d98879b3e98d0f0f4b83"; - sha256 = "0y0zndgs43aa30pdqjpsf1kyc65vg3klwfqqkkz3dkk75417xi2x"; + rev = "67acc7d5ce7598ea159e1c689cc0f323bcbfb297"; + sha256 = "0m0vzapvvj6122kw9jsllhpdq2ljkn7wanmglxsf7d640p8b5s58"; }; meta.homepage = "https://github.com/mrjones2014/legendary.nvim/"; }; @@ -4068,12 +4068,12 @@ final: prev: lexima-vim = buildVimPluginFrom2Nix { pname = "lexima.vim"; - version = "2022-10-05"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "cohama"; repo = "lexima.vim"; - rev = "6be26d4c4a06228f72329b424f6f92d860de611d"; - sha256 = "0nn3r7b513jhg9l0fa94rmxpdkwg9r7hdqn1x7jw3q6s547z9pin"; + rev = "ce7c51fd2e14b94510e140c40775fa27b1956f98"; + sha256 = "1v8d3227h3krpgb34b84bzcyrdh8x85wyxyp776353n3z4wk8051"; }; meta.homepage = "https://github.com/cohama/lexima.vim/"; }; @@ -4391,12 +4391,12 @@ final: prev: lsp_signature-nvim = buildVimPluginFrom2Nix { pname = "lsp_signature.nvim"; - version = "2022-10-30"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "ray-x"; repo = "lsp_signature.nvim"; - rev = "7a1845e8b5fc68dc5ea2a1a7d2d2b04395b6b190"; - sha256 = "1bw06dxd36k9ylwidv8yynrqg4w17lda4piajfc73h30w29z28cp"; + rev = "12c0807919ae60c7bdae8c0bd0072ee9d752fa1a"; + sha256 = "00y3hb0lzqg9xs5h5whkhdvj9r0qizm0mwfwl8lqbgqhcns5ggk9"; }; meta.homepage = "https://github.com/ray-x/lsp_signature.nvim/"; }; @@ -4463,12 +4463,12 @@ final: prev: luasnip = buildVimPluginFrom2Nix { pname = "luasnip"; - version = "2022-11-01"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "l3mon4d3"; repo = "luasnip"; - rev = "619796e2477f7233e5fdff456240676a08482684"; - sha256 = "1dy46rw1ba7px05h917hmc3mr11dp5q6jy9qs63f59jck24v0xqg"; + rev = "95ccfd97b2087e22676e2797e4ef024ec5b6b0bb"; + sha256 = "1nf6qmgyba3miagfjscvar715visabswhvs19qac71cj8j6dba5k"; fetchSubmodules = true; }; meta.homepage = "https://github.com/l3mon4d3/luasnip/"; @@ -4488,12 +4488,12 @@ final: prev: lush-nvim = buildNeovimPluginFrom2Nix { pname = "lush.nvim"; - version = "2022-10-22"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "rktjmp"; repo = "lush.nvim"; - rev = "57e0b8574d1edf00f16e7ee82ea39bbe19825cb1"; - sha256 = "0vmyzk2hmrf5cvw7f43djn7980c558r9fwf3c5wbv1r8vipr0vik"; + rev = "979f4d206e7111c2b710aa85cc723f6140d2ec98"; + sha256 = "1xmndvhxjzb6lsfd0i7ifyqk0p37hyb9qy6l3aj75k7ifd4bsy2w"; }; meta.homepage = "https://github.com/rktjmp/lush.nvim/"; }; @@ -4548,12 +4548,12 @@ final: prev: material-nvim = buildVimPluginFrom2Nix { pname = "material.nvim"; - version = "2022-11-01"; + version = "2022-11-07"; src = fetchFromGitHub { owner = "marko-cerovac"; repo = "material.nvim"; - rev = "3a9c06c398370afec624121fd0ebf5089ad910c5"; - sha256 = "1v9vsphnp19p989rv0b4c8nix89kgc2w9kfqwn6an5103cl43yia"; + rev = "0b463a62800b081e86dbfe3d2d0be03e1959ac8c"; + sha256 = "0bf0qpp7rkw130k55i246a9f3j8823djwczii1m44v1cw8ggp7wb"; }; meta.homepage = "https://github.com/marko-cerovac/material.nvim/"; }; @@ -4584,12 +4584,12 @@ final: prev: mini-nvim = buildVimPluginFrom2Nix { pname = "mini.nvim"; - version = "2022-11-03"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "echasnovski"; repo = "mini.nvim"; - rev = "993e8d200ff6d2a354e717b2beb7b31bd91b2ee4"; - sha256 = "02gbnc28bg9sjhjmclwrkf2nh3spqibhan0xy0qdnlswms2cpp6s"; + rev = "9061584513afd62ad6a08757b0aacf5d656bdf36"; + sha256 = "0pg2ckvnarmfmvqj57plg8bzflz3qxicbb5p699fhh5ggl2f5713"; }; meta.homepage = "https://github.com/echasnovski/mini.nvim/"; }; @@ -4920,12 +4920,12 @@ final: prev: neo-tree-nvim = buildVimPluginFrom2Nix { pname = "neo-tree.nvim"; - version = "2022-10-22"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "nvim-neo-tree"; repo = "neo-tree.nvim"; - rev = "ab8ca9fac52949d7a741b538c5d9c3898cd0f45a"; - sha256 = "0ccrxj04md7lssfwy9lvw4sn99iwkpci9lddc577m6zs1nz00lw0"; + rev = "5c209e52681db48ca714817a4a907523ee98b377"; + sha256 = "135dkpklv1pndymkjnpnwr05cah9gm4ayhzxbchx6p11lzz70h63"; }; meta.homepage = "https://github.com/nvim-neo-tree/neo-tree.nvim/"; }; @@ -4944,48 +4944,48 @@ final: prev: neodark-vim = buildVimPluginFrom2Nix { pname = "neodark.vim"; - version = "2022-01-16"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "KeitaNakamura"; repo = "neodark.vim"; - rev = "bd422a98e7293013d67ccfbe1d52e1144ab47083"; - sha256 = "0rifx4x8v4ndn7p33m54gn9m3vwh1nz8lyrz87n50incryh09vbl"; + rev = "d11dc6e8b32aeb64a3abc5f7d94d5569070bb4bc"; + sha256 = "0fxf8qcj6kh7j9mdnx2ncpnnxg37nbf6gs11d0nw27ihqc92xx1c"; }; meta.homepage = "https://github.com/KeitaNakamura/neodark.vim/"; }; neodev-nvim = buildVimPluginFrom2Nix { pname = "neodev.nvim"; - version = "2022-11-04"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "folke"; repo = "neodev.nvim"; - rev = "d41f7e1713f3421c3c8f71c3fe4a026084227a5d"; - sha256 = "17ffq90vhy5w42h3vqczlxpvj7vxl5sznhbbmlf90psl3s1f20sf"; + rev = "7f8b73f56d2055efb3b0550a92d62ea78b1e5e41"; + sha256 = "129w99rafqxc78py1vdbqa3ampp0w581zfc2nkkwc6mxi8c2yn2w"; }; meta.homepage = "https://github.com/folke/neodev.nvim/"; }; neoformat = buildVimPluginFrom2Nix { pname = "neoformat"; - version = "2022-10-23"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "sbdchd"; repo = "neoformat"; - rev = "b08bd3a914777ff62ae2d7c17df9549c4b1dd778"; - sha256 = "12fm51xi8dnqvizvy59vda7nvkr4mv9g6ipz3w7f0kf5r2avqrd2"; + rev = "1f79f6e6b2a1e2b3ace87d4760769feb4146ff35"; + sha256 = "02vik8gfqncxjhr065sr9bw7fd9lhbwkjjkzn2j9p7y2gw0yjcis"; }; meta.homepage = "https://github.com/sbdchd/neoformat/"; }; neogit = buildVimPluginFrom2Nix { pname = "neogit"; - version = "2022-11-02"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "TimUntersberger"; repo = "neogit"; - rev = "71651625b0cccb95bd1ae152d26bcf26d96e5182"; - sha256 = "06xiqy490jxiayabi135c01vmpvbqm55c20lzczms1f2zcrblkny"; + rev = "c1a2a1aa5b4fd774dc26c53f7f256f1320c0ff15"; + sha256 = "0m8n27yb6m5ad3jhrflw0vd7kxjd4dr5liwvk9b8gz4fw598v2n5"; }; meta.homepage = "https://github.com/TimUntersberger/neogit/"; }; @@ -5040,12 +5040,12 @@ final: prev: neorg = buildVimPluginFrom2Nix { pname = "neorg"; - version = "2022-10-30"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "nvim-neorg"; repo = "neorg"; - rev = "a03ae3f388133d4838553eb1ce1ef65c3dee6751"; - sha256 = "04flwch8rv0h706k0bjdgkpnnw5v17z356b91lxq0k8q0hmd196r"; + rev = "cea50b7cf3ea3a8c6dc33881420cbe9926b26490"; + sha256 = "1p7w2ng1is3f4v4h8r5m6s8hpw77ajkwsknl80p0z1cgi5ym10id"; }; meta.homepage = "https://github.com/nvim-neorg/neorg/"; }; @@ -5100,12 +5100,12 @@ final: prev: neotest = buildVimPluginFrom2Nix { pname = "neotest"; - version = "2022-11-03"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "nvim-neotest"; repo = "neotest"; - rev = "7721205f6b8afc0dc6fa6f1f79d228c3714d6b0e"; - sha256 = "1xldwbmhdm05iimxjsdw03j4xbhf46ia075zqyp6x5zz9gdvcqd0"; + rev = "779e04fdadadcad9cdca1a2d4feb2420364cdb99"; + sha256 = "0f1mw9ppw0361jz2mpjlh3i3k5bxd5361x4i6iiasqmfgsljd3k9"; }; meta.homepage = "https://github.com/nvim-neotest/neotest/"; }; @@ -5124,12 +5124,12 @@ final: prev: neovim-ayu = buildVimPluginFrom2Nix { pname = "neovim-ayu"; - version = "2022-10-22"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "Shatur"; repo = "neovim-ayu"; - rev = "3a0e91b9b120500b5e56c3c4fff6669bc5987142"; - sha256 = "0liygpqlxhkdyc7n8c8mwavazrbjvn1wyv5gkb0h58kflr05bh1d"; + rev = "88f427fbdd9ba7fe2c60f7c6e6ba68834b39ccd1"; + sha256 = "0w44z219hns0kq98v236qbdc7021aj7k6bb2y76jn6pl83bgmbkj"; }; meta.homepage = "https://github.com/Shatur/neovim-ayu/"; }; @@ -5172,12 +5172,12 @@ final: prev: nerdcommenter = buildVimPluginFrom2Nix { pname = "nerdcommenter"; - version = "2022-10-29"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "preservim"; repo = "nerdcommenter"; - rev = "fd2114b46d648f2f97831cf404f14863428001b8"; - sha256 = "0352nq8cnx73wv7z878n7r0vqhgyy6l8al66b0cf3v5qw671hdqm"; + rev = "98cc4a2d64ca67cccbf5b5cf47c682ebadaaff58"; + sha256 = "0s8czq77lsf10b2fsw6mhavirc1ivby1a9c5y49zj9fva876h968"; }; meta.homepage = "https://github.com/preservim/nerdcommenter/"; }; @@ -5244,12 +5244,12 @@ final: prev: nightfox-nvim = buildVimPluginFrom2Nix { pname = "nightfox.nvim"; - version = "2022-10-28"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "EdenEast"; repo = "nightfox.nvim"; - rev = "db26a92fc0175c9ffaa27db489308e306823ed3f"; - sha256 = "09nyfwp8362zlimg1hv5s09w6cxl5gfka5ixcvf0qx193q5i6y7f"; + rev = "e70c3edabf30c671230371ff941df63ef82ee441"; + sha256 = "18bpyczpsmacl4x0jgg708fvyz70wnllrn5pql5mjdp213yg51v3"; }; meta.homepage = "https://github.com/EdenEast/nightfox.nvim/"; }; @@ -5292,12 +5292,12 @@ final: prev: noice-nvim = buildVimPluginFrom2Nix { pname = "noice.nvim"; - version = "2022-10-29"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "folke"; repo = "noice.nvim"; - rev = "7b62ccfc236e51e78e5b2fc7d3068eacd65e4590"; - sha256 = "152y0i8csv6fhy5ddbav8v55xpm2f32zqsmi0cbk59ila2xyrfv0"; + rev = "c11d1c6a0dc8ed44704c92d772140f1546b07166"; + sha256 = "1vysp35x3x8krzpwpx898qrvg1k20zqz5ldj5qrgw66zydsh1i73"; }; meta.homepage = "https://github.com/folke/noice.nvim/"; }; @@ -5328,12 +5328,12 @@ final: prev: nordic-nvim = buildVimPluginFrom2Nix { pname = "nordic.nvim"; - version = "2022-10-25"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "andersevenrud"; repo = "nordic.nvim"; - rev = "d1b1ecf4dd4c85fd6d1746e83e462c9c32b86372"; - sha256 = "1z8v5qf1l374v8awcd2y5s417wh13cdgvd9p9fhr7qqmf3808vbd"; + rev = "cb2d7dff4e698cda93775ad61169b08c9461ca88"; + sha256 = "0ryp42mcvgknxj9yq0i314vx1ig1x88qjvi2ipb92l6mvwnaqps7"; }; meta.homepage = "https://github.com/andersevenrud/nordic.nvim/"; }; @@ -5364,12 +5364,12 @@ final: prev: null-ls-nvim = buildVimPluginFrom2Nix { pname = "null-ls.nvim"; - version = "2022-11-03"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "jose-elias-alvarez"; repo = "null-ls.nvim"; - rev = "1ac465b1617b28f753cb875d8ac1d0f23c0b96d4"; - sha256 = "1f67d5ban0k1902363k3arkfpwkgqj6w1plnxnn11w1w5y3kvj9d"; + rev = "07d4ed4c6b561914aafd787453a685598bec510f"; + sha256 = "1avfwys8lyd6fr2f7bfjr5nlvqw5bn5n5afs8j8j33r8ssi3g3na"; }; meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; }; @@ -5436,24 +5436,24 @@ final: prev: nvim-biscuits = buildVimPluginFrom2Nix { pname = "nvim-biscuits"; - version = "2022-08-17"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "code-biscuits"; repo = "nvim-biscuits"; - rev = "5257ea28f377bc6ec0371f9bcbafdd4c6306199a"; - sha256 = "07b8pfi1n4kfs6gr0ci7adgsd186a5hab9jml6v3piqq152nbn05"; + rev = "5cfee78603bd4795e0709b8947e7ffaa2007cb1d"; + sha256 = "0qmkki3bpnk9rv90vaxyr8qi5y1lrd65x7fvk3h8bcyqnz7hhk28"; }; meta.homepage = "https://github.com/code-biscuits/nvim-biscuits/"; }; nvim-bqf = buildVimPluginFrom2Nix { pname = "nvim-bqf"; - version = "2022-11-01"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "kevinhwang91"; repo = "nvim-bqf"; - rev = "9ed5353e69a919bdcfb66f2708bc0974ecc79a23"; - sha256 = "1skkj6kp8llmln2v8g9kz77y6253nsbhr6zxs5ln3fpawk0s7ajs"; + rev = "3a79f7ce4f6e11eeffe55ba4bde01cdc20da08c0"; + sha256 = "06qf0fgp7icrci8mm34cf9742ivkd87an0806jlnyy6yxnlz7qsz"; }; meta.homepage = "https://github.com/kevinhwang91/nvim-bqf/"; }; @@ -5484,12 +5484,12 @@ final: prev: nvim-cmp = buildNeovimPluginFrom2Nix { pname = "nvim-cmp"; - version = "2022-10-29"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "hrsh7th"; repo = "nvim-cmp"; - rev = "9bb8ee6e2d6ab3c8cc53323b79f05886bc722faa"; - sha256 = "1z7b53yxamph255rvrs5a4pq5hbqa0nbwpdh1xy8fvfc71gap80n"; + rev = "aee40113c2ba3ab158955f233ca083ca9958d6f8"; + sha256 = "0zrld4p8qhiksm4q12zn650mff6vg6xrb6b1dn8yc88ss3zkl5jx"; }; meta.homepage = "https://github.com/hrsh7th/nvim-cmp/"; }; @@ -5592,12 +5592,12 @@ final: prev: nvim-dap = buildVimPluginFrom2Nix { pname = "nvim-dap"; - version = "2022-10-19"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "mfussenegger"; repo = "nvim-dap"; - rev = "3d0d7312bb2a8491eb2927504e5cfa6e81b66de4"; - sha256 = "0apzpy1mchk6iz6gxx218l2cb7rkjwviil56ab9ndk5jdd1irjag"; + rev = "61643680dcb771a29073cd432894e2f81a7c2ae3"; + sha256 = "0qcf6rsg610wcyz4663jjl0d6570pyxg66x6k01yyxbjsqv0jdzm"; }; meta.homepage = "https://github.com/mfussenegger/nvim-dap/"; }; @@ -5616,12 +5616,12 @@ final: prev: nvim-dap-ui = buildVimPluginFrom2Nix { pname = "nvim-dap-ui"; - version = "2022-11-03"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "rcarriga"; repo = "nvim-dap-ui"; - rev = "6a8271505e95913b82305eff63406ef22baad778"; - sha256 = "139qh9m28zv11xy9rjplpwb4r7g4slxcwwfzvha53bzpshn0w2v6"; + rev = "a861906c8d1c457965c64ce6e83ea5e930bf8fd1"; + sha256 = "0k13dybk67d2mbw269qr7afxyvl53vl1ij2587w2jad3gdvqlqgn"; }; meta.homepage = "https://github.com/rcarriga/nvim-dap-ui/"; }; @@ -5724,12 +5724,12 @@ final: prev: nvim-hlslens = buildVimPluginFrom2Nix { pname = "nvim-hlslens"; - version = "2022-10-21"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "kevinhwang91"; repo = "nvim-hlslens"; - rev = "aa6f885a8b5a07015f56626d473980e1edd5b3cc"; - sha256 = "1khd10mflf0kf3cynbwgrndrkvb5ygmry29sm06q55x6b2zsmckv"; + rev = "7df9c5fffd482821e3cfb3997a5714700d2a5bdd"; + sha256 = "11wvr9z8gnrjjfs6z0vckcgjlb6yx3zff4vybp2gq5kbig0ydl3q"; }; meta.homepage = "https://github.com/kevinhwang91/nvim-hlslens/"; }; @@ -5808,12 +5808,12 @@ final: prev: nvim-lint = buildVimPluginFrom2Nix { pname = "nvim-lint"; - version = "2022-11-02"; + version = "2022-11-04"; src = fetchFromGitHub { owner = "mfussenegger"; repo = "nvim-lint"; - rev = "56b6d3729e13c049901e0aa1bbea1b71e97b0cda"; - sha256 = "05j1r3lnq4955xlmhhkjf21qyyv6gj8xrsh61b5r8ys0m74ahx98"; + rev = "9812a18621e00286cb82008b9407e561ed801b03"; + sha256 = "07dlk8s1lfa297ry2ybnipnibn3gr7akmkiryg6s1ysjpaddkdn3"; }; meta.homepage = "https://github.com/mfussenegger/nvim-lint/"; }; @@ -5832,12 +5832,12 @@ final: prev: nvim-lspconfig = buildVimPluginFrom2Nix { pname = "nvim-lspconfig"; - version = "2022-11-01"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "neovim"; repo = "nvim-lspconfig"; - rev = "5f4b1fa83c80f43e434c1fb227967dac9ad8f44c"; - sha256 = "1bvf67jdf1jg0ljcm62hyzy523ngnkzhkxzny5w3z8nf30b15cd8"; + rev = "2b802ab1e94d595ca5cc7c55f9d1fb9b17f9754c"; + sha256 = "1k4nynkgq9wsx4302mqj3gkz07r0gi0kyzkn9bdczzz4yqr7aldi"; }; meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; }; @@ -5880,12 +5880,12 @@ final: prev: nvim-metals = buildVimPluginFrom2Nix { pname = "nvim-metals"; - version = "2022-11-01"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "scalameta"; repo = "nvim-metals"; - rev = "613556dfa4cbdfcba4d515ce781e1b5f284f373c"; - sha256 = "0k04hc9xsrj0b4lavsppni9q9g1r8zlyaq7ih7rrq2slli8zvdn3"; + rev = "611a35398c1e162023f635bd99b2fc10e2d2ea77"; + sha256 = "07c8bdya5px48wsmwp8617ya0zadw7q3asjkk9fmmwy9vm0sf2pn"; }; meta.homepage = "https://github.com/scalameta/nvim-metals/"; }; @@ -5940,12 +5940,12 @@ final: prev: nvim-notify = buildVimPluginFrom2Nix { pname = "nvim-notify"; - version = "2022-10-29"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "rcarriga"; repo = "nvim-notify"; - rev = "354e0ebb269d9e4feca073372431e8453f5f262a"; - sha256 = "1s0jb61hq14hh71saimj8llqqcxibg8bi8gd38l4yrz0c1cqc61l"; + rev = "43c54aec682854b39a7e0e89b4c3ba00426d74a8"; + sha256 = "0ga67fj7wf54mvrbsq423ccw3rvsgrd66dg0pq7cz7x9i7v5dz4d"; }; meta.homepage = "https://github.com/rcarriga/nvim-notify/"; }; @@ -5976,24 +5976,24 @@ final: prev: nvim-scrollbar = buildVimPluginFrom2Nix { pname = "nvim-scrollbar"; - version = "2022-10-26"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "petertriho"; repo = "nvim-scrollbar"; - rev = "49b5a0f2e2d275df4f2e224f3e1cd7f4c64ecafe"; - sha256 = "0i6g9ww2jvvqb45fqvqfa2vwpgq8jpyndmvjv2amirvk1ilhx2i8"; + rev = "02b272d1ef260352896b12a0b0ce7c116b2c8ee3"; + sha256 = "05wchqijinbdk5yk7k7gifc9x1j06l0wxspa08jdi1qhrv2rlllx"; }; meta.homepage = "https://github.com/petertriho/nvim-scrollbar/"; }; nvim-scrollview = buildVimPluginFrom2Nix { pname = "nvim-scrollview"; - version = "2022-09-26"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "dstein64"; repo = "nvim-scrollview"; - rev = "25c23219db8b2b932a595b4d2b661406ce4459fe"; - sha256 = "0vs5qwam3z42s6kdxcyhiw2bwsggjchaqciq878sxvbrg7ya7iil"; + rev = "01876b4373b1764f45b4ea6036e144bef0e3721e"; + sha256 = "0qq7axd1yxa90xxsr218p21nrzm3469qrq93l178wvr5znwgzfyk"; }; meta.homepage = "https://github.com/dstein64/nvim-scrollview/"; }; @@ -6036,12 +6036,12 @@ final: prev: nvim-surround = buildVimPluginFrom2Nix { pname = "nvim-surround"; - version = "2022-10-28"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "kylechui"; repo = "nvim-surround"; - rev = "7e5096b736ae252d04d543af6a13280125dc6d0f"; - sha256 = "1hqa8c0bfj7yl3zdpid4aj26jay65f40ixaydh7ic79rxm9a1k0i"; + rev = "87839e18d3953eb8cebd23a007183fd6c48863b5"; + sha256 = "14gcn2dpiyabl59knzzq7dfj03l77dh17mz3r92wca2lxb76smd5"; }; meta.homepage = "https://github.com/kylechui/nvim-surround/"; }; @@ -6060,24 +6060,24 @@ final: prev: nvim-tree-lua = buildVimPluginFrom2Nix { pname = "nvim-tree.lua"; - version = "2022-10-31"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "nvim-tree"; repo = "nvim-tree.lua"; - rev = "6ca6f99e7689c68679e8f0a58b421545ff52931f"; - sha256 = "0mw2sdlbmnh9x51pn6ggifk0vgik3iim6c3j3mvz3hq33qx8y75h"; + rev = "cf908370fb046641e3aaaa6a6177c1b5d165f186"; + sha256 = "19pqgd785j0b1nwhplhx53qi62spm699xj9mcjr8mxnb2z0x7hcg"; }; meta.homepage = "https://github.com/nvim-tree/nvim-tree.lua/"; }; nvim-treesitter = buildVimPluginFrom2Nix { pname = "nvim-treesitter"; - version = "2022-11-03"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter"; - rev = "58f61e563fadd1788052586f4d6869a99022df3c"; - sha256 = "075645lkq6cr22kfab4kz7ay1cf5r0bg41r3nbhpdb52g1klrz5k"; + rev = "2072692aaa4b6da7c354e66c2caf4b0a8f736858"; + sha256 = "0ckp1kimbfmb2ilh6hvacdvhqkn497cchhhajl96315xqn29w5kd"; }; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; }; @@ -6120,12 +6120,12 @@ final: prev: nvim-treesitter-textobjects = buildVimPluginFrom2Nix { pname = "nvim-treesitter-textobjects"; - version = "2022-10-17"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter-textobjects"; - rev = "13739a5705d9592cbe7da372576363dc8ea5f723"; - sha256 = "11aaddmns22l3wv5gynwv4q82fln0qx62h6avaxvpz6jlyw3x1g2"; + rev = "1f1cdc892b9b2f96afb1bddcb49ac1a12b899796"; + sha256 = "1as6rz26agwrzaykpcg7zg2paazsbw5kz4pa831x68gp7m4p2dyn"; }; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects/"; }; @@ -6156,24 +6156,24 @@ final: prev: nvim-ts-rainbow = buildVimPluginFrom2Nix { pname = "nvim-ts-rainbow"; - version = "2022-09-30"; + version = "2022-11-04"; src = fetchFromGitHub { owner = "p00f"; repo = "nvim-ts-rainbow"; - rev = "1ec3f880585c644ddd50a51502c59f4e36f03e62"; - sha256 = "03403mx5rdknsaia8br0ymc9y53kv8jnnlawfrwralxm1fsrml5h"; + rev = "064fd6c0a15fae7f876c2c6dd4524ca3fad96750"; + sha256 = "1b7z8xyiplb9rjkdqwijnypjqrssrz5lr1wnl5vk1pyb6dnxspzg"; }; meta.homepage = "https://github.com/p00f/nvim-ts-rainbow/"; }; nvim-web-devicons = buildVimPluginFrom2Nix { pname = "nvim-web-devicons"; - version = "2022-10-17"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "nvim-tree"; repo = "nvim-web-devicons"; - rev = "9061e2d355ecaa2b588b71a35e7a11358a7e51e1"; - sha256 = "04qzvk4cpvs1yariwr5mw9034vfx182drdpz2iwplr5dqlmkv64j"; + rev = "c873091fe237f22c915905c4c0c3a82cbfce5f4d"; + sha256 = "0dawjja54p98hyrc6qigpz7993lshn820vdg0v38kdz8q3rsxgq5"; }; meta.homepage = "https://github.com/nvim-tree/nvim-web-devicons/"; }; @@ -6216,12 +6216,12 @@ final: prev: nvimdev-nvim = buildVimPluginFrom2Nix { pname = "nvimdev.nvim"; - version = "2022-10-12"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "neovim"; repo = "nvimdev.nvim"; - rev = "43bf18bc2ace969fe6c3ed0e92975bac4d35965f"; - sha256 = "1kcjx6r04nsfbi8bhinf069r8jm3rvi7gsc258a77wh486xn0s7g"; + rev = "5f4f2f294d45dbdf1936b81b9bcae97651f46fbd"; + sha256 = "0xzfjfs3z4v3w3hc7kvq33a8xyfxxha0x6vpgl4p7vh8rvxc5n8d"; }; meta.homepage = "https://github.com/neovim/nvimdev.nvim/"; }; @@ -6312,12 +6312,12 @@ final: prev: onedarkpro-nvim = buildVimPluginFrom2Nix { pname = "onedarkpro.nvim"; - version = "2022-11-03"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "olimorris"; repo = "onedarkpro.nvim"; - rev = "7610bd6b4d4a6e8b4de5c8c8d81f25de2682a7ab"; - sha256 = "07n36hlyavan02l7jf96lhkm629gkjc7d7lr6lc1fsibqzwfdxa2"; + rev = "91c2991027cb86038bdb764597054b940eadb3f8"; + sha256 = "0ibgy5wfbvds5jy7v7005r932fp3nabyf53yrs172p16xkhgr0m9"; }; meta.homepage = "https://github.com/olimorris/onedarkpro.nvim/"; }; @@ -6336,12 +6336,12 @@ final: prev: onenord-nvim = buildVimPluginFrom2Nix { pname = "onenord.nvim"; - version = "2022-10-30"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "rmehri01"; repo = "onenord.nvim"; - rev = "9f797bee2853d94d8e8fdf05d277aa1ec21043eb"; - sha256 = "0d0vj1xf6v44kbkz0dgq51d4vfkn30v4gkmf7wln87v5ka1l63j6"; + rev = "0cd9f681bee019715bfbe928891579a3af3331e8"; + sha256 = "0rgmzi1ivh1xjjmsfdjwljvm175sr0pbmbf2gixqmi22dfkndcwq"; }; meta.homepage = "https://github.com/rmehri01/onenord.nvim/"; }; @@ -6372,12 +6372,12 @@ final: prev: orgmode = buildVimPluginFrom2Nix { pname = "orgmode"; - version = "2022-11-03"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "nvim-orgmode"; repo = "orgmode"; - rev = "da9a0cf060ccb27927f234a74714a74277c858f1"; - sha256 = "0glps3xlg2pd1gwzmpwvrq3ylcw4mzjwgdq4agdjjl6bh41vdjdq"; + rev = "c81ff93fe0502cef3bb938543ffd44bf8ab33f69"; + sha256 = "0bfd1yak73766d17c92cnfa0bd186a6rsvzwgl0nzg8sz0zamahw"; }; meta.homepage = "https://github.com/nvim-orgmode/orgmode/"; }; @@ -6806,12 +6806,12 @@ final: prev: registers-nvim = buildVimPluginFrom2Nix { pname = "registers.nvim"; - version = "2022-11-03"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "tversteeg"; repo = "registers.nvim"; - rev = "cacd595e794451ce2836539cff6ce0c0c45db046"; - sha256 = "19cwkwmbb626972k8svhm04aiqw174q953bsqxsx72d5sscaisss"; + rev = "2c4f82a8a68b7d3cee7bd345669f2f50bdc6f889"; + sha256 = "1g6jnql1jrdkw6ckb6q1fivcxjkksdqpcy8najxmmw9lv4sksh4k"; }; meta.homepage = "https://github.com/tversteeg/registers.nvim/"; }; @@ -6854,12 +6854,12 @@ final: prev: rnvimr = buildVimPluginFrom2Nix { pname = "rnvimr"; - version = "2022-09-20"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "kevinhwang91"; repo = "rnvimr"; - rev = "3880980edd3c4d9a2eb2f06cf351c7aa458560c1"; - sha256 = "1236j1ci3x064s7n95z4dq6mw8kljgwbqa64da8443l32c6w1738"; + rev = "e9af3795f4233b3273e4b7e9d6bb7d7c8e191412"; + sha256 = "1dv9rnqpjmsfmsxzjshiqdx4kgnh341b9kypb7j0dn65gj2narsq"; }; meta.homepage = "https://github.com/kevinhwang91/rnvimr/"; }; @@ -6914,12 +6914,12 @@ final: prev: rust-tools-nvim = buildVimPluginFrom2Nix { pname = "rust-tools.nvim"; - version = "2022-09-02"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "simrat39"; repo = "rust-tools.nvim"; - rev = "86a2b4e31f504c00715d0dd082a6b8b5d4afbf03"; - sha256 = "1623d6s05wx2qfcrsfg0avx9cwp0ahz4sbpnp2b3miq7r0nbl7yd"; + rev = "99fd1238c6068d0637df30b6cee9a264334015e9"; + sha256 = "0y95kj77p4zjskn6j7bp04scrlgg5l8827zc3m6f18cgcy1qnngf"; }; meta.homepage = "https://github.com/simrat39/rust-tools.nvim/"; }; @@ -6962,12 +6962,12 @@ final: prev: satellite-nvim = buildVimPluginFrom2Nix { pname = "satellite.nvim"; - version = "2022-10-31"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "lewis6991"; repo = "satellite.nvim"; - rev = "3673bc04db3673e15be0e82b85c29f9c14052ffd"; - sha256 = "0nl9kwys0bkzfip5p49w0f3xpj0lmkq3x9a9c3qwnp594h5qcwam"; + rev = "024920b94611684840731ea79f5a9c6a687683e8"; + sha256 = "0nmzabqmfmkx7j7fn9m20vpqmd2bkdw0zk94k44w4dx467zl757y"; }; meta.homepage = "https://github.com/lewis6991/satellite.nvim/"; }; @@ -7167,12 +7167,12 @@ final: prev: sonokai = buildVimPluginFrom2Nix { pname = "sonokai"; - version = "2022-09-09"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "sainnhe"; repo = "sonokai"; - rev = "7b0ad56a0aaa12f205b586b143edb8296d3d5821"; - sha256 = "00mkgzw441gsbk0wfb1vn5dh2z2czcfnpr4fxnyslcaj8y7xs6al"; + rev = "d58ed627c7569cca7d8ea326cce79123cbb94620"; + sha256 = "0b6v3ysv0dqir7f7l5l7mzxclqrmq72jbi9c502p3kf4arpvilg2"; }; meta.homepage = "https://github.com/sainnhe/sonokai/"; }; @@ -7456,12 +7456,12 @@ final: prev: swift-vim = buildVimPluginFrom2Nix { pname = "swift.vim"; - version = "2022-08-01"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "keith"; repo = "swift.vim"; - rev = "3e0529e1a97e3da24aabd18daf8ed92c6da8c68b"; - sha256 = "1xsxbh70q7psvmlps4fwm6ix1zb1ljnlzhsb3a6c5dkh00x7ks9v"; + rev = "ba6f6cef58d08ac741aaf1626d3799d476cd43b6"; + sha256 = "0v2bkzkvqh420r0bpxl9vhq56ql75vi7xra9ifyjflkqxr3lxp83"; }; meta.homepage = "https://github.com/keith/swift.vim/"; }; @@ -7602,12 +7602,12 @@ final: prev: tagbar = buildVimPluginFrom2Nix { pname = "tagbar"; - version = "2022-09-26"; + version = "2022-11-04"; src = fetchFromGitHub { owner = "preservim"; repo = "tagbar"; - rev = "83933d557409639df53fd2ca21484279b5854c1e"; - sha256 = "189hbiijzppn71bphd767cxvw99jacyf1gf3scaas3yb0xmb9kfv"; + rev = "6c3e15ea4a1ef9619c248c2b1eced56a47b61a9e"; + sha256 = "1x47bxvxhw7c4g7ij86xs1zwmb61yr5wcrn3xm606x74c11ff650"; }; meta.homepage = "https://github.com/preservim/tagbar/"; }; @@ -7722,12 +7722,12 @@ final: prev: telescope-frecency-nvim = buildVimPluginFrom2Nix { pname = "telescope-frecency.nvim"; - version = "2022-09-27"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "nvim-telescope"; repo = "telescope-frecency.nvim"; - rev = "9634c3508c6565284065ec011476204ce13f354a"; - sha256 = "1d0d9lwrpxqhvjn1r4jd1dnmra48jabjjbhi35sw41iw1v5v3al3"; + rev = "10771fdb7b4c4b59f2b5c1e8757b0379e1314659"; + sha256 = "0gdaa7bvxi5ppy3is3ac42fbcd7wgp91ircikm0j9sg9f39vjk1i"; }; meta.homepage = "https://github.com/nvim-telescope/telescope-frecency.nvim/"; }; @@ -7795,12 +7795,12 @@ final: prev: telescope-manix = buildVimPluginFrom2Nix { pname = "telescope-manix"; - version = "2022-11-04"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "MrcJkb"; repo = "telescope-manix"; - rev = "700279d1d8bc0267404672d2927b522e7ca87ee3"; - sha256 = "0d10lci5wf84wlixxqnrhn3frl735s5jmzg2yz2l79h37k84xydl"; + rev = "e1ac51513b1952e980edd5bad9ed98f155717b07"; + sha256 = "1bip4njr0sk8v20r5vq41ik5pxrh5d84l448fn3id2r16dqjh9aq"; }; meta.homepage = "https://github.com/MrcJkb/telescope-manix/"; }; @@ -7903,12 +7903,12 @@ final: prev: telescope-nvim = buildVimPluginFrom2Nix { pname = "telescope.nvim"; - version = "2022-10-31"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "nvim-telescope"; repo = "telescope.nvim"; - rev = "4bd4205028d6588cf2e0a1346687a6039b0f0a7c"; - sha256 = "1vs8jgxam37qrxsxgda2fw4b1qb720wvzjwyq9d5c0hbzv7iqz2b"; + rev = "7a4ffef931769c3fe7544214ed7ffde5852653f6"; + sha256 = "0n2cz7pgnn5wbklw0wax0k0gvhbf5gc1rs7i9d1bmwrljipgi4ak"; }; meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; }; @@ -7927,12 +7927,12 @@ final: prev: template-string-nvim = buildVimPluginFrom2Nix { pname = "template-string.nvim"; - version = "2022-08-18"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "axelvc"; repo = "template-string.nvim"; - rev = "84e50b878caa92100c65deec12ccb41aa4ef3fae"; - sha256 = "1ibz9vpqy0lck8pxzr3bikrw3zcrrw0nx5kz53a5n38qrb4l95gg"; + rev = "fa94fd309f511ac19bcba0b4390104520f07a08d"; + sha256 = "00q8f8v6zcs85iyv36byil0a9v20m7q7scmkx1231nq0z21kzadc"; }; meta.homepage = "https://github.com/axelvc/template-string.nvim/"; }; @@ -8083,12 +8083,12 @@ final: prev: todo-comments-nvim = buildVimPluginFrom2Nix { pname = "todo-comments.nvim"; - version = "2022-10-28"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "folke"; repo = "todo-comments.nvim"; - rev = "530eb3a896e9eef270f00f4baafa102361afc93b"; - sha256 = "1bk1mdna3f792b48xasxmkwgyyb49dg6b6vd1bal3z461sk8zi7j"; + rev = "d73693012b5dd0dae7a49504b93dcc79d189c733"; + sha256 = "0z6918hri3r4zws15l598rixcbvdj1g82lv5h68baxlg3n7bzmaz"; }; meta.homepage = "https://github.com/folke/todo-comments.nvim/"; }; @@ -8132,12 +8132,12 @@ final: prev: tokyonight-nvim = buildVimPluginFrom2Nix { pname = "tokyonight.nvim"; - version = "2022-10-28"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "folke"; repo = "tokyonight.nvim"; - rev = "29e2c689c10679f723ae1deadf7f0067d394a545"; - sha256 = "06c1zav7w3izc543iwp0q02zy8qdajx34ifrwqb8ih6mvs0zbav6"; + rev = "ec144d94a8dbd9c8b4f5e50d933d67a37f589ed8"; + sha256 = "1nns9y6k5ig8ihv6xcwcvxs8drnr3mrnnfmsyv5174xr524s00yl"; }; meta.homepage = "https://github.com/folke/tokyonight.nvim/"; }; @@ -8720,12 +8720,12 @@ final: prev: vim-airline = buildVimPluginFrom2Nix { pname = "vim-airline"; - version = "2022-10-13"; + version = "2022-11-06"; src = fetchFromGitHub { owner = "vim-airline"; repo = "vim-airline"; - rev = "0ed7b8bb2ed68d65a5ba55317896680b31d315b0"; - sha256 = "0x8xjfmchvmx5naq83mk3q2h1bda8bl2b691grsc20pfpdqilz2k"; + rev = "29ef9e1f645648739f57b246ea45cd6c8c0e4a7b"; + sha256 = "182cjpib47l1xsak22qzzmwvqfxinqffs5960njjbp2c901hl7kd"; }; meta.homepage = "https://github.com/vim-airline/vim-airline/"; }; @@ -8744,12 +8744,12 @@ final: prev: vim-airline-themes = buildVimPluginFrom2Nix { pname = "vim-airline-themes"; - version = "2022-11-03"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "vim-airline"; repo = "vim-airline-themes"; - rev = "5552f5e9aa1db1b8d588b9a645a88394452d2b05"; - sha256 = "0bzspa5mrhs52x9q6kxkwbxvqg79myim15jg35rf517sraga5v8s"; + rev = "dd81554c2231e438f6d0e8056ea38fd0e80ac02a"; + sha256 = "05jhw8qgs024z0na2kizrrmbl3kmad69p22aw7naqmfnf1sads9q"; }; meta.homepage = "https://github.com/vim-airline/vim-airline-themes/"; }; @@ -8780,12 +8780,12 @@ final: prev: vim-anzu = buildVimPluginFrom2Nix { pname = "vim-anzu"; - version = "2020-06-10"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "osyo-manga"; repo = "vim-anzu"; - rev = "1b95ec384487e559f0ee70e0f46c33683ff533ac"; - sha256 = "0q6s9bb1yv7ir2al4gv69vv4c8m09j1ax47qbhchgz23iwka3vmz"; + rev = "727da5e402d4f96127afafa4d8d2bf222f9c99f6"; + sha256 = "0i5pg88rl54dhwk8ldiqg7dkgz441xq2z9yc1v942s7kwlha609v"; }; meta.homepage = "https://github.com/osyo-manga/vim-anzu/"; }; @@ -9116,12 +9116,12 @@ final: prev: vim-clap = buildVimPluginFrom2Nix { pname = "vim-clap"; - version = "2022-10-16"; + version = "2022-11-12"; src = fetchFromGitHub { owner = "liuchengxu"; repo = "vim-clap"; - rev = "5ef93211921e1f5c85fd2088cf2ceda07c3fe4ae"; - sha256 = "0ykskvwk5vz6dqf4h91vmrk4a92wf3lsmx5pnp837vgky0d15fpj"; + rev = "58e05a4e38afc3fddd513bbb0f35601e4b502cf5"; + sha256 = "148gywsna247fw0fr25y15g6x50k7gs04kmhnppjn4p8waabb8ah"; }; meta.homepage = "https://github.com/liuchengxu/vim-clap/"; }; @@ -9188,12 +9188,12 @@ final: prev: vim-codefmt = buildVimPluginFrom2Nix { pname = "vim-codefmt"; - version = "2022-07-28"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "google"; repo = "vim-codefmt"; - rev = "406686de5855ebb9dc2b9558d53983e65ef5c64e"; - sha256 = "0xlsjbdjg9cyj9zsik1ikcknbjglfzn9zms1avkkhawybb4v6mqi"; + rev = "2b9dd2f1fe5ed51ec9d03773227802fdecfe9f59"; + sha256 = "0bjw7ymi57mrmnidbcy7kqlnvg37hsci1hc4sxvqzfk6qlwvpcsc"; }; meta.homepage = "https://github.com/google/vim-codefmt/"; }; @@ -9392,12 +9392,12 @@ final: prev: vim-dadbod-completion = buildVimPluginFrom2Nix { pname = "vim-dadbod-completion"; - version = "2022-10-11"; + version = "2022-11-08"; src = fetchFromGitHub { owner = "kristijanhusak"; repo = "vim-dadbod-completion"; - rev = "59f2c6450e04f79714a7ceb1fffb4b6372129363"; - sha256 = "0bd1hliz04rwn15mh6g0agfvas4lvismgwdglwbr3csmys8blz3m"; + rev = "dd6b4fcf8a46fefd44d135bb036086bfeedcbf5b"; + sha256 = "0zl1n6qc1ar4yhdb8v63w1vh03sg7pyd9gqgpgjxjxvgyiyrab8z"; }; meta.homepage = "https://github.com/kristijanhusak/vim-dadbod-completion/"; }; @@ -9884,12 +9884,12 @@ final: prev: vim-fubitive = buildVimPluginFrom2Nix { pname = "vim-fubitive"; - version = "2020-09-10"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "tommcdo"; repo = "vim-fubitive"; - rev = "5717417ee75c39ea2f8f446a9491cdf99d5965e9"; - sha256 = "0lkp5i8s1214b9b1q9mg3aq32cvqzfd8q0i90bx9nf6n42cg2kjn"; + rev = "318b5ec47f8f1a65b11aae4d11736420a8d3604e"; + sha256 = "19g1iqcpbgy0kqzp3av8xr7djwkv79443ghwfjckhi6ws40hbvgr"; }; meta.homepage = "https://github.com/tommcdo/vim-fubitive/"; }; @@ -10341,12 +10341,12 @@ final: prev: vim-illuminate = buildVimPluginFrom2Nix { pname = "vim-illuminate"; - version = "2022-11-02"; + version = "2022-11-11"; src = fetchFromGitHub { owner = "RRethy"; repo = "vim-illuminate"; - rev = "fb83d835eac50baeef49aac20c524a80727db0ac"; - sha256 = "0xk5hhsb3gv3yrfcr3gnxj9g9bcdab8nlfi06q5c7nqgy4fryp6n"; + rev = "a6d0b28ea7d6b9d139374be1f94a16bd120fcda3"; + sha256 = "0wby253z3njala4syizy3m463gi8l45gcf7rj866r2jhnfxg9ba8"; }; meta.homepage = "https://github.com/RRethy/vim-illuminate/"; }; @@ -10774,12 +10774,12 @@ final: prev: vim-lsp = buildVimPluginFrom2Nix { pname = "vim-lsp"; - version = "2022-10-29"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "prabirshrestha"; repo = "vim-lsp"; - rev = "0c8fda792177375ee90c03598adb1783c05bed83"; - sha256 = "0lvh0g8bqnyxpqk51iwbdqayy4dmh6hbfg7ha23mslhscl1b3zga"; + rev = "e42203b4f0e46a927dd17b28f142fa91661d7163"; + sha256 = "12v2mh049b037b70q5cpkz0dgqi07hsz4sx2ywvqvwmykv5lrpcv"; }; meta.homepage = "https://github.com/prabirshrestha/vim-lsp/"; }; @@ -10846,12 +10846,12 @@ final: prev: vim-markdown = buildVimPluginFrom2Nix { pname = "vim-markdown"; - version = "2022-09-26"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "preservim"; repo = "vim-markdown"; - rev = "c3f83ebb43b560af066d2a5d66bc77c6c05293b1"; - sha256 = "0r9hki9ngm3ar5k0q8c1kr8w07ynlw7zid87z7bgsbysdch14gyi"; + rev = "7231fa4bbc47c5d0c64fd7f6187b07f0cae18dcd"; + sha256 = "0s75filccsp51z9sh14avjrh8vb3359b33285s9zix9i1zsm0fxb"; }; meta.homepage = "https://github.com/preservim/vim-markdown/"; }; @@ -10883,12 +10883,12 @@ final: prev: vim-matchup = buildVimPluginFrom2Nix { pname = "vim-matchup"; - version = "2022-10-27"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "andymass"; repo = "vim-matchup"; - rev = "09576fd767cc55ca934a95f9bdcf91aa12c32cd0"; - sha256 = "08909dsf8gll8j3rky6zf9i4jlcp2cfkwmy15xmcm6avcy1ziagg"; + rev = "55e3330436784fb8ccc35a5cfeb13e48bab9dcd2"; + sha256 = "170ic9lp566x1l0brj2gj2zpbz5wl57df9wbi3zixm3agj56gnh6"; }; meta.homepage = "https://github.com/andymass/vim-matchup/"; }; @@ -11003,12 +11003,12 @@ final: prev: vim-mundo = buildVimPluginFrom2Nix { pname = "vim-mundo"; - version = "2022-07-17"; + version = "2022-11-05"; src = fetchFromGitHub { owner = "simnalamburt"; repo = "vim-mundo"; - rev = "3c7e008a9922702be979dbfe3c5280313f53618b"; - sha256 = "0gjsv7abpdiv4x199057404xhimlgy6r2f5y22q4p574mq66mg2k"; + rev = "b53d35fb5ca9923302b9ef29e618ab2db4cc675e"; + sha256 = "1dwrarcxrh8in78igm036lpvyww60c93vmmlk8h054i3v2p8vv59"; }; meta.homepage = "https://github.com/simnalamburt/vim-mundo/"; }; @@ -11171,12 +11171,12 @@ final: prev: vim-ocaml = buildVimPluginFrom2Nix { pname = "vim-ocaml"; - version = "2022-10-27"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "ocaml"; repo = "vim-ocaml"; - rev = "5e581ecd1fd430415f1aacfd87697584c117bc06"; - sha256 = "1f6yk5y1xmpc0wfp06mylfynra5aswb177n9j4yrifkzx3mabw5j"; + rev = "284c37e2607446ef798c4b61a4691c41a5661f03"; + sha256 = "17d094gqm5ixlgadrd6fplg2zrx761m091mw7gjpi7bdh1nzw1bw"; }; meta.homepage = "https://github.com/ocaml/vim-ocaml/"; }; @@ -12324,12 +12324,12 @@ final: prev: vim-test = buildVimPluginFrom2Nix { pname = "vim-test"; - version = "2022-09-29"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "vim-test"; repo = "vim-test"; - rev = "e7150de777ef0c81a015972e4feb56c4b3137efd"; - sha256 = "03jc3jf4znhknvw90iqyn4jpwm13fc3w0nw4vllggwxzvihha1hv"; + rev = "ab7feab8cb139e5b4955cb4c6ddf52e968cb24be"; + sha256 = "0glnzs21xhwgir4ndnrv3jlmi5g6b4znybcpp5d4aqxd5sqa80m3"; }; meta.homepage = "https://github.com/vim-test/vim-test/"; }; @@ -12468,12 +12468,12 @@ final: prev: vim-tmux-navigator = buildVimPluginFrom2Nix { pname = "vim-tmux-navigator"; - version = "2022-10-15"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "christoomey"; repo = "vim-tmux-navigator"; - rev = "bd4c38be5b4882991494cf77c0601a55bc45eebf"; - sha256 = "17yqy79p5i54wkg1wmb32v84s05rfaywx7qzayzs5q485zap4813"; + rev = "c2dab181185101070b0ad6c33451f4e2f56a446a"; + sha256 = "15581nighr1a82gkn0blkx75l6bz0vfq573nf626dw1qa652nipz"; }; meta.homepage = "https://github.com/christoomey/vim-tmux-navigator/"; }; @@ -12684,24 +12684,24 @@ final: prev: vim-vsnip = buildVimPluginFrom2Nix { pname = "vim-vsnip"; - version = "2022-10-31"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "hrsh7th"; repo = "vim-vsnip"; - rev = "ceeee48145d27f0b3986ab6f75f52a2449974603"; - sha256 = "0zf9ki5lsn1zmnqsb31kl7x3pkd5bwrqvldp7bp00zwp2fj2z79i"; + rev = "6f873418c4dc601d8ad019a5906eddff5088de9b"; + sha256 = "0jw8580w0x515772gnyw6y922yp0hmxk84r67iw1mv50zbkmafgz"; }; meta.homepage = "https://github.com/hrsh7th/vim-vsnip/"; }; vim-vsnip-integ = buildVimPluginFrom2Nix { pname = "vim-vsnip-integ"; - version = "2022-11-01"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "hrsh7th"; repo = "vim-vsnip-integ"; - rev = "09fc81155166e07e4a24863894cc0108032a236f"; - sha256 = "1bkiif2i2vy28y8pr8kakzin01jfvh53lfkgpraccsi331ncrfcq"; + rev = "1cf89903f12777b90dd79eb4b3d7fbc0b9a254a1"; + sha256 = "00a5kdcdlfnn5f2yv6cavy91f91w0aqckcgpqvchgs631ypjqbp4"; }; meta.homepage = "https://github.com/hrsh7th/vim-vsnip-integ/"; }; @@ -12816,12 +12816,12 @@ final: prev: vim-xkbswitch = buildVimPluginFrom2Nix { pname = "vim-xkbswitch"; - version = "2022-08-20"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "lyokha"; repo = "vim-xkbswitch"; - rev = "daab553bb2c6cf9c437780d26e47a8769b4dd7e2"; - sha256 = "09ycp9bl0kkj6pm1pnpv32lnsmpp29zn42ygq2q16yb4wfx4h326"; + rev = "9ac90d328f7863039c6edff0b4b8081349a378e8"; + sha256 = "1j5vmavmgwvwrarc768x1p5ng4bjyb3fdm118z019r0zpcdknpgx"; }; meta.homepage = "https://github.com/lyokha/vim-xkbswitch/"; }; @@ -13008,12 +13008,12 @@ final: prev: vimspector = buildVimPluginFrom2Nix { pname = "vimspector"; - version = "2022-10-29"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "puremourning"; repo = "vimspector"; - rev = "5c328b513485675c061558d2f25a98ee503cb243"; - sha256 = "0wwkz7prh7zabvna0imbx24byx3ky2hzia5jg03na0z8g1djm3vv"; + rev = "56f469c787c16bf3e57ab27d2d2b3f97064e7686"; + sha256 = "0i6g0flnnby189c1vbkam214ax76kpw5w0w6m326lpakqv4zbvp8"; fetchSubmodules = true; }; meta.homepage = "https://github.com/puremourning/vimspector/"; @@ -13021,12 +13021,12 @@ final: prev: vimtex = buildVimPluginFrom2Nix { pname = "vimtex"; - version = "2022-11-03"; + version = "2022-11-10"; src = fetchFromGitHub { owner = "lervag"; repo = "vimtex"; - rev = "06c47edcc2c44c1ca87a2c04a411cf0c0bd39a14"; - sha256 = "0gkq4j2cwc6a4mhhyd3ivkc5qj6m9p4jg469za4v5g1v59w22pch"; + rev = "34887074ebbb66584d731a12de418db2c066ba68"; + sha256 = "0p5frm3a4m3ijvr4zaxc0f6x5wrrax6lsyirinmqybi352a7bfj6"; }; meta.homepage = "https://github.com/lervag/vimtex/"; }; @@ -13346,12 +13346,12 @@ final: prev: zk-nvim = buildVimPluginFrom2Nix { pname = "zk-nvim"; - version = "2022-07-14"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "mickael-menu"; repo = "zk-nvim"; - rev = "73affbc95fba3655704e4993a8929675bc9942a1"; - sha256 = "0rw72y6h19dq67ncrfyc4y2743czh8j735ihrqykfj2mr3rwa2h5"; + rev = "1d2ebc679eeea8bfddc908e31bbe9e8b0928ef21"; + sha256 = "0inbay3sn8f78wvf1pl785nl0pdiv6m4604d3zh8a27myhw6lr2b"; }; meta.homepage = "https://github.com/mickael-menu/zk-nvim/"; }; @@ -13382,12 +13382,12 @@ final: prev: catppuccin-nvim = buildVimPluginFrom2Nix { pname = "catppuccin-nvim"; - version = "2022-11-03"; + version = "2022-11-13"; src = fetchFromGitHub { owner = "catppuccin"; repo = "nvim"; - rev = "72540852ca00d7842ea1123635aecb9353192f0b"; - sha256 = "0mb3qhg5aaxvkc8h95sbwg5nm89w719l9apymc5rpmis4r0mr5zg"; + rev = "05d46987d986bc2c07342c92a89434e0f14e5999"; + sha256 = "1ap8rkdypf4wczfi8blyxxy78hck7dbk0b7a8wi4lc2lall3kzcg"; }; meta.homepage = "https://github.com/catppuccin/nvim/"; }; @@ -13406,24 +13406,24 @@ final: prev: chad = buildVimPluginFrom2Nix { pname = "chad"; - version = "2022-11-04"; + version = "2022-11-14"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "chadtree"; - rev = "5ec88a8374cd7e2564ffeaa27f82dd75229312d2"; - sha256 = "1swic358xzzmw0pxp7x2r35yf70ivbg83fljk8p3qi7s9pr0ngr8"; + rev = "0c9d2ac40071ff572e254d423468a476c63a74cc"; + sha256 = "0pwbfqrkcwbqml2kn1dg2i5yd0w9vjqajykgv6g7j0dw0r06qvy3"; }; meta.homepage = "https://github.com/ms-jpq/chadtree/"; }; dracula-vim = buildVimPluginFrom2Nix { pname = "dracula-vim"; - version = "2022-10-29"; + version = "2022-11-07"; src = fetchFromGitHub { owner = "dracula"; repo = "vim"; - rev = "834f54c1e09a4ae7115f590ad26d470ccd67c3b4"; - sha256 = "1m1gzj2npmx31hpmhc05i17lqikbk3v2k3zf10rls6ipgz4lfsz3"; + rev = "b9f4f3a169266031d3744335595eee02a6e396c6"; + sha256 = "1a9vxpdh6ry9760m69762s5annq4k52k5bk9gy3v0lr4zyvfcfgf"; }; meta.homepage = "https://github.com/dracula/vim/"; }; @@ -13478,12 +13478,12 @@ final: prev: rose-pine = buildVimPluginFrom2Nix { pname = "rose-pine"; - version = "2022-10-24"; + version = "2022-11-09"; src = fetchFromGitHub { owner = "rose-pine"; repo = "neovim"; - rev = "27a822e95b6581b706364e02fd8276d967438f82"; - sha256 = "1wg6yzf2w3ly30mpjg05vg7ik4912cfxc8558j2iq7vb960bcwwl"; + rev = "bfc2aa0006ad56f1a9792d6c52dc7f04fb4af94d"; + sha256 = "088wwwsqwxhii7n88k3kd6mqf7jajiva9a4a3g87nflf4g11fh57"; }; meta.homepage = "https://github.com/rose-pine/neovim/"; }; From 75a0854b211969ba834fb96ff2c8819004c8afb3 Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Mon, 14 Nov 2022 19:05:20 +0100 Subject: [PATCH 109/133] vimPlugins.telescope-live-grep-args-nvim: init at 2022-11-07 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 13 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 1a3b7430b609..4738679fe7dd 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -7781,6 +7781,18 @@ final: prev: meta.homepage = "https://github.com/nvim-telescope/telescope-github.nvim/"; }; + telescope-live-grep-args-nvim = buildVimPluginFrom2Nix { + pname = "telescope-live-grep-args.nvim"; + version = "2022-11-07"; + src = fetchFromGitHub { + owner = "nvim-telescope"; + repo = "telescope-live-grep-args.nvim"; + rev = "7de3baef1ec4fb77f7a8195fe87bebd513244b6a"; + sha256 = "0yfn2mlgb3kz5bmkahri7gxv91fj3svy6ygb4lbn649519l840a6"; + }; + meta.homepage = "https://github.com/nvim-telescope/telescope-live-grep-args.nvim/"; + }; + telescope-lsp-handlers-nvim = buildVimPluginFrom2Nix { pname = "telescope-lsp-handlers.nvim"; version = "2021-09-07"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 6650e74ce48b..da0f490e4fa2 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -652,6 +652,7 @@ https://github.com/nvim-telescope/telescope-fzf-native.nvim/,, https://github.com/nvim-telescope/telescope-fzf-writer.nvim/,, https://github.com/nvim-telescope/telescope-fzy-native.nvim/,, https://github.com/nvim-telescope/telescope-github.nvim/,, +https://github.com/nvim-telescope/telescope-live-grep-args.nvim/,HEAD, https://github.com/gbrlsnchs/telescope-lsp-handlers.nvim/,, https://github.com/MrcJkb/telescope-manix/,HEAD, https://github.com/nvim-telescope/telescope-media-files.nvim/,HEAD, From 5a1852b2d0d6534883b118cb0e5554275d986381 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Mon, 14 Nov 2022 10:52:14 -0800 Subject: [PATCH 110/133] minidlna: 1.3.1 -> 1.3.2 A few bug-fixes and upstream patches. Signed-off-by: Henner Zeller --- pkgs/tools/networking/minidlna/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/minidlna/default.nix b/pkgs/tools/networking/minidlna/default.nix index 78066efab532..84dc5db9c1a5 100644 --- a/pkgs/tools/networking/minidlna/default.nix +++ b/pkgs/tools/networking/minidlna/default.nix @@ -2,16 +2,15 @@ let pname = "minidlna"; - version = "1.3.1"; + version = "1.3.2"; in stdenv.mkDerivation { inherit pname version; - # tarball for 1.3.1 is missing src = fetchgit { url = "https://git.code.sf.net/p/${pname}/git"; rev = "v${builtins.replaceStrings [ "." ] [ "_" ] version}"; - hash = "sha256-nbvz/QHSZBTZEqX/utOoOF5vorhrxGqIBA9qfpIZzyU="; + hash = "sha256-v+puglrbuLqHIAbrO7bhOA0npc/GYp0Bdi3DnD9qyII="; }; preConfigure = '' From 7c3fb5774eac09fd3901416cbae69769ce4a66b8 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 14 Nov 2022 19:55:52 +0100 Subject: [PATCH 111/133] tor: 0.4.7.10 -> 0.4.7.11 --- pkgs/tools/security/tor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/tor/default.nix b/pkgs/tools/security/tor/default.nix index db6f890eda8b..67fdac238e66 100644 --- a/pkgs/tools/security/tor/default.nix +++ b/pkgs/tools/security/tor/default.nix @@ -30,11 +30,11 @@ let in stdenv.mkDerivation rec { pname = "tor"; - version = "0.4.7.10"; + version = "0.4.7.11"; src = fetchurl { url = "https://dist.torproject.org/${pname}-${version}.tar.gz"; - sha256 = "sha256-ZH5W36Weo22rBSAn/Px2Y5BcgmwDUJNjxFaQDs1DWls="; + sha256 = "sha256-zzyvvu29vF/RwFQOdNbRCgBerf+SkJg5OBX4Z+MqE24="; }; outputs = [ "out" "geoip" ]; From d180abe8840827638f446b0cc299a94bf18bac92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=BChrk?= Date: Mon, 14 Nov 2022 19:56:57 +0100 Subject: [PATCH 112/133] pulumi: 3.43.1 -> 3.46.1 --- pkgs/tools/admin/pulumi/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/pulumi/default.nix b/pkgs/tools/admin/pulumi/default.nix index 5f0b754e8ddb..42daa857c163 100644 --- a/pkgs/tools/admin/pulumi/default.nix +++ b/pkgs/tools/admin/pulumi/default.nix @@ -14,16 +14,16 @@ buildGoModule rec { pname = "pulumi"; - version = "3.43.1"; + version = "3.46.1"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-LbPXCwU6aJp+z5scfej5Reo2X8QUvZpASWkcDBBF1J0="; + hash = "sha256-bEAggHGMhSSwEiYj+DdJRajR4DLunpidbd4DflkBrQ8="; }; - vendorSha256 = "sha256-APGiCqHdXDRCFx0W8RDeL89sskYZ2vzdpg4ePE7KixA="; + vendorSha256 = "sha256-+JKCCNkByqWuvAv8qUL3L9DlDhvIbMsDbsfn3KYolUo="; sourceRoot = "source/pkg"; @@ -62,6 +62,7 @@ buildGoModule rec { # Code generation tests also download dependencies from network rm codegen/{docs,dotnet,go,nodejs,python,schema}/*_test.go + rm -R codegen/{dotnet,go,nodejs,python}/gen_program_test '' + lib.optionalString stdenv.isDarwin '' export PULUMI_HOME=$(mktemp -d) ''; From 791a23a00a8575400250ac8eaa6b844aefb23989 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 14 Nov 2022 19:21:12 +0000 Subject: [PATCH 113/133] ncview: use xorg.* packages directly instead of xlibsWrapper indirection Validated as no change in `out` output with `diffoscope`. --- pkgs/tools/X11/ncview/default.nix | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/X11/ncview/default.nix b/pkgs/tools/X11/ncview/default.nix index c22c6c0eb38a..2b2aac5f66b0 100644 --- a/pkgs/tools/X11/ncview/default.nix +++ b/pkgs/tools/X11/ncview/default.nix @@ -1,5 +1,11 @@ -{ lib, stdenv, fetchurl -, netcdf, xlibsWrapper, xorg, udunits, expat +{ lib +, stdenv +, fetchurl +, expat +, libpng +, udunits +, netcdf +, xorg }: let @@ -14,7 +20,17 @@ in stdenv.mkDerivation { sha256 = "1gliziyxil2fcz85hj6z0jq33avrxdcjs74d500lhxwvgd8drfp8"; }; - buildInputs = [ netcdf xlibsWrapper xorg.libXaw udunits expat ]; + buildInputs = [ + expat + libpng + netcdf + udunits + xorg.libICE + xorg.libSM + xorg.libX11 + xorg.libXaw + xorg.libXt + ]; meta = with lib; { description = "Visual browser for netCDF format files"; From 2e320d1ac0d67fbe5543ecc1ce34e4d1d0a00a6e Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 14 Nov 2022 20:25:07 +0100 Subject: [PATCH 114/133] freshrss: 1.20.0 -> 1.20.1 --- pkgs/servers/web-apps/freshrss/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/freshrss/default.nix b/pkgs/servers/web-apps/freshrss/default.nix index dd2de486b886..1440c0cf2a2a 100644 --- a/pkgs/servers/web-apps/freshrss/default.nix +++ b/pkgs/servers/web-apps/freshrss/default.nix @@ -8,13 +8,13 @@ stdenvNoCC.mkDerivation rec { pname = "FreshRSS"; - version = "1.20.0"; + version = "1.20.1"; src = fetchFromGitHub { owner = "FreshRSS"; repo = "FreshRSS"; rev = version; - hash = "sha256-mzhEw2kFv77SmeuEx66n9ujWMscZO3+03tHimk1/vk4="; + hash = "sha256-hpxBPYNFw5Wz07SdYT9GLX8XicAtKi82HjlLCccQMtk="; }; passthru.tests = nixosTests.freshrss; From 1785135be6f813707287e266935a912d54550605 Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Thu, 10 Nov 2022 15:19:53 +0100 Subject: [PATCH 115/133] qownnotes: 22.10.2 -> 22.11.4 --- pkgs/applications/office/qownnotes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix index c57d21ccc148..b4addd5cff2d 100644 --- a/pkgs/applications/office/qownnotes/default.nix +++ b/pkgs/applications/office/qownnotes/default.nix @@ -5,13 +5,13 @@ mkDerivation rec { pname = "qownnotes"; - version = "22.10.2"; + version = "22.11.4"; src = fetchurl { url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz"; # Fetch the checksum of current version with curl: # curl https://download.tuxfamily.org/qownnotes/src/qownnotes-.tar.xz.sha256 - hash = "sha256-cHUkMrfVrdQXKrmK2jcNT6CHw0+VEWc1tp1XGuI0XcQ="; + hash = "sha256-oZLbplYn1AYCv/fPb2dotpQeb8MITx7F5Tc4Wxd65Ew="; }; nativeBuildInputs = [ qmake qttools ]; From 2f933d60fb8788a801c43d1c4c7e16fda7af372c Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Mon, 14 Nov 2022 19:19:20 +0100 Subject: [PATCH 116/133] doc/vim: Clarify buildVimPlugin/buildVimPluginFrom2Nix --- doc/languages-frameworks/vim.section.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index 399477c041ab..82ec2592560d 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -125,7 +125,7 @@ If one of your favourite plugins isn't packaged, you can package it yourself: { config, pkgs, ... }: let - easygrep = pkgs.vimUtils.buildVimPlugin { + easygrep = pkgs.vimUtils.buildVimPluginFrom2Nix { name = "vim-easygrep"; src = pkgs.fetchFromGitHub { owner = "dkprice"; @@ -155,6 +155,8 @@ in } ``` +If your package requires building specific parts, use instead `pkgs.vimUtils.buildVimPlugin`. + ### Specificities for some plugins #### Treesitter From 29ecd6e1d351ba1294d5f4c3900f476eb7ea52cf Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 14 Nov 2022 15:04:33 -0500 Subject: [PATCH 117/133] vimPlugins.nvim-treesitter: update grammars --- .../vim/plugins/nvim-treesitter/generated.nix | 82 +++++++++++-------- 1 file changed, 46 insertions(+), 36 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix b/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix index 528baaaa3771..69dc58b6339e 100644 --- a/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix +++ b/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix @@ -75,12 +75,12 @@ }; c_sharp = buildGrammar { language = "c_sharp"; - version = "5b60f99"; + version = "3ef3f7f"; source = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter-c-sharp"; - rev = "5b60f99545fea00a33bbfae5be956f684c4c69e2"; - hash = "sha256-4R6+15ZbtC/LtSHpk7DqcMiFYjht+062Av31spK07rc="; + rev = "3ef3f7f99e16e528e6689eae44dff35150993307"; + hash = "sha256-xBRSwuodQTrKHjwx3JVgnwsAkp9EO+6su3hc2d+6DBQ="; }; }; clojure = buildGrammar { @@ -209,12 +209,12 @@ }; dockerfile = buildGrammar { language = "dockerfile"; - version = "25c71d6"; + version = "f913be9"; source = fetchFromGitHub { owner = "camdencheek"; repo = "tree-sitter-dockerfile"; - rev = "25c71d6a24cdba8f0c74ef40d4d2d93defd7e196"; - hash = "sha256-Y6RvFXKryFH+NF87YKa8QIgB+Dh871cfuM/em0b4ks4="; + rev = "f913be9bb8689af22114605012693146fbe9ddaa"; + hash = "sha256-EoZDjUyL4dEwE6E9r9KruQ8Kb83bAyyFq7a/NFBdZjU="; }; }; dot = buildGrammar { @@ -269,12 +269,12 @@ }; embedded_template = buildGrammar { language = "embedded_template"; - version = "1a538da"; + version = "91fc5ae"; source = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter-embedded-template"; - rev = "1a538da253d73f896b9f6c0c7d79cda58791ac5c"; - hash = "sha256-vebevlTAISkHhNcv89tzSXJX3DsGakxWaxxmv9KU40g="; + rev = "91fc5ae1140d5c9d922312431f7d251a48d7b8ce"; + hash = "sha256-WAMCwKS+gOvBVC9h0qKHLgNedCRQwbJV+++SDqHhK5g="; }; }; erlang = buildGrammar { @@ -533,12 +533,12 @@ }; hocon = buildGrammar { language = "hocon"; - version = "bb412e2"; + version = "c390f10"; source = fetchFromGitHub { owner = "antosha417"; repo = "tree-sitter-hocon"; - rev = "bb412e2633f4a3611a4e16efe58d917093bb4782"; - hash = "sha256-ujVznEMWnhUjWZS+LAZZYba1Ybs2oLg/iCHPba1TZcQ="; + rev = "c390f10519ae69fdb03b3e5764f5592fb6924bcc"; + hash = "sha256-9Zo3YYoo9mJ4Buyj7ofSrlZURrwstBo0vgzeTq1jMGw="; }; }; html = buildGrammar { @@ -633,12 +633,12 @@ }; julia = buildGrammar { language = "julia"; - version = "8fb38ab"; + version = "58d0701"; source = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter-julia"; - rev = "8fb38abff74652c4faddbf04d2d5bbbc6b4bae25"; - hash = "sha256-G619Zlb2uL2PskYKNqoG6XXBxRipeGFU4eOLw7u3BRo="; + rev = "58d0701550b4cce02acf433eedada03b634cc524"; + hash = "sha256-ywliyXSL6A/NtqPnjRU++4C26H9MO6slz/3bIYFgGp4="; }; }; kotlin = buildGrammar { @@ -859,12 +859,12 @@ }; perl = buildGrammar { language = "perl"; - version = "ff5c310"; + version = "749d26f"; source = fetchFromGitHub { owner = "ganezdragon"; repo = "tree-sitter-perl"; - rev = "ff5c3108083af6fcb7575e32a7558b8165a05bcd"; - hash = "sha256-ETlvojT2X8gg323zxxNBpNqJ4ARVeo5ICKxRXUpzTv8="; + rev = "749d26fe13fb131b92e6515416096e572575b981"; + hash = "sha256-VOLvfgh1ZbuDk1BKBW9ln/9b/seudFv0PTIOFe1AtNE="; }; }; php = buildGrammar { @@ -969,22 +969,22 @@ }; r = buildGrammar { language = "r"; - version = "0f4f66e"; + version = "80efda5"; source = fetchFromGitHub { owner = "r-lib"; repo = "tree-sitter-r"; - rev = "0f4f66e5050037b759ea040dafd596bcdda1de94"; - hash = "sha256-5rgc1ZmzFT3Hgv0GKVu5Ns21Nc3Ck8NW2naslvKzguM="; + rev = "80efda55672d1293aa738f956c7ae384ecdc31b4"; + hash = "sha256-qUfyITSZRnSm4zZHfkM/Dm5AeFEFLcCtRrInx0Xs/tg="; }; }; racket = buildGrammar { language = "racket"; - version = "69ca563"; + version = "09cb27a"; source = fetchFromGitHub { owner = "6cdh"; repo = "tree-sitter-racket"; - rev = "69ca563af3bcf9d67220532e0814786f2dc34db1"; - hash = "sha256-GLBi/NM7dFsPtmZWbFm/vM0gOwqbihOqXnxMR5k8hWE="; + rev = "09cb27a06415bce529a26774a842f5a80d50d362"; + hash = "sha256-+chEzpHh4eBTEpx2+sFXDMco18zNPFUu5HMQ3dB+LwI="; }; }; rasi = buildGrammar { @@ -1049,12 +1049,12 @@ }; rust = buildGrammar { language = "rust"; - version = "47b061c"; + version = "0431a2c"; source = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter-rust"; - rev = "47b061c1e1ba3a7e9c2f450363a50e87de3f7c61"; - hash = "sha256-v6ExAQxXIOeLfCjxbIhVEd7XBCkXHCiukRyrUqEBxIA="; + rev = "0431a2c60828731f27491ee9fdefe25e250ce9c9"; + hash = "sha256-DnUq8TwLGPtN1GXw0AV2t+tj7UKrU4kU32rjGoCHMpE="; }; }; scala = buildGrammar { @@ -1069,12 +1069,12 @@ }; scheme = buildGrammar { language = "scheme"; - version = "af0fd1f"; + version = "bdcd2c8"; source = fetchFromGitHub { owner = "6cdh"; repo = "tree-sitter-scheme"; - rev = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9"; - hash = "sha256-K3+zmykjq2DpCnk17Ko9LOyGQTBZb1/dgVXIVynCYd4="; + rev = "bdcd2c8496701153506a9e3e1b76dfed852873ba"; + hash = "sha256-KfcWGE92nx9lrs3V/lKeE0pPqCqFC/mHamkyryrcdoo="; }; }; scss = buildGrammar { @@ -1159,14 +1159,14 @@ }; swift = buildGrammar { language = "swift"; - version = "d7808f0"; + version = "25f8de3"; source = fetchFromGitHub { owner = "alex-pinkus"; repo = "tree-sitter-swift"; nativeBuildInputs = [ nodejs tree-sitter ]; postFetch = "pushd $out && tree-sitter generate && popd"; - rev = "d7808f030a44dc8768948042baa7566949785e2f"; - hash = "sha256-7Gjpf2isOpeOV3ZMTMibK+F4C4v8ywOPin2Wv86s+AM="; + rev = "25f8de356e3c33099ed691bd3b8b5c0fe3a11e15"; + hash = "sha256-KCmEE5O7EAA0uUcYkM/FpeEIn9tOqrJosSpYsBvivOk="; }; }; sxhkdrc = buildGrammar { @@ -1275,12 +1275,12 @@ }; v = buildGrammar { language = "v"; - version = "d0e7c75"; + version = "66b92a8"; source = fetchFromGitHub { owner = "vlang"; repo = "vls"; - rev = "d0e7c755193c762eb1521e3b4740b22929cc91cc"; - hash = "sha256-d1NeZixsN9992Q1UC5ZKGN4LNxlsvdL91QW2K8d1J9Y="; + rev = "66b92a89ef1e149300df79c0b2a934ad959c8eec"; + hash = "sha256-R6Irz3sdyzKH1qWOUwUYK1OKhYs0PUYS/azYn/nb6jk="; }; location = "tree_sitter_v"; }; @@ -1304,6 +1304,16 @@ hash = "sha256-l4DgThuP9EFU55YQ9lgvVP/8pXojOllQ870gRsBF3FE="; }; }; + vhs = buildGrammar { + language = "vhs"; + version = "2f87b9d"; + source = fetchFromGitHub { + owner = "charmbracelet"; + repo = "tree-sitter-vhs"; + rev = "2f87b9d973597e69552ecf6a4fe16470fbd8c44e"; + hash = "sha256-G1ytXVBeGN1606aFrPdNFp3Khlg/BTFq2VS176Knb7k="; + }; + }; vim = buildGrammar { language = "vim"; version = "4ae7bd6"; From 45aa39daec9ddba16ca46bd4c81537a5d14ad354 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 14 Nov 2022 15:30:08 -0500 Subject: [PATCH 118/133] vimPlugins.legendary-nvim: downgrade to fix duplicate tags --- pkgs/applications/editors/vim/plugins/generated.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 4738679fe7dd..2b0ff3b6949e 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -4032,12 +4032,12 @@ final: prev: legendary-nvim = buildVimPluginFrom2Nix { pname = "legendary.nvim"; - version = "2022-11-14"; + version = "2022-10-30"; src = fetchFromGitHub { owner = "mrjones2014"; repo = "legendary.nvim"; - rev = "67acc7d5ce7598ea159e1c689cc0f323bcbfb297"; - sha256 = "0m0vzapvvj6122kw9jsllhpdq2ljkn7wanmglxsf7d640p8b5s58"; + rev = "cf388c44976ca8a9f950d98879b3e98d0f0f4b83"; + sha256 = "0y0zndgs43aa30pdqjpsf1kyc65vg3klwfqqkkz3dkk75417xi2x"; }; meta.homepage = "https://github.com/mrjones2014/legendary.nvim/"; }; From f8a32e2df43290fac1297ab0b846e2dcc13eefb0 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 14 Nov 2022 14:55:00 +0100 Subject: [PATCH 119/133] mercurial: 6.2.3 -> 6.3.0 This also re-enables a test which has been fixed, and disables another newly broken one. Changelog: https://www.mercurial-scm.org/wiki/Release6.3 --- .../version-management/mercurial/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index feb1063503ff..b3af90c2a38e 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -21,11 +21,11 @@ let self = python3Packages.buildPythonApplication rec { pname = "mercurial${lib.optionalString fullBuild "-full"}"; - version = "6.2.3"; + version = "6.3.0"; src = fetchurl { url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz"; - sha256 = "sha256-mNGuAC9orfU9ZcWUf+i3o3n5jPBdm46h9Ad9LKXc6ds="; + sha256 = "sha256-iAOZtVSh3mQQFs5fNbiEDXXxjWh7mrHDWNrAWK1m5pg="; }; format = "other"; @@ -35,7 +35,7 @@ let cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball { inherit src; name = "mercurial-${version}"; - sha256 = "sha256-UWYXVPdEMITLNdBjnoo8IuLOGZiwUJL+dqSl26nf5qs="; + sha256 = "sha256-VfIZ1bV8bhjjBL4KNjToPuu8gg9TkChziH2rRKhdRXE="; sourceRoot = "mercurial-${version}/rust"; } else null; cargoRoot = if rustSupport then "rust" else null; @@ -149,9 +149,6 @@ let # doesn't like the extra setlocale warnings emitted by our bash wrappers test-locale.t - # Python 3.10 error message change https://bz.mercurial-scm.org/show_bug.cgi?id=6643 - test-http-bad-server.t - # Python 3.10-3.12 deprecation warning: distutils # https://bz.mercurial-scm.org/show_bug.cgi?id=6729 test-hghave.t @@ -159,6 +156,10 @@ let # Python 3.10-3.12 deprecation warning: asyncore # https://bz.mercurial-scm.org/show_bug.cgi?id=6727 test-patchbomb-tls.t + + # Test broken with recent versions of git due to default policy change + # https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/302 + test-convert-git.t EOF export HGTEST_REAL_HG="${mercurial}/bin/hg" From 06fd3af8f33ac49f3e1598fe2decd83dd60dbab4 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 14 Nov 2022 21:14:42 +0100 Subject: [PATCH 120/133] sony-headphones-client: 1.2 -> 1.3.1 --- .../audio/sony-headphones-client/default.nix | 6 ++---- .../audio/sony-headphones-client/gcc.patch | 19 ------------------- 2 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 pkgs/applications/audio/sony-headphones-client/gcc.patch diff --git a/pkgs/applications/audio/sony-headphones-client/default.nix b/pkgs/applications/audio/sony-headphones-client/default.nix index 127b2a5b1a93..c4491cd2a0dc 100644 --- a/pkgs/applications/audio/sony-headphones-client/default.nix +++ b/pkgs/applications/audio/sony-headphones-client/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "SonyHeadphonesClient"; - version = "1.2"; + version = "1.3.1"; src = fetchFromGitHub { owner = "Plutoberth"; repo = "SonyHeadphonesClient"; rev = "v${version}"; - sha256 = "sha256-oejXrs9X+R6Jydro0XIw2XifzFA7asDhpobtaE3//Hc="; + hash = "sha256-0DQanrglJiGsN8qQ5KxkL8I+Fpt1abeeuKiM8v9GclM="; fetchSubmodules = true; }; @@ -19,8 +19,6 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-Wno-dev" ]; - patches = [ ./gcc.patch ]; - postPatch = '' substituteInPlace Constants.h \ --replace "UNKNOWN = -1" "// UNKNOWN removed since it doesn't fit in char" diff --git a/pkgs/applications/audio/sony-headphones-client/gcc.patch b/pkgs/applications/audio/sony-headphones-client/gcc.patch deleted file mode 100644 index 31050e4789e7..000000000000 --- a/pkgs/applications/audio/sony-headphones-client/gcc.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/SingleInstanceFuture.h b/SingleInstanceFuture.h -index 8af733f..d2e6c49 100644 ---- a/SingleInstanceFuture.h -+++ b/SingleInstanceFuture.h -@@ -12,13 +12,13 @@ template - class SingleInstanceFuture : public std::future - { - public: -- SingleInstanceFuture() = default; -+ SingleInstanceFuture(void) = default; - template - void setFromAsync(Func func, Args&&... args) noexcept(false); - bool ready(); - - private: -- SingleInstanceFuture(std::future other); -+ SingleInstanceFuture(std::future other); - SingleInstanceFuture operator=(std::future& other); - }; From aa357fcf6e8af51b7c1c351a4d6a24f62f46ec19 Mon Sep 17 00:00:00 2001 From: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> Date: Mon, 14 Nov 2022 21:44:56 +0000 Subject: [PATCH 121/133] unfs3: 0.9.22 -> 0.10.0 Fixes the build. --- pkgs/servers/unfs3/default.nix | 35 ++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/unfs3/default.nix b/pkgs/servers/unfs3/default.nix index 363856a58423..afd1ac14970b 100644 --- a/pkgs/servers/unfs3/default.nix +++ b/pkgs/servers/unfs3/default.nix @@ -1,15 +1,27 @@ -{ fetchurl, lib, stdenv, flex, bison }: +{ fetchFromGitHub +, lib +, stdenv +, flex +, bison +, autoreconfHook +, pkg-config +, libtirpc +}: stdenv.mkDerivation rec { pname = "unfs3"; - version = "0.9.22"; + version = "0.10.0"; - src = fetchurl { - url = "mirror://sourceforge/unfs3/${pname}-${version}.tar.gz"; - sha256 = "076zkyqkn56q0a8n3h65n1a68fknk4hrrp6mbhajq5s1wp5248j8"; + src = fetchFromGitHub { + owner = "unfs3"; + repo = pname; + rev = "refs/tags/${pname}-${version}"; + hash = "sha256-5iAriIutBhwyZVS7AG2fnkrHOI7pNAKfYv062Cy0WXw="; }; - nativeBuildInputs = [ flex bison ]; + nativeBuildInputs = [ flex bison autoreconfHook pkg-config ]; + + buildInputs = [ libtirpc ]; configureFlags = [ "--disable-shared" ]; @@ -25,13 +37,16 @@ stdenv.mkDerivation rec { server. ''; - homepage = "http://unfs3.sourceforge.net/"; + # The old http://unfs3.sourceforge.net/ has a + # http-equiv="refresh" pointing here, so we can assume that + # whoever controls the old URL approves of the "unfs3" github + # account. + homepage = "https://unfs3.github.io/"; + changelog = "https://raw.githubusercontent.com/unfs3/unfs3/unfs3-${version}/NEWS"; + mainProgram = "unfsd"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; maintainers = [ ]; - - # https://github.com/unfs3/unfs3/issues/13 - broken = true; }; } From bfc75b74d6d3024a81ef0002cbbe0a89aaf2566e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 22:45:57 +0100 Subject: [PATCH 122/133] sbclPackages: fixed cl-freetype2 --- .../cl-freetype2-fix-grovel-includes.patch | 16 ++++++++++++++++ pkgs/development/lisp-modules-new/ql.nix | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/lisp-modules-new/patches/cl-freetype2-fix-grovel-includes.patch diff --git a/pkgs/development/lisp-modules-new/patches/cl-freetype2-fix-grovel-includes.patch b/pkgs/development/lisp-modules-new/patches/cl-freetype2-fix-grovel-includes.patch new file mode 100644 index 000000000000..5260f0c05841 --- /dev/null +++ b/pkgs/development/lisp-modules-new/patches/cl-freetype2-fix-grovel-includes.patch @@ -0,0 +1,16 @@ +--- a/src/ffi/grovel/grovel-freetype.h ++++ b/src/ffi/grovel/grovel-freetype.h +@@ -2,7 +2,7 @@ + #include + #include FT_FREETYPE_H + +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + +Diff finished. Mon Nov 14 22:41:57 2022 diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index 090561107397..78f582a3b932 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -22,6 +22,11 @@ let cl-cairo2 = pkg: { nativeLibs = [ cairo ]; }; + cl-freetype2 = pkg: { + nativeLibs = [ freetype ]; + nativeBuildInputs = [ freetype ]; + patches = [ ./patches/cl-freetype2-fix-grovel-includes.patch ]; + }; cl-cffi-gtk-gdk = pkg: { nativeLibs = [ gtk3 ]; }; From 488a73f6b37df466b49fe4f26327e6d680041e98 Mon Sep 17 00:00:00 2001 From: CnTeng Date: Sat, 12 Nov 2022 14:14:05 +0800 Subject: [PATCH 123/133] spotifywm: 2016-11-28 -> 2022-10-26 --- pkgs/applications/audio/spotifywm/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/spotifywm/default.nix b/pkgs/applications/audio/spotifywm/default.nix index 2241db126b81..0d03e74b623a 100644 --- a/pkgs/applications/audio/spotifywm/default.nix +++ b/pkgs/applications/audio/spotifywm/default.nix @@ -1,13 +1,13 @@ { lib, stdenv, fetchFromGitHub, spotify, xorg, runtimeShell }: stdenv.mkDerivation { pname = "spotifywm-unstable"; - version = "2016-11-28"; + version = "2022-10-26"; src = fetchFromGitHub { - owner = "dasJ"; - repo = "spotifywm"; - rev = "91dd5532ffb7a398d775abe94fe7781904ab406f"; - sha256 = "01z088i83410bpx1vbp7c6cq01r431v55l7340x3izp53lnpp379"; + owner = "dasJ"; + repo = "spotifywm"; + rev = "8624f539549973c124ed18753881045968881745"; + sha256 = "sha256-AsXqcoqUXUFxTG+G+31lm45gjP6qGohEnUSUtKypew0="; }; buildInputs = [ xorg.libX11 ]; From 6ca354dd2f0bab83aadf8b200890c1133bea0c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 22:48:34 +0100 Subject: [PATCH 124/133] sbclPackages: fixed cl-cairo2-xlib --- pkgs/development/lisp-modules-new/ql.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index 78f582a3b932..0e14878f8596 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -22,6 +22,9 @@ let cl-cairo2 = pkg: { nativeLibs = [ cairo ]; }; + cl-cairo2-xlib = pkg: { + nativeLibs = [ gtk2-x11 ]; + }; cl-freetype2 = pkg: { nativeLibs = [ freetype ]; nativeBuildInputs = [ freetype ]; From a4c3b8aad29a581db3019b7e8f7ffa1ff4657a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 22:49:23 +0100 Subject: [PATCH 125/133] sbclPackages: fixed cl-pango --- pkgs/development/lisp-modules-new/ql.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index 0e14878f8596..1eca377aa4d2 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -30,6 +30,9 @@ let nativeBuildInputs = [ freetype ]; patches = [ ./patches/cl-freetype2-fix-grovel-includes.patch ]; }; + cl-pango = pkg: { + nativeLibs = [ pango ]; + }; cl-cffi-gtk-gdk = pkg: { nativeLibs = [ gtk3 ]; }; From 22b79c23a10cc8179215819f707c69629fed3308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 22:55:41 +0100 Subject: [PATCH 126/133] sbclPackages: marked cl-random and cl-random-tests as broken --- .../lisp-modules-new/import/database/sqlite.lisp | 3 +++ pkgs/development/lisp-modules-new/imported.nix | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp index 8ff0f3e1c7d4..a7094f5ad1dc 100644 --- a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp +++ b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp @@ -90,6 +90,9 @@ in {") "hu.dwim.zlib" ;; Missing libgvc.so native library "hu.dwim.graphviz" + ;; These require libRmath.so, but I don't know where to get it from + "cl-random" + "cl-random-tests" )) (defmethod database->nix-expression ((database sqlite-database) outfile) diff --git a/pkgs/development/lisp-modules-new/imported.nix b/pkgs/development/lisp-modules-new/imported.nix index f09448ab3723..2a75beeb5511 100644 --- a/pkgs/development/lisp-modules-new/imported.nix +++ b/pkgs/development/lisp-modules-new/imported.nix @@ -20457,6 +20457,9 @@ in { }); systems = [ "cl-random" ]; lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "anaphora" pkgs) (getAttr "array-operations" pkgs) (getAttr "cl-num-utils" pkgs) (getAttr "cl-rmath" pkgs) (getAttr "cl-slice" pkgs) (getAttr "gsll" pkgs) (getAttr "let-plus" pkgs) (getAttr "lla" pkgs) ]; + meta = { + broken = true; + }; }; cl-random-forest = { pname = "cl-random-forest"; @@ -20496,6 +20499,9 @@ in { }); systems = [ "cl-random-tests" ]; lispLibs = [ (getAttr "cl-random" pkgs) (getAttr "clunit" pkgs) ]; + meta = { + broken = true; + }; }; cl-rdfxml = { pname = "cl-rdfxml"; From 3f50d33747883a3b4dbb31646cb32da9e86ad686 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 14 Nov 2022 22:56:41 +0100 Subject: [PATCH 127/133] neko: fix build on aarch64-darwin --- pkgs/development/compilers/neko/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/neko/default.nix b/pkgs/development/compilers/neko/default.nix index 52606781935b..96bf06e41ea0 100644 --- a/pkgs/development/compilers/neko/default.nix +++ b/pkgs/development/compilers/neko/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, boehmgc, zlib, sqlite, pcre, cmake, pkg-config +{ lib, stdenv, fetchFromGitHub, fetchpatch, boehmgc, zlib, sqlite, pcre, cmake, pkg-config , git, apacheHttpd, apr, aprutil, libmysqlclient, mbedtls, openssl, pkgs, gtk2, libpthreadstubs }: @@ -13,6 +13,14 @@ stdenv.mkDerivation rec { sha256 = "19rc59cx7qqhcqlb0znwbnwbg04c1yq6xmvrwm1xi46k3vxa957g"; }; + patches = [ + # https://github.com/HaxeFoundation/neko/pull/224 + (fetchpatch { + url = "https://github.com/HaxeFoundation/neko/commit/ff5da9b0e96cc0eabc44ad2c10b7a92623ba49ee.patch"; + sha256 = "sha256-isM7QGPiyXgT2zpIGd+r12vKg7I1rOWYTTWxuECafro="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config git ]; buildInputs = [ boehmgc zlib sqlite pcre apacheHttpd apr aprutil @@ -26,7 +34,9 @@ stdenv.mkDerivation rec { bin/neko bin/test.n ''; - doInstallCheck = true; + # Called from tools/test.neko line 2 + # Uncaught exception - Segmentation fault + doInstallCheck = !stdenv.isDarwin; dontPatchELF = true; dontStrip = true; From 118863c4f2973571263656f2accb9c75a7d28b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 23:00:08 +0100 Subject: [PATCH 128/133] sbclPackages: fixed cl-gtk2-{gdk,glib,pango} --- pkgs/development/lisp-modules-new/ql.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index 1eca377aa4d2..b311520b6d66 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -33,6 +33,15 @@ let cl-pango = pkg: { nativeLibs = [ pango ]; }; + cl-gtk2-gdk = pkg: { + nativeLibs = [ gtk2-x11 ]; + }; + cl-gtk2-glib = pkg: { + nativeLibs = [ glib ]; + }; + cl-gtk2-pango = pkg: { + nativeLibs = [ pango ]; + }; cl-cffi-gtk-gdk = pkg: { nativeLibs = [ gtk3 ]; }; From ba7a40a602b16d121aa1dea41712b567b046d584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 23:01:20 +0100 Subject: [PATCH 129/133] sbclPackages: fixed cl-rsvg2 --- pkgs/development/lisp-modules-new/ql.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index b311520b6d66..c079d5c436d2 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -42,6 +42,9 @@ let cl-gtk2-pango = pkg: { nativeLibs = [ pango ]; }; + cl-rsvg2 = pkg: { + nativeLibs = [ librsvg ]; + }; cl-cffi-gtk-gdk = pkg: { nativeLibs = [ gtk3 ]; }; From 775b15cabbd86464b93713bc03046d019dc6b202 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 14 Nov 2022 23:01:22 +0100 Subject: [PATCH 130/133] python3Packages.slixmpp: 1.8.2 -> 1.8.3 Slixmpp versions before 1.8.3 would not validate a certificate hostname due to a very relaxed SSL context, that did not validate certificates at all. Fixes: CVE-2022-45197 --- pkgs/development/python-modules/slixmpp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/slixmpp/default.nix b/pkgs/development/python-modules/slixmpp/default.nix index 30bdd8b31ff4..1f9f5e9f04f0 100644 --- a/pkgs/development/python-modules/slixmpp/default.nix +++ b/pkgs/development/python-modules/slixmpp/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "slixmpp"; - version = "1.8.2"; + version = "1.8.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-U7lD2iVy2gS5Ktop4PVKg+cUbIg4MJt+m6tH5aOb1Y4="; + hash = "sha256-rJtZqq7tZ/VFk4fMpDZYyTQRa1Pokmn2aw6LA+FBGXw="; }; propagatedBuildInputs = [ From 8e768a61d0fac08f8168482c4ef63253b784ff2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 23:02:42 +0100 Subject: [PATCH 131/133] sbclPackages: marked math as broken --- pkgs/development/lisp-modules-new/import/database/sqlite.lisp | 1 + pkgs/development/lisp-modules-new/imported.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp index a7094f5ad1dc..0fd0807fc6b9 100644 --- a/pkgs/development/lisp-modules-new/import/database/sqlite.lisp +++ b/pkgs/development/lisp-modules-new/import/database/sqlite.lisp @@ -80,6 +80,7 @@ in {") "hu.dwim.quasi-quote" ;; Tries to write in $HOME "ubiquitous" + "math" ;; Upstream bad packaging, multiple systems in clml.blas.asd "clml.blas.hompack" ;; Fails on SBCL due to heap exhaustion diff --git a/pkgs/development/lisp-modules-new/imported.nix b/pkgs/development/lisp-modules-new/imported.nix index 2a75beeb5511..a592eb845075 100644 --- a/pkgs/development/lisp-modules-new/imported.nix +++ b/pkgs/development/lisp-modules-new/imported.nix @@ -47325,6 +47325,9 @@ in { }); systems = [ "math" ]; lispLibs = [ (getAttr "cl-utilities" pkgs) (getAttr "font-discovery" pkgs) (getAttr "gsll" pkgs) (getAttr "vgplot" pkgs) ]; + meta = { + broken = true; + }; }; math_slash_appr = { pname = "math_appr"; From e695acf19250d931f4d0a7e3ab8e5ae4d86c9142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Mon, 14 Nov 2022 23:04:43 +0100 Subject: [PATCH 132/133] sbclPackages: fixed pzmq-{compat,examples,test} --- pkgs/development/lisp-modules-new/ql.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix index c079d5c436d2..07dd90feb302 100644 --- a/pkgs/development/lisp-modules-new/ql.nix +++ b/pkgs/development/lisp-modules-new/ql.nix @@ -178,6 +178,18 @@ let nativeBuildInputs = [ pkgs.zeromq ]; nativeLibs = [ pkgs.zeromq ]; }; + pzmq-compat = pkg: { + nativeBuildInputs = [ pkgs.zeromq ]; + nativeLibs = [ pkgs.zeromq ]; + }; + pzmq-examples = pkg: { + nativeBuildInputs = [ pkgs.zeromq ]; + nativeLibs = [ pkgs.zeromq ]; + }; + pzmq-test = pkg: { + nativeBuildInputs = [ pkgs.zeromq ]; + nativeLibs = [ pkgs.zeromq ]; + }; }; qlpkgs = From d72bcc2bc97723c3c9365b334553654525d8f226 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 14 Nov 2022 22:41:35 +0100 Subject: [PATCH 133/133] erlang: wxmac -> wxGTK --- pkgs/development/interpreters/erlang/generic-builder.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/erlang/generic-builder.nix b/pkgs/development/interpreters/erlang/generic-builder.nix index 667fb749d330..7237d09817ff 100644 --- a/pkgs/development/interpreters/erlang/generic-builder.nix +++ b/pkgs/development/interpreters/erlang/generic-builder.nix @@ -17,7 +17,6 @@ , libGL ? null , libGLU ? null , wxGTK ? null -, wxmac ? null , xorg ? null , parallelBuild ? false , systemd @@ -72,7 +71,7 @@ }: assert wxSupport -> (if stdenv.isDarwin -then wxmac != null +then wxGTK != null else libGL != null && libGLU != null && wxGTK != null && xorg != null); assert odbcSupport -> unixODBC != null; @@ -80,7 +79,7 @@ assert javacSupport -> openjdk11 != null; let inherit (lib) optional optionals optionalAttrs optionalString; - wxPackages2 = if stdenv.isDarwin then [ wxmac ] else wxPackages; + wxPackages2 = if stdenv.isDarwin then [ wxGTK ] else wxPackages; in stdenv.mkDerivation ({