Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
cbcbfb49 2f9a2c9d

+124 -28
+1 -1
pkgs/applications/networking/instant-messengers/discord/base.nix
··· 37 stdenv.cc.cc alsa-lib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype 38 gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid 39 libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender 40 - libXtst nspr nss libxcb pango systemd libXScrnSaver 41 libappindicator-gtk3 libdbusmenu 42 ]; 43
··· 37 stdenv.cc.cc alsa-lib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype 38 gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid 39 libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender 40 + libXtst nspr nss libxcb pango libXScrnSaver 41 libappindicator-gtk3 libdbusmenu 42 ]; 43
+2
pkgs/applications/video/mpv/wrapper.nix
··· 79 rm "$out/Applications/mpv.app/Contents/MacOS/mpv" 80 makeWrapper "${mpv}/Applications/mpv.app/Contents/MacOS/mpv" "$out/Applications/mpv.app/Contents/MacOS/mpv" ${mostMakeWrapperArgs} 81 ''; 82 }; 83 in 84 lib.makeOverridable wrapper
··· 79 rm "$out/Applications/mpv.app/Contents/MacOS/mpv" 80 makeWrapper "${mpv}/Applications/mpv.app/Contents/MacOS/mpv" "$out/Applications/mpv.app/Contents/MacOS/mpv" ${mostMakeWrapperArgs} 81 ''; 82 + 83 + meta.mainProgram = "mpv"; 84 }; 85 in 86 lib.makeOverridable wrapper
+6
pkgs/applications/virtualization/qemu/default.nix
··· 112 url = "https://gitlab.com/qemu-project/qemu/-/commit/13a028336f2c05e7ff47dfdaf30dfac7f4883e80.patch"; 113 sha256 = "sha256-23xVixVl+JDBNdhe5j5WY8CB4MsnUo+sjrkAkG+JS6M="; 114 }) 115 ] ++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch 116 ++ lib.optionals stdenv.hostPlatform.isMusl [ 117 ./sigrtminmax.patch
··· 112 url = "https://gitlab.com/qemu-project/qemu/-/commit/13a028336f2c05e7ff47dfdaf30dfac7f4883e80.patch"; 113 sha256 = "sha256-23xVixVl+JDBNdhe5j5WY8CB4MsnUo+sjrkAkG+JS6M="; 114 }) 115 + # Fixes managedsave (snapshot creation) with QXL video device. Remove with next release. 116 + (fetchpatch { 117 + name = "qxl-fix-pre-save-logic.patch"; 118 + url = "https://gitlab.com/qemu-project/qemu/-/commit/eb94846280df3f1e2a91b6179fc05f9890b7e384.patch"; 119 + sha256 = "sha256-p31fd47RTSw928DOMrubQQybnzDAGm23z4Yhe+hGJQ8="; 120 + }) 121 ] ++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch 122 ++ lib.optionals stdenv.hostPlatform.isMusl [ 123 ./sigrtminmax.patch
+2 -2
pkgs/desktops/gnome/extensions/default.nix
··· 55 ]; 56 57 in rec { 58 - inherit buildShellExtension; 59 - 60 gnome38Extensions = mapUuidNames (produceExtensionsList "38"); 61 gnome40Extensions = mapUuidNames (produceExtensionsList "40"); 62 gnome41Extensions = mapUuidNames (produceExtensionsList "41"); ··· 79 mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md"; 80 remove-dropdown-arrows = throw "gnomeExtensions.remove-dropdown-arrows removed since 2021-05-25: The extensions has not seen an update sine GNOME 3.34. Furthermore, the functionality it provides is obsolete as of GNOME 40."; 81 }) 82 # Make the set "public" 83 lib.recurseIntoAttrs 84 ];
··· 55 ]; 56 57 in rec { 58 gnome38Extensions = mapUuidNames (produceExtensionsList "38"); 59 gnome40Extensions = mapUuidNames (produceExtensionsList "40"); 60 gnome41Extensions = mapUuidNames (produceExtensionsList "41"); ··· 77 mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md"; 78 remove-dropdown-arrows = throw "gnomeExtensions.remove-dropdown-arrows removed since 2021-05-25: The extensions has not seen an update sine GNOME 3.34. Furthermore, the functionality it provides is obsolete as of GNOME 40."; 79 }) 80 + # Export buildShellExtension function 81 + (extensions: extensions // { inherit buildShellExtension; }) 82 # Make the set "public" 83 lib.recurseIntoAttrs 84 ];
+16 -4
pkgs/development/libraries/physics/cernlib/default.nix
··· 35 export PATH=$PATH:$CERN_ROOT/bin 36 ''; 37 38 buildPhase = '' 39 cd $CERN_ROOT 40 mkdir -p build bin lib 41 42 cd $CERN_ROOT/build 43 $CVSCOSRC/config/imake_boot 44 - make -j $NIX_BUILD_CORES bin/kuipc 45 - make -j $NIX_BUILD_CORES scripts/Makefile 46 pushd scripts 47 - make -j $NIX_BUILD_CORES install.bin 48 popd 49 - make -j $NIX_BUILD_CORES 50 ''; 51 52 installPhase = ''
··· 35 export PATH=$PATH:$CERN_ROOT/bin 36 ''; 37 38 + FFLAGS = lib.optionals (lib.versionAtLeast gfortran.version "10.0.0") [ 39 + # Fix https://github.com/vmc-project/geant3/issues/17 40 + "-fallow-invalid-boz" 41 + 42 + # Fix for gfortran 10 43 + "-fallow-argument-mismatch" 44 + ]; 45 + 46 + makeFlags = [ 47 + "FORTRANOPTIONS=$(FFLAGS)" 48 + ]; 49 + 50 buildPhase = '' 51 cd $CERN_ROOT 52 mkdir -p build bin lib 53 54 cd $CERN_ROOT/build 55 $CVSCOSRC/config/imake_boot 56 + make -j $NIX_BUILD_CORES $makeFlags bin/kuipc 57 + make -j $NIX_BUILD_CORES $makeFlags scripts/Makefile 58 pushd scripts 59 + make -j $NIX_BUILD_CORES $makeFlags install.bin 60 popd 61 + make -j $NIX_BUILD_CORES $makeFlags 62 ''; 63 64 installPhase = ''
+1
pkgs/development/python-modules/tensorflow/default.nix
··· 344 license = licenses.asl20; 345 maintainers = with maintainers; [ jyp abbradar ]; 346 platforms = with platforms; linux ++ darwin; 347 broken = !(xlaSupport -> cudaSupport); 348 }; 349 };
··· 344 license = licenses.asl20; 345 maintainers = with maintainers; [ jyp abbradar ]; 346 platforms = with platforms; linux ++ darwin; 347 + timeout = 86400; # 24 hours, needed for darwin 348 broken = !(xlaSupport -> cudaSupport); 349 }; 350 };
+2 -2
pkgs/misc/vscode-extensions/default.nix
··· 1516 mktplcRef = { 1517 name = "even-better-toml"; 1518 publisher = "tamasfe"; 1519 - version = "0.9.3"; 1520 - sha256 = "16x2y58hkankazpwm93j8lqdn3mala7iayck548kki9zx4qrhhck"; 1521 }; 1522 meta = { 1523 license = lib.licenses.mit;
··· 1516 mktplcRef = { 1517 name = "even-better-toml"; 1518 publisher = "tamasfe"; 1519 + version = "0.14.2"; 1520 + sha256 = "17djwa2bnjfga21nvyz8wwmgnjllr4a7nvrsqvzm02hzlpwaskcl"; 1521 }; 1522 meta = { 1523 license = lib.licenses.mit;
-2
pkgs/os-specific/linux/kernel/generic.nix
··· 203 features = kernelFeatures; 204 inherit commonStructuredConfig structuredExtraConfig extraMakeFlags isZen isHardened isLibre modDirVersion; 205 isXen = lib.warn "The isXen attribute is deprecated. All Nixpkgs kernels that support it now have Xen enabled." true; 206 - kernelOlder = lib.versionOlder version; 207 - kernelAtLeast = lib.versionAtLeast version; 208 passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]); 209 tests = let 210 overridableKernel = finalKernel // {
··· 203 features = kernelFeatures; 204 inherit commonStructuredConfig structuredExtraConfig extraMakeFlags isZen isHardened isLibre modDirVersion; 205 isXen = lib.warn "The isXen attribute is deprecated. All Nixpkgs kernels that support it now have Xen enabled." true; 206 passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]); 207 tests = let 208 overridableKernel = finalKernel // {
+4 -3
pkgs/os-specific/linux/kernel/manual-config.nix
··· 97 (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")) && 98 (lib.versionOlder version "4.14"); 99 in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // { 100 - passthru = { 101 inherit version modDirVersion config kernelPatches configfile 102 moduleBuildDependencies stdenv; 103 inherit isZen isHardened isLibre; 104 isXen = lib.warn "The isXen attribute is deprecated. All Nixpkgs kernels that support it now have Xen enabled." true; 105 - kernelOlder = lib.versionOlder version; 106 - kernelAtLeast = lib.versionAtLeast version; 107 }; 108 109 inherit src;
··· 97 (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")) && 98 (lib.versionOlder version "4.14"); 99 in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // { 100 + passthru = rec { 101 inherit version modDirVersion config kernelPatches configfile 102 moduleBuildDependencies stdenv; 103 inherit isZen isHardened isLibre; 104 isXen = lib.warn "The isXen attribute is deprecated. All Nixpkgs kernels that support it now have Xen enabled." true; 105 + baseVersion = lib.head (lib.splitString "-rc" version); 106 + kernelOlder = lib.versionOlder baseVersion; 107 + kernelAtLeast = lib.versionAtLeast baseVersion; 108 }; 109 110 inherit src;
+3 -3
pkgs/servers/dendrite/default.nix
··· 2 3 buildGoModule rec { 4 pname = "matrix-dendrite"; 5 - version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "matrix-org"; 9 repo = "dendrite"; 10 rev = "v${version}"; 11 - sha256 = "iCxfsIOZqPQjY0u2Zw3PCe0IJDczqDjcTUA3U5zXbgM="; 12 }; 13 14 - vendorSha256 = "sha256-XS1B6Nl5zGevxE1SohpoTwT/bXn5udYV5ANVFn7eTyA="; 15 16 passthru.tests = { 17 inherit (nixosTests) dendrite;
··· 2 3 buildGoModule rec { 4 pname = "matrix-dendrite"; 5 + version = "0.5.1"; 6 7 src = fetchFromGitHub { 8 owner = "matrix-org"; 9 repo = "dendrite"; 10 rev = "v${version}"; 11 + sha256 = "1HCVWSxXOR2syN+dLDSvrNzYHTj/vXZRHkXhU0f3m1k="; 12 }; 13 14 + vendorSha256 = "sha256-RqEt0RAsKWKy6NvMzulqY56nZ7fIxgJkgN/WpEZ3F2I="; 15 16 passthru.tests = { 17 inherit (nixosTests) dendrite;
+2 -2
pkgs/servers/reproxy/default.nix
··· 2 3 buildGoModule rec { 4 pname = "reproxy"; 5 - version = "0.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "umputun"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-z10KfDwIwitiR6ei1xV9//zhH7DLTow1giEYyjh8FIg="; 12 }; 13 14 postPatch = ''
··· 2 3 buildGoModule rec { 4 pname = "reproxy"; 5 + version = "0.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "umputun"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-3kpGeG60WSpcIqVLw437gkDT8XLsDyhGL8/sEnhTgBw="; 12 }; 13 14 postPatch = ''
+3 -3
pkgs/tools/backup/kopia/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kopia"; 5 - version = "0.9.5"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-1HCpUfK8y4BaBluThpRVeXTPgMUym6R+WXCO+2pRNjc="; 12 }; 13 14 - vendorSha256 = "sha256-tYu1T4oHkvj4QOS/e/6N9IjMlxrGKosQ78DVgAyh6/Q="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "kopia"; 5 + version = "0.9.6"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-lfzlYpkAGGY7fs9PYPSg2XYgW92WV1/zh2oRz4Qw7vs="; 12 }; 13 14 + vendorSha256 = "sha256-xa6B3gGgJc7E8VCfpRXlE8Jw3ylNnfynK+QEiqy2yF4="; 15 16 doCheck = false; 17
+69
pkgs/tools/misc/parquet-tools/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , fetchpatch 4 + , python3Packages 5 + }: 6 + 7 + with python3Packages; 8 + 9 + buildPythonApplication rec { 10 + pname = "parquet-tools"; 11 + version = "0.2.9"; 12 + disabled = pythonOlder "3.8"; 13 + 14 + format = "pyproject"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "ktrueda"; 18 + repo = "parquet-tools"; 19 + rev = version; 20 + sha256 = "0aw0x7lhagp4dwis09fsizr7zbhdpliav0ns5ll5qny7x4m6rkfy"; 21 + }; 22 + 23 + patches = [ 24 + (fetchpatch { 25 + url = "https://github.com/ktrueda/parquet-tools/commit/1c70a07e1c9f17c8890d23aad3ded5dd6c706cb3.patch"; 26 + sha256 = "08j1prdqj8ksw8gwiyj7ivshk82ahmywbzmywclw52nlnniig0sa"; 27 + }) 28 + ]; 29 + 30 + postPatch = '' 31 + substituteInPlace pyproject.toml \ 32 + --replace 'thrift = "^0.13.0"' 'thrift = "*"' \ 33 + --replace 'halo = "^0.0.29"' 'halo = "*"' 34 + substituteInPlace tests/test_inspect.py \ 35 + --replace "parquet-cpp-arrow version 5.0.0" "parquet-cpp-arrow version 6.0.0" \ 36 + --replace "serialized_size: 2222" "serialized_size: 2221" 37 + ''; 38 + 39 + nativeBuildInputs = [ poetry-core ]; 40 + 41 + propagatedBuildInputs = [ 42 + boto3 43 + colorama 44 + halo 45 + pandas 46 + pyarrow 47 + tabulate 48 + thrift 49 + ]; 50 + 51 + checkInputs = [ 52 + pytestCheckHook 53 + moto 54 + pytest-mock 55 + ]; 56 + 57 + disabledTests = [ 58 + # these tests try to read python code as parquet and fail 59 + "test_local_wildcard" 60 + "test_local_and_s3_wildcard_files" 61 + ]; 62 + 63 + meta = with lib; { 64 + description = "A CLI tool for parquet files"; 65 + homepage = "https://github.com/ktrueda/parquet-tools"; 66 + license = licenses.mit; 67 + maintainers = with maintainers; [ cpcloud ]; 68 + }; 69 + }
+2
pkgs/top-level/all-packages.nix
··· 1841 1842 pacparser = callPackage ../tools/networking/pacparser { }; 1843 1844 pass = callPackage ../tools/security/pass { }; 1845 1846 passphrase2pgp = callPackage ../tools/security/passphrase2pgp { };
··· 1841 1842 pacparser = callPackage ../tools/networking/pacparser { }; 1843 1844 + parquet-tools = callPackage ../tools/misc/parquet-tools { }; 1845 + 1846 pass = callPackage ../tools/security/pass { }; 1847 1848 passphrase2pgp = callPackage ../tools/security/passphrase2pgp { };
+11 -6
pkgs/top-level/linux-kernels.nix
··· 173 ]; 174 }; 175 176 - linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix { 177 - kernelPatches = [ 178 - kernelPatches.bridge_stp_helper 179 - kernelPatches.request_key_helper 180 - ]; 181 - }; 182 183 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec { 184 kernel = linux_5_15;
··· 173 ]; 174 }; 175 176 + linux_testing = let 177 + testing = callPackage ../os-specific/linux/kernel/linux-testing.nix { 178 + kernelPatches = [ 179 + kernelPatches.bridge_stp_helper 180 + kernelPatches.request_key_helper 181 + ]; 182 + }; 183 + latest = packageAliases.linux_latest.kernel; 184 + in if latest.kernelAtLeast testing.baseVersion 185 + then latest 186 + else testing; 187 188 linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix rec { 189 kernel = linux_5_15;