Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 0e9237ac f3e09e3e

+348 -129
+3
doc/contributing/coding-conventions.chapter.md
··· 453 453 } 454 454 ``` 455 455 456 + When fetching from GitHub, commits must always be referenced by their full commit hash. This is because GitHub shares commit hashes among all forks and returns `404 Not Found` when a short commit hash is ambiguous. It already happens for some short, 6-character commit hashes in `nixpkgs`. 457 + It is a practical vector for a denial-of-service attack by pushing large amounts of auto generated commits into forks and was already [demonstrated against GitHub Actions Beta](https://blog.teddykatz.com/2019/11/12/github-actions-dos.html). 458 + 456 459 Find the value to put as `sha256` by running `nix-shell -p nix-prefetch-github --run "nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix"`. 457 460 458 461 ## Obtaining source hash {#sec-source-hashes}
+10
maintainers/maintainer-list.nix
··· 5643 5643 githubId = 510202; 5644 5644 name = "Ismaël Bouya"; 5645 5645 }; 5646 + impl = { 5647 + email = "noah@noahfontes.com"; 5648 + matrix = "@impl:matrix.org"; 5649 + github = "impl"; 5650 + githubId = 41129; 5651 + name = "Noah Fontes"; 5652 + keys = [{ 5653 + fingerprint = "F5B2 BE1B 9AAD 98FE 2916 5597 3665 FFF7 9D38 7BAA"; 5654 + }]; 5655 + }; 5646 5656 imsofi = { 5647 5657 email = "sofi+git@mailbox.org"; 5648 5658 github = "imsofi";
+10 -7
pkgs/applications/editors/emacs/generic.nix
··· 15 15 , libgccjit, targetPlatform, makeWrapper # native-comp params 16 16 , fetchFromSavannah 17 17 , systemd ? null 18 - , withX ? !stdenv.isDarwin 18 + , withX ? !stdenv.isDarwin && !withPgtk 19 19 , withNS ? stdenv.isDarwin 20 20 , withGTK2 ? false, gtk2-x11 ? null 21 - , withGTK3 ? false, gtk3-x11 ? null, gsettings-desktop-schemas ? null 21 + , withGTK3 ? withPgtk, gtk3-x11 ? null, gsettings-desktop-schemas ? null 22 22 , withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null, glib-networking ? null 23 23 , withMotif ? false, motif ? null 24 24 , withSQLite3 ? false ··· 29 29 , nativeComp ? true 30 30 , withAthena ? false 31 31 , withToolkitScrollBars ? true 32 - , withPgtk ? false 32 + , withPgtk ? false, gtk3 ? null 33 33 , withXinput2 ? withX && lib.versionAtLeast version "29" 34 34 , withImageMagick ? lib.versionOlder version "27" && (withX || withNS) 35 35 , toolkit ? ( ··· 45 45 assert withNS -> !withX; 46 46 assert withNS -> stdenv.isDarwin; 47 47 assert (withGTK2 && !withNS) -> withX; 48 - assert (withGTK3 && !withNS) -> withX; 49 - assert withGTK2 -> !withGTK3 && gtk2-x11 != null; 50 - assert withGTK3 -> !withGTK2 && gtk3-x11 != null; 48 + assert (withGTK3 && !withNS) -> withX || withPgtk; 49 + assert withGTK2 -> !withGTK3 && gtk2-x11 != null && !withPgtk; 50 + assert withGTK3 -> !withGTK2 && ((gtk3-x11 != null) || withPgtk); 51 + assert withPgtk -> withGTK3 && !withX && gtk3 != null; 51 52 assert withXwidgets -> withGTK3 && webkitgtk != null; 52 53 53 54 ··· 134 135 ++ lib.optionals withImageMagick [ imagemagick ] 135 136 ++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ] 136 137 ++ lib.optional (withX && withGTK2) gtk2-x11 137 - ++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ] 138 + ++ lib.optional (withX && withGTK3) gtk3-x11 139 + ++ lib.optional withGTK3 gsettings-desktop-schemas 140 + ++ lib.optional withPgtk gtk3 138 141 ++ lib.optional (withX && withMotif) motif 139 142 ++ lib.optional withSQLite3 sqlite 140 143 ++ lib.optional withWebP libwebp
+2 -2
pkgs/applications/misc/warpd/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "warpd"; 17 - version = "1.3.2"; 17 + version = "1.3.3"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "rvaiya"; 21 21 repo = "warpd"; 22 22 rev = "v${version}"; 23 - sha256 = "AR/uLgNX1VLPEcfUd8cnplMiaoEJlUxQ55Fst62RnbI="; 23 + sha256 = "sha256-QzMtPzuFVN8b4O250G38HAxerZewEu8MV/MDib7gh5A="; 24 24 leaveDotGit = true; 25 25 }; 26 26
+1 -2
pkgs/development/libraries/libxslt/default.nix
··· 51 51 "--without-debug" 52 52 "--without-mem-debug" 53 53 "--without-debugger" 54 - ] ++ lib.optionals pythonSupport [ 55 - "--with-python=${python}" 54 + (lib.withFeatureAs pythonSupport "python" python) 56 55 ] ++ lib.optionals (!cryptoSupport) [ 57 56 "--without-crypto" 58 57 ];
+2 -2
pkgs/development/php-packages/php-cs-fixer/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "php-cs-fixer"; 4 - version = "3.10.0"; 4 + version = "3.11.0"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar"; 11 - sha256 = "sha256-dhXktw9wctIwvIlME4c4yBw7qBffetiERt1C6QWCrQo="; 11 + sha256 = "sha256-hnSHR/tDX1w/4SV6fafvUHg4JwTQJxfwKaKvEbUWJjs="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/python-modules/faraday-agent-parameters-types/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "faraday-agent-parameters-types"; 11 - version = "1.0.3"; 11 + version = "1.0.4"; 12 12 13 13 src = fetchPypi { 14 14 pname = "faraday_agent_parameters_types"; 15 15 inherit version; 16 - sha256 = "6155669db477c3330c0850814eabe231bbbadf9d2ec57b4f734994f76eaee0e7"; 16 + sha256 = "sha256-ldGCn0VzoMRFekCPMprNLpaL5Jts5MRv5Ym1qoJwjXA="; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+74 -31
pkgs/development/tools/build-managers/jam/default.nix
··· 1 - { lib, stdenv, fetchurl, bison }: 1 + { lib, stdenv, fetchurl, bison, buildPackages }: 2 2 3 - stdenv.mkDerivation rec { 4 - pname = "jam"; 5 - version = "2.6.1"; 3 + let 4 + mkJam = { meta ? { }, ... } @ args: stdenv.mkDerivation (args // { 5 + depsBuildBuild = [ buildPackages.stdenv.cc ]; 6 + nativeBuildInputs = [ bison ]; 7 + 8 + # Jambase expects ar to have flags. 9 + preConfigure = '' 10 + export AR="$AR rc" 11 + ''; 12 + 13 + LOCATE_TARGET = "bin.unix"; 6 14 7 - src = fetchurl { 8 - url = "https://swarm.workshop.perforce.com/projects/perforce_software-jam/download/main/${pname}-${version}.tar"; 9 - sha256 = "19xkvkpycxfsncxvin6yqrql3x3z9ypc1j8kzls5k659q4kv5rmc"; 10 - }; 15 + buildPhase = '' 16 + runHook preBuild 17 + make $makeFlags jam0 18 + ./jam0 -j$NIX_BUILD_CORES -sCC=${buildPackages.stdenv.cc.targetPrefix}cc jambase.c 19 + ./jam0 -j$NIX_BUILD_CORES 20 + runHook postBuild 21 + ''; 11 22 12 - nativeBuildInputs = [ bison ]; 23 + installPhase = '' 24 + runHook preInstall 25 + mkdir -p $out/bin $out/doc/jam 26 + cp bin.unix/jam $out/bin/jam 27 + cp *.html $out/doc/jam 28 + runHook postInstall 29 + ''; 13 30 14 - preConfigure = '' 15 - unset AR 16 - ''; 31 + enableParallelBuilding = true; 17 32 18 - buildPhase = '' 19 - runHook preBuild 33 + meta = with lib; meta // { 34 + license = licenses.free; 35 + mainProgram = "jam"; 36 + platforms = platforms.unix; 37 + }; 38 + }); 39 + in 40 + { 41 + jam = let 42 + pname = "jam"; 43 + version = "2.6.1"; 44 + in mkJam { 45 + inherit pname version; 20 46 21 - make jam0 47 + src = fetchurl { 48 + url = "https://swarm.workshop.perforce.com/projects/perforce_software-jam/download/main/${pname}-${version}.tar"; 49 + sha256 = "19xkvkpycxfsncxvin6yqrql3x3z9ypc1j8kzls5k659q4kv5rmc"; 50 + }; 22 51 23 - runHook postBuild 24 - ''; 52 + meta = with lib; { 53 + description = "Just Another Make"; 54 + homepage = "https://www.perforce.com/resources/documentation/jam"; 55 + maintainers = with maintainers; [ impl orivej ]; 56 + }; 57 + }; 25 58 26 - installPhase = '' 27 - runHook preInstall 59 + ftjam = let 60 + pname = "ftjam"; 61 + version = "2.5.2"; 62 + in mkJam { 63 + inherit pname version; 28 64 29 - ./jam0 -j$NIX_BUILD_CORES -sBINDIR=$out/bin install 30 - mkdir -p $out/doc/jam 31 - cp *.html $out/doc/jam 65 + src = fetchurl { 66 + url = "https://downloads.sourceforge.net/project/freetype/${pname}/${version}/${pname}-${version}.tar.bz2"; 67 + hash = "sha256-6JdzUAqSkS3pGOn+v/q+S2vOedaa8ZRDX04DK4ptZqM="; 68 + }; 32 69 33 - runHook postInstall 34 - ''; 70 + postPatch = '' 71 + substituteInPlace Jamfile --replace strip ${stdenv.cc.targetPrefix}strip 72 + ''; 35 73 36 - enableParallelBuilding = true; 74 + # Doesn't understand how to cross compile once bootstrapped, so we'll just 75 + # use the Makefile for the bootstrapping portion. 76 + configurePlatforms = [ "build" "target" ]; 77 + configureFlags = [ 78 + "CC=${buildPackages.stdenv.cc.targetPrefix}cc" 79 + "--host=${stdenv.buildPlatform.config}" 80 + ]; 37 81 38 - meta = with lib; { 39 - homepage = "https://www.perforce.com/resources/documentation/jam"; 40 - license = licenses.free; 41 - description = "Just Another Make"; 42 - maintainers = with maintainers; [ orivej ]; 43 - platforms = platforms.unix; 82 + meta = with lib; { 83 + description = "FreeType's enhanced, backwards-compatible Jam clone"; 84 + homepage = "https://freetype.org/jam/"; 85 + maintainers = with maintainers; [ AndersonTorres impl ]; 86 + }; 44 87 }; 45 88 }
-53
pkgs/development/tools/build-managers/jam/ftjam.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , bison 5 - }: 6 - 7 - stdenv.mkDerivation rec { 8 - pname = "ftjam"; 9 - version = "2.5.2"; 10 - 11 - src = fetchurl { 12 - url = "https://downloads.sourceforge.net/project/freetype/${pname}/${version}/${pname}-${version}.tar.bz2"; 13 - hash = "sha256-6JdzUAqSkS3pGOn+v/q+S2vOedaa8ZRDX04DK4ptZqM="; 14 - }; 15 - 16 - nativeBuildInputs = [ 17 - bison 18 - ]; 19 - 20 - preConfigure = '' 21 - unset AR 22 - ''; 23 - 24 - buildPhase = '' 25 - runHook preBuild 26 - 27 - make jam0 28 - 29 - runHook postBuild 30 - ''; 31 - 32 - installPhase = '' 33 - runHook preInstall 34 - 35 - ./jam0 -j$NIX_BUILD_CORES -sBINDIR=$out/bin install 36 - mkdir -p $out/doc/jam 37 - cp *.html $out/doc/jam 38 - 39 - runHook postInstall 40 - ''; 41 - 42 - enableParallelBuilding = true; 43 - 44 - meta = with lib; { 45 - description = "Freetype's enhanced, backwards-compatible Jam clone"; 46 - homepage = "https://freetype.org/jam/"; 47 - license = licenses.free; 48 - maintainers = with maintainers; [ AndersonTorres ]; 49 - mainProgram = "jam"; 50 - platforms = platforms.unix; 51 - }; 52 - } 53 - # TODO: setup hook for Jam
+214
pkgs/tools/cd-dvd/ventoy-bin/000-sanitize.patch
··· 1 + Author: DuckSoft <realducksoft@gmail.com> 2 + 3 + I just cannot stand such a dirty package. 4 + Let me do some optimisations. 5 + 6 + If you are interested to improve this patch, welcome to mail me. 7 + 8 + diff -rup old/tool/ventoy_lib.sh new/tool/ventoy_lib.sh 9 + --- tool/ventoy_lib.sh 2021-12-02 16:59:42.148650182 +0100 10 + +++ tool/ventoy_lib.sh 2021-12-02 17:01:17.214720518 +0100 11 + @@ -29,7 +29,7 @@ vterr() { 12 + } 13 + 14 + vtdebug() { 15 + - echo "$*" >> ./log.txt 16 + + echo "$*" >>/var/log/ventoy.log 17 + } 18 + 19 + vtoy_gen_uuid() { 20 + @@ -52,30 +52,6 @@ vtoy_gen_uuid() { 21 + 22 + check_tool_work_ok() { 23 + 24 + - if echo 1 | hexdump > /dev/null; then 25 + - vtdebug "hexdump test ok ..." 26 + - else 27 + - vtdebug "hexdump test fail ..." 28 + - ventoy_false 29 + - return 30 + - fi 31 + - 32 + - if mkexfatfs -V > /dev/null; then 33 + - vtdebug "mkexfatfs test ok ..." 34 + - else 35 + - vtdebug "mkexfatfs test fail ..." 36 + - ventoy_false 37 + - return 38 + - fi 39 + - 40 + - if vtoycli fat -T; then 41 + - vtdebug "vtoycli fat test ok ..." 42 + - else 43 + - vtdebug "vtoycli fat test fail ..." 44 + - ventoy_false 45 + - return 46 + - fi 47 + - 48 + vtdebug "tool check success ..." 49 + ventoy_true 50 + } 51 + @@ -311,7 +287,7 @@ format_ventoy_disk_mbr() { 52 + else 53 + vtdebug "format disk by fdisk ..." 54 + 55 + -fdisk $DISK >>./log.txt 2>&1 <<EOF 56 + +fdisk $DISK >>/var/log/ventoy.log 2>&1 <<EOF 57 + o 58 + n 59 + p 60 + diff -rup old/tool/VentoyWorker.sh new/tool/VentoyWorker.sh 61 + --- tool/VentoyWorker.sh 2021-12-02 16:59:31.485642239 +0100 62 + +++ tool/VentoyWorker.sh 2021-12-02 17:02:00.326752183 +0100 63 + @@ -105,7 +105,7 @@ vtdebug "MODE=$MODE FORCE=$FORCE RESERVE 64 + if check_tool_work_ok; then 65 + vtdebug "check tool work ok" 66 + else 67 + - vterr "Some tools can not run on current system. Please check log.txt for details." 68 + + vterr "Some tools can not run on current system. Please check /var/log/ventoy.log for details." 69 + exit 1 70 + fi 71 + 72 + diff -rup old/Ventoy2Disk.sh new/Ventoy2Disk.sh 73 + --- Ventoy2Disk.sh 2021-12-02 16:59:05.205622608 +0100 74 + +++ Ventoy2Disk.sh 2021-12-02 17:03:29.037816991 +0100 75 + @@ -32,48 +32,4 @@ echo " https://www.ventoy.net" 76 + echo '**********************************************' 77 + echo '' 78 + 79 + - 80 + -if ! [ -f ./boot/boot.img ]; then 81 + - if [ -d ./grub ]; then 82 + - echo "Don't run Ventoy2Disk.sh here, please download the released install package, and run the script in it." 83 + - else 84 + - echo "Please run under the correct directory!" 85 + - fi 86 + - exit 1 87 + -fi 88 + - 89 + -echo "############# Ventoy2Disk $* [$TOOLDIR] ################" >> ./log.txt 90 + -date >> ./log.txt 91 + - 92 + -#decompress tool 93 + -echo "decompress tools" >> ./log.txt 94 + -cd ./tool/$TOOLDIR 95 + - 96 + -ls *.xz > /dev/null 2>&1 97 + -if [ $? -eq 0 ]; then 98 + - [ -f ./xzcat ] && chmod +x ./xzcat 99 + - 100 + - for file in $(ls *.xz); do 101 + - echo "decompress $file" >> ./log.txt 102 + - xzcat $file > ${file%.xz} 103 + - [ -f ./${file%.xz} ] && chmod +x ./${file%.xz} 104 + - [ -f ./$file ] && rm -f ./$file 105 + - done 106 + -fi 107 + - 108 + -cd ../../ 109 + -chmod +x -R ./tool/$TOOLDIR 110 + - 111 + - 112 + -if [ -f /bin/bash ]; then 113 + - /bin/bash ./tool/VentoyWorker.sh $* 114 + -else 115 + - ash ./tool/VentoyWorker.sh $* 116 + -fi 117 + - 118 + -if [ -n "$OLDDIR" ]; then 119 + - CURDIR=$(pwd) 120 + - if [ "$CURDIR" != "$OLDDIR" ]; then 121 + - cd "$OLDDIR" 122 + - fi 123 + -fi 124 + +./tool/VentoyWorker.sh $* 125 + diff -rup old/VentoyPlugson.sh new/VentoyPlugson.sh 126 + --- VentoyPlugson.sh 2021-12-02 17:54:36.055868878 +0100 127 + +++ VentoyPlugson.sh 2021-12-02 18:04:40.919633986 +0100 128 + @@ -25,8 +19,6 @@ if echo $machine | egrep -q 'aarch64|arm 129 + TOOLDIR=aarch64 130 + elif echo $machine | egrep -q 'x86_64|amd64'; then 131 + TOOLDIR=x86_64 132 + -elif echo $machine | egrep -q 'mips64'; then 133 + - TOOLDIR=mips64el 134 + elif echo $machine | egrep -q 'i[3-6]86'; then 135 + TOOLDIR=i386 136 + else 137 + @@ -35,38 +27,6 @@ else 138 + fi 139 + 140 + 141 + -if ! [ -f "$OLDDIR/tool/plugson.tar.xz" ]; then 142 + - echo "Please run under the correct directory!" 143 + - exit 1 144 + -fi 145 + - 146 + -echo "############# VentoyPlugson $* [$TOOLDIR] ################" >> ./VentoyPlugson.log 147 + -date >> ./VentoyPlugson.log 148 + - 149 + -echo "decompress tools" >> ./VentoyPlugson.log 150 + -cd ./tool/$TOOLDIR 151 + - 152 + -ls *.xz > /dev/null 2>&1 153 + -if [ $? -eq 0 ]; then 154 + - [ -f ./xzcat ] && chmod +x ./xzcat 155 + - 156 + - for file in $(ls *.xz); do 157 + - echo "decompress $file" >> ./VentoyPlugson.log 158 + - xzcat $file > ${file%.xz} 159 + - [ -f ./${file%.xz} ] && chmod +x ./${file%.xz} 160 + - [ -f ./$file ] && rm -f ./$file 161 + - done 162 + -fi 163 + - 164 + -cd ../../ 165 + -chmod +x -R ./tool/$TOOLDIR 166 + - 167 + -if ! [ -f "$OLDDIR/tool/$TOOLDIR/Plugson" ]; then 168 + - echo "$OLDDIR/tool/$TOOLDIR/Plugson does not exist!" 169 + - exit 1 170 + -fi 171 + - 172 + - 173 + PATH=./tool/$TOOLDIR:$PATH 174 + 175 + HOST="127.0.0.1" 176 + @@ -208,11 +168,3 @@ if [ -f /proc/$wID/maps ]; then 177 + 178 + wait $wID 179 + fi 180 + - 181 + - 182 + -if [ -n "$OLDDIR" ]; then 183 + - CURDIR=$(pwd) 184 + - if [ "$CURDIR" != "$OLDDIR" ]; then 185 + - cd "$OLDDIR" 186 + - fi 187 + -fi 188 + diff -rup old/VentoyWeb.sh new/VentoyWeb.sh 189 + --- VentoyWeb.sh 2021-12-02 16:58:51.885612627 +0100 190 + +++ VentoyWeb.sh 2021-12-02 17:04:43.437871014 +0100 191 + @@ -15,12 +15,6 @@ print_err() { 192 + echo "" 193 + } 194 + 195 + -uid=$(id -u) 196 + -if [ $uid -ne 0 ]; then 197 + - print_err "Please use sudo or run the script as root." 198 + - exit 1 199 + -fi 200 + - 201 + OLDDIR=$(pwd) 202 + 203 + if uname -m | egrep -q 'aarch64|arm64'; then 204 + @@ -85,8 +79,8 @@ if ps -ef | grep "V2DServer.*$HOST.*$POR 205 + exit 1 206 + fi 207 + 208 + -LOGFILE=log.txt 209 + -#delete the log.txt if it's more than 8MB 210 + +LOGFILE=/var/log/ventoy.log 211 + +#delete the ventoy.log if it's more than 8MB 212 + if [ -f $LOGFILE ]; then 213 + logsize=$(stat -c '%s' $LOGFILE) 214 + if [ $logsize -gt 8388608 ]; then
+18 -20
pkgs/tools/cd-dvd/ventoy-bin/default.nix
··· 4 4 , fetchpatch 5 5 , autoPatchelfHook 6 6 , bash 7 - , coreutils 8 7 , copyDesktopItems 8 + , coreutils 9 9 , cryptsetup 10 10 , dosfstools 11 11 , e2fsprogs ··· 15 15 , gnused 16 16 , gtk3 17 17 , hexdump 18 - , makeWrapper 19 18 , makeDesktopItem 19 + , makeWrapper 20 20 , ntfs3g 21 21 , parted 22 22 , procps 23 - , qt5 23 + , qtbase 24 24 , util-linux 25 25 , which 26 + , wrapQtAppsHook 26 27 , xfsprogs 27 28 , xz 28 29 , defaultGuiType ? "" ··· 47 48 }.${stdenv.hostPlatform.system} 48 49 or (throw "Unsupported platform ${stdenv.hostPlatform.system}"); 49 50 50 - in stdenv.mkDerivation rec { 51 + in 52 + stdenv.mkDerivation (finalAttrs: { 51 53 pname = "ventoy-bin"; 52 - version = "1.0.78"; 54 + version = "1.0.79"; 53 55 54 56 src = fetchurl { 55 - url = "https://github.com/ventoy/Ventoy/releases/download/v${version}/ventoy-${version}-linux.tar.gz"; 56 - hash = "sha256-vlSnnExtuh85yGFYUBeE7BRsVwl+kn7nSaIx2d3WICk="; 57 + url = "https://github.com/ventoy/Ventoy/releases/download/v${finalAttrs.version}/ventoy-${finalAttrs.version}-linux.tar.gz"; 58 + hash = "sha256-azkoDquN/i01QHsd1wJG79kdhHhBvXzPXIRnjKHAHNE="; 57 59 }; 58 60 59 61 patches = [ 60 - (fetchpatch { 61 - name = "sanitize.patch"; 62 - url = "https://aur.archlinux.org/cgit/aur.git/plain/sanitize.patch?h=057f2d1eb496c7a3aaa8229e99a7f709428fa4c5"; 63 - sha256 = "sha256-iAtLtM+Q4OsXDK83eCnPNomeNSEqdRLFfK2x7ybPSpk="; 64 - }) 62 + ./000-sanitize.patch 65 63 ./001-add-mips64.diff 66 64 ./002-fix-for-read-only-file-system.diff 67 65 ]; 68 66 69 67 patchFlags = [ "-p0" ]; 70 68 71 - dontConfigure = true; 72 - dontBuild = true; 73 - 74 69 postPatch = '' 75 70 # Fix permissions. 76 71 find -type f -name \*.sh -exec chmod a+x '{}' \; ··· 85 80 makeWrapper 86 81 ] 87 82 ++ lib.optional (withQt5 || withGtk3) copyDesktopItems 88 - ++ lib.optional withQt5 qt5.wrapQtAppsHook; 83 + ++ lib.optional withQt5 wrapQtAppsHook; 89 84 90 85 buildInputs = [ 91 86 bash ··· 107 102 ++ lib.optional withGtk3 gtk3 108 103 ++ lib.optional withNtfs ntfs3g 109 104 ++ lib.optional withXfs xfsprogs 110 - ++ lib.optional withQt5 qt5.qtbase; 105 + ++ lib.optional withQt5 qtbase; 111 106 112 107 desktopItems = [ 113 108 (makeDesktopItem { ··· 121 116 startupNotify = true; 122 117 })]; 123 118 119 + dontConfigure = true; 120 + dontBuild = true; 121 + 124 122 installPhase = '' 125 123 runHook preInstall 126 124 ··· 159 157 VentoyPlugson.sh_ventoy-plugson; do 160 158 local bin="''${f%_*}" wrapper="''${f#*_}" 161 159 makeWrapper "$VENTOY_PATH/$bin" "$out/bin/$wrapper" \ 162 - --prefix PATH : "${lib.makeBinPath buildInputs}" \ 160 + --prefix PATH : "${lib.makeBinPath finalAttrs.buildInputs}" \ 163 161 --chdir "$VENTOY_PATH" 164 162 done 165 163 '' ··· 168 166 + lib.optionalString (withGtk3 || withQt5) '' 169 167 echo "${defaultGuiType}" > "$VENTOY_PATH/ventoy_gui_type" 170 168 makeWrapper "$VENTOY_PATH/VentoyGUI.$ARCH" "$out/bin/ventoy-gui" \ 171 - --prefix PATH : "${lib.makeBinPath buildInputs}" \ 169 + --prefix PATH : "${lib.makeBinPath finalAttrs.buildInputs}" \ 172 170 --chdir "$VENTOY_PATH" 173 171 mkdir "$out"/share/{applications,pixmaps} 174 172 ln -s "$VENTOY_PATH"/WebUI/static/img/VentoyLogo.png "$out"/share/pixmaps/ ··· 210 208 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 211 209 mainProgram = "ventoy"; 212 210 }; 213 - } 211 + })
+3 -3
pkgs/tools/filesystems/httm/default.nix
··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "httm"; 9 - version = "0.14.9"; 9 + version = "0.14.10"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "kimono-koans"; 13 13 repo = pname; 14 14 rev = version; 15 - sha256 = "sha256-nRvXAHvIAUmtP1Xny9RWNZsCLI2eiE7163h6qxS2v1I="; 15 + sha256 = "sha256-izJMypTB7JCvSdTbsS85ez9HL7hM8DtPvnPXA0MvQC8="; 16 16 }; 17 17 18 - cargoSha256 = "sha256-gF9pPOhWT+aaZdk7qyyDIPvJ76s6pkjaeyOLYYrHxo4="; 18 + cargoSha256 = "sha256-3B1+pV7FyOD/e9fIKiAheIbb1vSFooc2qdnbL7LmzdQ="; 19 19 20 20 nativeBuildInputs = [ installShellFiles ]; 21 21
+3 -3
pkgs/tools/security/gopass/jsonapi.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "gopass-jsonapi"; 11 - version = "1.14.3"; 11 + version = "1.14.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "gopasspw"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-uLsKxx2Yr0g3vf2AQqRqRzNsBX2D4+6wwxM+czthL+I="; 17 + sha256 = "sha256-zEyzoIl5LiVbNSRebbcE70HxhOGYaZvArdHQqgvi1ns="; 18 18 }; 19 19 20 - vendorSha256 = "sha256-QEqtyHb+/tpbbHLCSBw7uafAtKzKkmxoFGqFVHSR03I="; 20 + vendorSha256 = "sha256-mcI8ys+Vs46BEaETzsf0f1f2CgjEIV4iwSF4FWgNjUY="; 21 21 22 22 subPackages = [ "." ]; 23 23
+6 -4
pkgs/top-level/all-packages.nix
··· 1369 1369 1370 1370 veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { }; 1371 1371 1372 - ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { }; 1372 + ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { 1373 + inherit (libsForQt5) qtbase wrapQtAppsHook; 1374 + }; 1373 1375 ventoy-bin-full = ventoy-bin.override { 1374 1376 withCryptsetup = true; 1375 1377 withXfs = true; ··· 16550 16552 16551 16553 itstool = callPackage ../development/tools/misc/itstool { }; 16552 16554 16553 - jam = callPackage ../development/tools/build-managers/jam { }; 16554 - 16555 - ftjam = callPackage ../development/tools/build-managers/jam/ftjam.nix { }; 16555 + inherit (callPackage ../development/tools/build-managers/jam { }) 16556 + jam 16557 + ftjam; 16556 16558 16557 16559 javacc = callPackage ../development/tools/parsing/javacc { 16558 16560 # Upstream doesn't support anything newer than Java 8.