Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub f0248f96 770c1c3d

+81 -68
-30
nixos/modules/system/boot/stage-2.nix
··· 47 ''; 48 }; 49 50 - devSize = mkOption { 51 - default = "5%"; 52 - example = "32m"; 53 - type = types.str; 54 - description = '' 55 - Size limit for the /dev tmpfs. Look at mount(8), tmpfs size option, 56 - for the accepted syntax. 57 - ''; 58 - }; 59 - 60 - devShmSize = mkOption { 61 - default = "50%"; 62 - example = "256m"; 63 - type = types.str; 64 - description = '' 65 - Size limit for the /dev/shm tmpfs. Look at mount(8), tmpfs size option, 66 - for the accepted syntax. 67 - ''; 68 - }; 69 - 70 - runSize = mkOption { 71 - default = "25%"; 72 - example = "256m"; 73 - type = types.str; 74 - description = '' 75 - Size limit for the /run tmpfs. Look at mount(8), tmpfs size option, 76 - for the accepted syntax. 77 - ''; 78 - }; 79 - 80 systemdExecutable = mkOption { 81 default = "systemd"; 82 type = types.str;
··· 47 ''; 48 }; 49 50 systemdExecutable = mkOption { 51 default = "systemd"; 52 type = types.str;
+29
nixos/modules/tasks/filesystems.nix
··· 215 ''; 216 }; 217 218 }; 219 220
··· 215 ''; 216 }; 217 218 + boot.devSize = mkOption { 219 + default = "5%"; 220 + example = "32m"; 221 + type = types.str; 222 + description = '' 223 + Size limit for the /dev tmpfs. Look at mount(8), tmpfs size option, 224 + for the accepted syntax. 225 + ''; 226 + }; 227 + 228 + boot.devShmSize = mkOption { 229 + default = "50%"; 230 + example = "256m"; 231 + type = types.str; 232 + description = '' 233 + Size limit for the /dev/shm tmpfs. Look at mount(8), tmpfs size option, 234 + for the accepted syntax. 235 + ''; 236 + }; 237 + 238 + boot.runSize = mkOption { 239 + default = "25%"; 240 + example = "256m"; 241 + type = types.str; 242 + description = '' 243 + Size limit for the /run tmpfs. Look at mount(8), tmpfs size option, 244 + for the accepted syntax. 245 + ''; 246 + }; 247 }; 248 249
+2 -2
pkgs/applications/audio/strawberry/default.nix
··· 36 37 mkDerivation rec { 38 pname = "strawberry"; 39 - version = "1.0.2"; 40 41 src = fetchFromGitHub { 42 owner = "jonaski"; 43 repo = pname; 44 rev = version; 45 - sha256 = "sha256-/pwHWmQTV1QBK+5SS0/NC6wMm2QQm+iCZArxiHjn4M4="; 46 }; 47 48 buildInputs = [
··· 36 37 mkDerivation rec { 38 pname = "strawberry"; 39 + version = "1.0.3"; 40 41 src = fetchFromGitHub { 42 owner = "jonaski"; 43 repo = pname; 44 rev = version; 45 + sha256 = "sha256-wa7r6maHAgCTD/TFjqtMuoRt1BqQ38T8KpbMUOoS2ZE="; 46 }; 47 48 buildInputs = [
+1
pkgs/applications/editors/neovim/neovim-remote.nix
··· 41 license = licenses.mit; 42 maintainers = with maintainers; [ edanaher ]; 43 platforms = platforms.unix; 44 }; 45 }
··· 41 license = licenses.mit; 42 maintainers = with maintainers; [ edanaher ]; 43 platforms = platforms.unix; 44 + mainProgram = "nvr"; 45 }; 46 }
+41 -29
pkgs/applications/misc/1password/default.nix
··· 1 - { lib, stdenv, fetchzip, autoPatchelfHook, fetchurl, xar, cpio }: 2 3 - stdenv.mkDerivation rec { 4 pname = "1password-cli"; 5 - version = "1.12.2"; 6 src = 7 - if stdenv.isLinux then 8 - fetchzip 9 - { 10 - url = { 11 - "i686-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip"; 12 - "x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip"; 13 - "aarch64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_arm64_v${version}.zip"; 14 - }.${stdenv.hostPlatform.system}; 15 - sha256 = { 16 - "i686-linux" = "tCm/vDBASPN9FBSVRJ6BrFc7hdtZWPEAgvokJhjazPg="; 17 - "x86_64-linux" = "3VkVMuTAfeEowkguJi2fd1kG7GwO1VN5GBPgNaH3Zv4="; 18 - "aarch64-linux" = "12h1s9c97w0gb6bia3hy7773mwpfnyrn40sbjm1zc37y4zyi5dyp"; 19 - }.${stdenv.hostPlatform.system}; 20 - stripRoot = false; 21 - } else 22 - fetchurl { 23 - url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_apple_universal_v${version}.pkg"; 24 - sha256 = "xG/6YZdkJxr5Py90rkIyG4mK40yFTmNSfih9jO2uF+4="; 25 - }; 26 27 buildInputs = lib.optionals stdenv.isDarwin [ xar cpio ]; 28 ··· 32 ''; 33 34 installPhase = '' 35 - install -D op $out/bin/op 36 ''; 37 38 - dontStrip = stdenv.isDarwin; 39 40 - nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 41 42 doInstallCheck = true; 43 44 installCheckPhase = '' 45 - $out/bin/op --version 46 ''; 47 48 meta = with lib; { 49 description = "1Password command-line tool"; 50 - homepage = "https://support.1password.com/command-line/"; 51 - downloadPage = "https://app-updates.agilebits.com/product_history/CLI"; 52 maintainers = with maintainers; [ joelburget marsam ]; 53 license = licenses.unfree; 54 - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; 55 }; 56 }
··· 1 + { lib, stdenv, fetchurl, fetchzip, autoPatchelfHook, installShellFiles, cpio, xar }: 2 3 + let 4 + inherit (stdenv.hostPlatform) system; 5 + fetch = srcPlatform: sha256: extension: 6 + let 7 + args = { 8 + url = "https://cache.agilebits.com/dist/1P/op2/pkg/v${version}/op_${srcPlatform}_v${version}.${extension}"; 9 + inherit sha256; 10 + } // lib.optionalAttrs (extension == "zip") { stripRoot = false; }; 11 + in 12 + if extension == "zip" then fetchzip args else fetchurl args; 13 + 14 pname = "1password-cli"; 15 + version = "2.0.0"; 16 + sources = rec { 17 + aarch64-linux = fetch "linux_arm64" "sha256-NhCs68on8LzoeOmM5eP8LwmFaVWz6aghqtHzfUlACiA=" "zip"; 18 + i686-linux = fetch "linux_386" "sha256-vCxgEBq4YVfljq2zUpvBdZUbIiam4z64P1m9OMWq1f4=" "zip"; 19 + x86_64-linux = fetch "linux_amd64" "sha256-CDwrJ5ksXf9kwHobw4jvRUi1hLQzq4/yRlk+kHPN7UE=" "zip"; 20 + aarch64-darwin = fetch "apple_universal" "sha256-DC9hdzRjQ9iNjbe6PfRpMXzDeInq4rYSAa2nDHQMTRo=" "pkg"; 21 + x86_64-darwin = aarch64-darwin; 22 + }; 23 + platforms = builtins.attrNames sources; 24 + mainProgram = "op"; 25 + in 26 + 27 + stdenv.mkDerivation { 28 + inherit pname version; 29 src = 30 + if (builtins.elem system platforms) then 31 + sources.${system} 32 + else 33 + throw "Source for ${pname} is not available for ${system}"; 34 + 35 + nativeBuildInputs = [ installShellFiles ] ++ lib.optional stdenv.isLinux autoPatchelfHook; 36 37 buildInputs = lib.optionals stdenv.isDarwin [ xar cpio ]; 38 ··· 42 ''; 43 44 installPhase = '' 45 + install -D ${mainProgram} $out/bin/${mainProgram} 46 + runHook postInstall 47 ''; 48 49 + postInstall = "installShellCompletion --cmd ${mainProgram}" + lib.concatMapStrings 50 + (s: " --${s} <($out/bin/${mainProgram} completion ${s})") [ "bash" "fish" "zsh" ]; 51 52 + dontStrip = stdenv.isDarwin; 53 54 doInstallCheck = true; 55 56 installCheckPhase = '' 57 + $out/bin/${mainProgram} --version 58 ''; 59 60 meta = with lib; { 61 description = "1Password command-line tool"; 62 + homepage = "https://developer.1password.com/docs/cli/"; 63 + downloadPage = "https://app-updates.agilebits.com/product_history/CLI2"; 64 maintainers = with maintainers; [ joelburget marsam ]; 65 license = licenses.unfree; 66 + inherit mainProgram platforms; 67 }; 68 }
+2 -2
pkgs/applications/networking/browsers/vivaldi/default.nix
··· 20 vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; 21 in stdenv.mkDerivation rec { 22 pname = "vivaldi"; 23 - version = "5.1.2567.66-1"; 24 25 src = fetchurl { 26 url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb"; 27 - sha256 = "1v9hcjgvblscpsw8c2nm8x7frzkfv2ph8l5hibyidnfjppx1qqz2"; 28 }; 29 30 unpackPhase = ''
··· 20 vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; 21 in stdenv.mkDerivation rec { 22 pname = "vivaldi"; 23 + version = "5.1.2567.73-1"; 24 25 src = fetchurl { 26 url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb"; 27 + sha256 = "04jzhipn4ip7x3zdwmfnp6w0qc2y1qdfy5w3qyy0r114jz9s9i7g"; 28 }; 29 30 unpackPhase = ''
pkgs/development/mobile/cocoapods/Gemfile pkgs/development/tools/cocoapods/Gemfile
pkgs/development/mobile/cocoapods/Gemfile-beta pkgs/development/tools/cocoapods/Gemfile-beta
pkgs/development/mobile/cocoapods/Gemfile-beta.lock pkgs/development/tools/cocoapods/Gemfile-beta.lock
pkgs/development/mobile/cocoapods/Gemfile.lock pkgs/development/tools/cocoapods/Gemfile.lock
+1
pkgs/development/mobile/cocoapods/default.nix pkgs/development/tools/cocoapods/default.nix
··· 21 peterromfeldhk 22 lilyball 23 ]; 24 }; 25 }
··· 21 peterromfeldhk 22 lilyball 23 ]; 24 + mainProgram = "pod"; 25 }; 26 }
pkgs/development/mobile/cocoapods/gemset-beta.nix pkgs/development/tools/cocoapods/gemset-beta.nix
pkgs/development/mobile/cocoapods/gemset.nix pkgs/development/tools/cocoapods/gemset.nix
pkgs/development/mobile/cocoapods/update pkgs/development/tools/cocoapods/update
+3 -3
pkgs/tools/misc/mc/default.nix
··· 24 25 stdenv.mkDerivation rec { 26 pname = "mc"; 27 - version = "4.8.27"; 28 29 src = fetchurl { 30 url = "https://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz"; 31 - sha256 = "sha256-Mb5ZIl/6mSCBbpqLO+CrIloW0Z5Pr0aJDyW9/6AqT/Q="; 32 }; 33 34 nativeBuildInputs = [ pkg-config autoreconfHook unzip ] ··· 52 53 enableParallelBuilding = true; 54 55 - configureFlags = [ "--enable-vfs-smb" "PERL=${perl}/bin/perl" ]; 56 57 postPatch = '' 58 substituteInPlace src/filemanager/ext.c \
··· 24 25 stdenv.mkDerivation rec { 26 pname = "mc"; 27 + version = "4.8.28"; 28 29 src = fetchurl { 30 url = "https://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz"; 31 + sha256 = "sha256-6ZTZvppxcumsSkrWIQeSH2qjEuZosFbf5bi867r1OAM="; 32 }; 33 34 nativeBuildInputs = [ pkg-config autoreconfHook unzip ] ··· 52 53 enableParallelBuilding = true; 54 55 + configureFlags = [ "PERL=${perl}/bin/perl" ]; 56 57 postPatch = '' 58 substituteInPlace src/filemanager/ext.c \
+2 -2
pkgs/top-level/all-packages.nix
··· 4559 gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; }; 4560 }; 4561 4562 - cocoapods = callPackage ../development/mobile/cocoapods { }; 4563 4564 - cocoapods-beta = lowPrio (callPackage ../development/mobile/cocoapods { beta = true; }); 4565 4566 cocom = callPackage ../tools/networking/cocom { 4567 inherit (darwin.apple_sdk.frameworks) Security;
··· 4559 gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; }; 4560 }; 4561 4562 + cocoapods = callPackage ../development/tools/cocoapods { }; 4563 4564 + cocoapods-beta = lowPrio (callPackage ../development/tools/cocoapods { beta = true; }); 4565 4566 cocom = callPackage ../tools/networking/cocom { 4567 inherit (darwin.apple_sdk.frameworks) Security;