Merge staging-next into staging

authored by nixpkgs-ci[bot] and committed by GitHub 37a41901 975d8ca0

+769 -520
+16 -18
nixos/modules/services/web-apps/nextcloud.nix
··· 1058 ++ (lib.optional (lib.versionOlder overridePackage.version "30") (upgradeWarning 29 "24.11")) 1059 ++ (lib.optional (lib.versionOlder overridePackage.version "31") (upgradeWarning 30 "25.05")); 1060 1061 - services.nextcloud.package = 1062 - with pkgs; 1063 - lib.mkDefault ( 1064 - if pkgs ? nextcloud then 1065 - throw '' 1066 - The `pkgs.nextcloud`-attribute has been removed. If it's supposed to be the default 1067 - nextcloud defined in an overlay, please set `services.nextcloud.package` to 1068 - `pkgs.nextcloud`. 1069 - '' 1070 - else if versionOlder stateVersion "24.05" then 1071 - nextcloud27 1072 - else if versionOlder stateVersion "24.11" then 1073 - nextcloud29 1074 - else if versionOlder stateVersion "25.05" then 1075 - nextcloud30 1076 - else 1077 - nextcloud31 1078 - ); 1079 1080 services.nextcloud.phpOptions = mkMerge [ 1081 (lib.mapAttrs (lib.const lib.mkOptionDefault) defaultPHPSettings)
··· 1058 ++ (lib.optional (lib.versionOlder overridePackage.version "30") (upgradeWarning 29 "24.11")) 1059 ++ (lib.optional (lib.versionOlder overridePackage.version "31") (upgradeWarning 30 "25.05")); 1060 1061 + services.nextcloud.package = lib.mkDefault ( 1062 + if pkgs ? nextcloud then 1063 + throw '' 1064 + The `pkgs.nextcloud`-attribute has been removed. If it's supposed to be the default 1065 + nextcloud defined in an overlay, please set `services.nextcloud.package` to 1066 + `pkgs.nextcloud`. 1067 + '' 1068 + else if lib.versionOlder stateVersion "24.05" then 1069 + pkgs.nextcloud27 1070 + else if lib.versionOlder stateVersion "24.11" then 1071 + pkgs.nextcloud29 1072 + else if lib.versionOlder stateVersion "25.05" then 1073 + pkgs.nextcloud30 1074 + else 1075 + pkgs.nextcloud31 1076 + ); 1077 1078 services.nextcloud.phpOptions = mkMerge [ 1079 (lib.mapAttrs (lib.const lib.mkOptionDefault) defaultPHPSettings)
+1
nixos/tests/all-tests.nix
··· 699 imports = [ ./odoo.nix ]; 700 _module.args.package = pkgs.odoo16; 701 }; 702 oncall = runTest ./web-apps/oncall.nix; 703 # 9pnet_virtio used to mount /nix partition doesn't support 704 # hibernation. This test happens to work on x86_64-linux but
··· 699 imports = [ ./odoo.nix ]; 700 _module.args.package = pkgs.odoo16; 701 }; 702 + oku = runTest ./oku.nix; 703 oncall = runTest ./web-apps/oncall.nix; 704 # 9pnet_virtio used to mount /nix partition doesn't support 705 # hibernation. This test happens to work on x86_64-linux but
+27
nixos/tests/oku.nix
···
··· 1 + { 2 + lib, 3 + pkgs, 4 + ... 5 + }: 6 + { 7 + name = "oku"; 8 + 9 + meta.maintainers = with lib.maintainers; [ ethancedwards8 ]; 10 + 11 + nodes.machine = { 12 + imports = [ ./common/x11.nix ]; 13 + 14 + environment.systemPackages = with pkgs; [ oku ]; 15 + }; 16 + 17 + enableOCR = true; 18 + 19 + testScript = '' 20 + machine.wait_for_x() 21 + 22 + with subtest("Wait until Oku has finished loading the Valgrind docs page"): 23 + machine.execute("xterm -e 'oku -n file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &"); 24 + machine.wait_for_window("oku") 25 + ''; 26 + 27 + }
+2 -2
pkgs/applications/editors/vscode/extensions/default.nix
··· 2972 mktplcRef = { 2973 name = "marp-vscode"; 2974 publisher = "marp-team"; 2975 - version = "3.2.0"; 2976 - hash = "sha256-SSkmvm9NJnLw38luZWF6K7g5caaivtP+v+39qPR/oyo="; 2977 }; 2978 meta = { 2979 license = lib.licenses.mit;
··· 2972 mktplcRef = { 2973 name = "marp-vscode"; 2974 publisher = "marp-team"; 2975 + version = "3.2.1"; 2976 + hash = "sha256-c3e4vWmnR/enummRSfwlulPEAjZ9TlncnAU3SJcUEaI="; 2977 }; 2978 meta = { 2979 license = lib.licenses.mit;
+31 -31
pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/Cargo.lock
··· 1 # This file is automatically @generated by Cargo. 2 # It is not intended for manual editing. 3 - version = 3 4 5 [[package]] 6 name = "anyhow" 7 - version = "1.0.91" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "c042108f3ed77fd83760a5fd79b53be043192bb3b9dba91d8c574c0ada7850c8" 10 11 [[package]] 12 name = "goblin" 13 - version = "0.9.2" 14 source = "registry+https://github.com/rust-lang/crates.io-index" 15 - checksum = "53ab3f32d1d77146981dea5d6b1e8fe31eedcb7013e5e00d6ccd1259a4b4d923" 16 dependencies = [ 17 "log", 18 "plain", ··· 21 22 [[package]] 23 name = "itoa" 24 - version = "1.0.11" 25 source = "registry+https://github.com/rust-lang/crates.io-index" 26 - checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" 27 28 [[package]] 29 name = "log" 30 - version = "0.4.22" 31 source = "registry+https://github.com/rust-lang/crates.io-index" 32 - checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" 33 34 [[package]] 35 name = "memchr" 36 - version = "2.7.4" 37 source = "registry+https://github.com/rust-lang/crates.io-index" 38 - checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 39 40 [[package]] 41 name = "plain" ··· 45 46 [[package]] 47 name = "proc-macro2" 48 - version = "1.0.89" 49 source = "registry+https://github.com/rust-lang/crates.io-index" 50 - checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" 51 dependencies = [ 52 "unicode-ident", 53 ] 54 55 [[package]] 56 name = "quote" 57 - version = "1.0.37" 58 source = "registry+https://github.com/rust-lang/crates.io-index" 59 - checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" 60 dependencies = [ 61 "proc-macro2", 62 ] ··· 74 75 [[package]] 76 name = "ryu" 77 - version = "1.0.18" 78 source = "registry+https://github.com/rust-lang/crates.io-index" 79 - checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" 80 81 [[package]] 82 name = "same-file" ··· 89 90 [[package]] 91 name = "scroll" 92 - version = "0.12.0" 93 source = "registry+https://github.com/rust-lang/crates.io-index" 94 - checksum = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6" 95 dependencies = [ 96 "scroll_derive", 97 ] 98 99 [[package]] 100 name = "scroll_derive" 101 - version = "0.12.0" 102 source = "registry+https://github.com/rust-lang/crates.io-index" 103 - checksum = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932" 104 dependencies = [ 105 "proc-macro2", 106 "quote", ··· 109 110 [[package]] 111 name = "serde" 112 - version = "1.0.213" 113 source = "registry+https://github.com/rust-lang/crates.io-index" 114 - checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1" 115 dependencies = [ 116 "serde_derive", 117 ] 118 119 [[package]] 120 name = "serde_derive" 121 - version = "1.0.213" 122 source = "registry+https://github.com/rust-lang/crates.io-index" 123 - checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5" 124 dependencies = [ 125 "proc-macro2", 126 "quote", ··· 129 130 [[package]] 131 name = "serde_json" 132 - version = "1.0.132" 133 source = "registry+https://github.com/rust-lang/crates.io-index" 134 - checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" 135 dependencies = [ 136 "itoa", 137 "memchr", ··· 141 142 [[package]] 143 name = "syn" 144 - version = "2.0.85" 145 source = "registry+https://github.com/rust-lang/crates.io-index" 146 - checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56" 147 dependencies = [ 148 "proc-macro2", 149 "quote", ··· 152 153 [[package]] 154 name = "unicode-ident" 155 - version = "1.0.13" 156 source = "registry+https://github.com/rust-lang/crates.io-index" 157 - checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" 158 159 [[package]] 160 name = "walkdir"
··· 1 # This file is automatically @generated by Cargo. 2 # It is not intended for manual editing. 3 + version = 4 4 5 [[package]] 6 name = "anyhow" 7 + version = "1.0.98" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" 10 11 [[package]] 12 name = "goblin" 13 + version = "0.10.0" 14 source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "0e961b33649994dcf69303af6b3a332c1228549e604d455d61ec5d2ab5e68d3a" 16 dependencies = [ 17 "log", 18 "plain", ··· 21 22 [[package]] 23 name = "itoa" 24 + version = "1.0.15" 25 source = "registry+https://github.com/rust-lang/crates.io-index" 26 + checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 27 28 [[package]] 29 name = "log" 30 + version = "0.4.27" 31 source = "registry+https://github.com/rust-lang/crates.io-index" 32 + checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" 33 34 [[package]] 35 name = "memchr" 36 + version = "2.7.5" 37 source = "registry+https://github.com/rust-lang/crates.io-index" 38 + checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" 39 40 [[package]] 41 name = "plain" ··· 45 46 [[package]] 47 name = "proc-macro2" 48 + version = "1.0.95" 49 source = "registry+https://github.com/rust-lang/crates.io-index" 50 + checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" 51 dependencies = [ 52 "unicode-ident", 53 ] 54 55 [[package]] 56 name = "quote" 57 + version = "1.0.40" 58 source = "registry+https://github.com/rust-lang/crates.io-index" 59 + checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 60 dependencies = [ 61 "proc-macro2", 62 ] ··· 74 75 [[package]] 76 name = "ryu" 77 + version = "1.0.20" 78 source = "registry+https://github.com/rust-lang/crates.io-index" 79 + checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 80 81 [[package]] 82 name = "same-file" ··· 89 90 [[package]] 91 name = "scroll" 92 + version = "0.13.0" 93 source = "registry+https://github.com/rust-lang/crates.io-index" 94 + checksum = "c1257cd4248b4132760d6524d6dda4e053bc648c9070b960929bf50cfb1e7add" 95 dependencies = [ 96 "scroll_derive", 97 ] 98 99 [[package]] 100 name = "scroll_derive" 101 + version = "0.13.0" 102 source = "registry+https://github.com/rust-lang/crates.io-index" 103 + checksum = "22fc4f90c27b57691bbaf11d8ecc7cfbfe98a4da6dbe60226115d322aa80c06e" 104 dependencies = [ 105 "proc-macro2", 106 "quote", ··· 109 110 [[package]] 111 name = "serde" 112 + version = "1.0.219" 113 source = "registry+https://github.com/rust-lang/crates.io-index" 114 + checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 115 dependencies = [ 116 "serde_derive", 117 ] 118 119 [[package]] 120 name = "serde_derive" 121 + version = "1.0.219" 122 source = "registry+https://github.com/rust-lang/crates.io-index" 123 + checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 124 dependencies = [ 125 "proc-macro2", 126 "quote", ··· 129 130 [[package]] 131 name = "serde_json" 132 + version = "1.0.141" 133 source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3" 135 dependencies = [ 136 "itoa", 137 "memchr", ··· 141 142 [[package]] 143 name = "syn" 144 + version = "2.0.104" 145 source = "registry+https://github.com/rust-lang/crates.io-index" 146 + checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" 147 dependencies = [ 148 "proc-macro2", 149 "quote", ··· 152 153 [[package]] 154 name = "unicode-ident" 155 + version = "1.0.18" 156 source = "registry+https://github.com/rust-lang/crates.io-index" 157 + checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 158 159 [[package]] 160 name = "walkdir"
+29 -6
pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
··· 43 root_index: usize, 44 } 45 46 fn build_reference_map(refs: Vec<RefGraphNode>) -> HashMap<PathBuf, Vec<PathBuf>> { 47 refs.into_iter() 48 .map(|mut gn| { ··· 119 let mut candidates: HashMap<_, Vec<_>> = HashMap::new(); 120 121 for (path, priority) in paths { 122 for entry in WalkDir::new(&path).follow_links(true) { 123 let entry: PathBuf = match entry { 124 Ok(ent) => { ··· 134 // could be a broken symlink, that's fine, we still want to handle those 135 Some(_) => e 136 .path() 137 - .ok_or_else(|| anyhow!("I/O error when walking {path:?}"))? 138 .into(), 139 None => { 140 // symlink loop ··· 256 .parent() 257 .ok_or(anyhow!("destination directory is root")) 258 .with_context(|| { 259 - format!("When trying to determine destination directory for {full_dest:?}") 260 })?; 261 fs::create_dir_all(dest_dir) 262 - .with_context(|| format!("When trying to create directory {dest_dir:?}"))?; 263 - ufs::symlink(&src, &full_dest) 264 - .with_context(|| format!("When symlinking {src:?} to {full_dest:?}"))?; 265 } 266 267 Ok(()) 268 } ··· 283 284 paths = extend_to_closure(paths, &refs)?; 285 paths32 = extend_to_closure(paths32, &refs)?; 286 - }; 287 288 let plan = build_plan(paths, paths32)?; 289
··· 43 root_index: usize, 44 } 45 46 + const FHSENV_MARKER_FILE: &str = "nix-support/is-fhsenv"; 47 + 48 fn build_reference_map(refs: Vec<RefGraphNode>) -> HashMap<PathBuf, Vec<PathBuf>> { 49 refs.into_iter() 50 .map(|mut gn| { ··· 121 let mut candidates: HashMap<_, Vec<_>> = HashMap::new(); 122 123 for (path, priority) in paths { 124 + if path.join(FHSENV_MARKER_FILE).exists() { 125 + // is another fhsenv, skip it 126 + continue; 127 + } 128 + 129 for entry in WalkDir::new(&path).follow_links(true) { 130 let entry: PathBuf = match entry { 131 Ok(ent) => { ··· 141 // could be a broken symlink, that's fine, we still want to handle those 142 Some(_) => e 143 .path() 144 + .ok_or_else(|| anyhow!("I/O error when walking {}", path.display()))? 145 .into(), 146 None => { 147 // symlink loop ··· 263 .parent() 264 .ok_or(anyhow!("destination directory is root")) 265 .with_context(|| { 266 + format!( 267 + "When trying to determine destination directory for {}", 268 + full_dest.display() 269 + ) 270 })?; 271 fs::create_dir_all(dest_dir) 272 + .with_context(|| format!("When trying to create directory {}", dest_dir.display()))?; 273 + ufs::symlink(&src, &full_dest).with_context(|| { 274 + format!( 275 + "When symlinking {} to {}", 276 + src.display(), 277 + full_dest.display() 278 + ) 279 + })?; 280 } 281 + 282 + let marker = out.join(FHSENV_MARKER_FILE); 283 + fs::create_dir_all( 284 + marker 285 + .parent() 286 + .ok_or(anyhow!("marker file is in root, this should never happen"))?, 287 + )?; 288 + fs::write(marker, [])?; 289 290 Ok(()) 291 } ··· 306 307 paths = extend_to_closure(paths, &refs)?; 308 paths32 = extend_to_closure(paths32, &refs)?; 309 + } 310 311 let plan = build_plan(paths, paths32)?; 312
+3 -3
pkgs/by-name/ca/cargo-update/package.nix
··· 16 17 rustPlatform.buildRustPackage rec { 18 pname = "cargo-update"; 19 - version = "16.4.0"; 20 21 src = fetchCrate { 22 inherit pname version; 23 - hash = "sha256-Y0TvzOjkq/9/NG87iGhazLSZFnFCEG/S+lI4AJDAw0M="; 24 }; 25 26 - cargoHash = "sha256-PD6HycP6+/tKafirCc2Oj0MffHizLqTmDIrdIOmXY/w="; 27 28 nativeBuildInputs = [ 29 cmake
··· 16 17 rustPlatform.buildRustPackage rec { 18 pname = "cargo-update"; 19 + version = "17.0.0"; 20 21 src = fetchCrate { 22 inherit pname version; 23 + hash = "sha256-CMsvkASFVqmvIxvixoXYwvyAgp4Vq9rj17o50M8Fw1Q="; 24 }; 25 26 + cargoHash = "sha256-kp9liu8ZGL9Q+rH9XKWMgsA9hvkYEim90RdMp2+dVPg="; 27 28 nativeBuildInputs = [ 29 cmake
+3 -3
pkgs/by-name/ch/changie/package.nix
··· 7 8 buildGoModule rec { 9 pname = "changie"; 10 - version = "1.22.0"; 11 12 src = fetchFromGitHub { 13 owner = "miniscruff"; 14 repo = "changie"; 15 rev = "v${version}"; 16 - hash = "sha256-tq29L9YlzhjbHkUfE0ZZhSrH+rcAwgYjcEAUjP/lHm8="; 17 }; 18 19 - vendorHash = "sha256-nAwBVa+UssbfFbcOWFcsWUllBTeW89xPcgS+ofXDPf0="; 20 21 nativeBuildInputs = [ 22 installShellFiles
··· 7 8 buildGoModule rec { 9 pname = "changie"; 10 + version = "1.22.1"; 11 12 src = fetchFromGitHub { 13 owner = "miniscruff"; 14 repo = "changie"; 15 rev = "v${version}"; 16 + hash = "sha256-JXVrOZKm8whmc3LkCDsbZkNcYMgiolp9dgnZFPYCtAs="; 17 }; 18 19 + vendorHash = "sha256-bUopfHd6/0dd3OuxQMW9ZNsZtVqnRSDRqZLkfaQq12I="; 20 21 nativeBuildInputs = [ 22 installShellFiles
+1
pkgs/by-name/cl/claude-code/package.nix
··· 44 license = lib.licenses.unfree; 45 maintainers = with lib.maintainers; [ 46 malo 47 omarjatoi 48 ]; 49 mainProgram = "claude";
··· 44 license = lib.licenses.unfree; 45 maintainers = with lib.maintainers; [ 46 malo 47 + markus1189 48 omarjatoi 49 ]; 50 mainProgram = "claude";
+2 -2
pkgs/by-name/dd/ddev/package.nix
··· 10 11 buildGoModule rec { 12 pname = "ddev"; 13 - version = "1.24.6"; 14 15 src = fetchFromGitHub { 16 owner = "ddev"; 17 repo = "ddev"; 18 rev = "v${version}"; 19 - hash = "sha256-vOf500/HdOWn24MdXDfbetqAyKbEsaut707O+Rndks8="; 20 }; 21 22 nativeBuildInputs = [
··· 10 11 buildGoModule rec { 12 pname = "ddev"; 13 + version = "1.24.7"; 14 15 src = fetchFromGitHub { 16 owner = "ddev"; 17 repo = "ddev"; 18 rev = "v${version}"; 19 + hash = "sha256-1BlipTmpjoHjzDz5ueCYn410qzsVePikA1c5Z93Rboo="; 20 }; 21 22 nativeBuildInputs = [
+3 -3
pkgs/by-name/de/devenv/package.nix
··· 30 __intentionallyOverridingVersion = true; 31 }); 32 33 - version = "1.8"; 34 in 35 rustPlatform.buildRustPackage { 36 pname = "devenv"; ··· 40 owner = "cachix"; 41 repo = "devenv"; 42 tag = "v${version}"; 43 - hash = "sha256-Cg4DxHCZiXiSlbwveJpyCFzWIblWi467I2/pmsAWiAw="; 44 }; 45 46 - cargoHash = "sha256-uUI0O60x8AVG85MJYzEbNdsO818yFu4w66WuozboWso="; 47 48 buildAndTestSubdir = "devenv"; 49
··· 30 __intentionallyOverridingVersion = true; 31 }); 32 33 + version = "1.8.1"; 34 in 35 rustPlatform.buildRustPackage { 36 pname = "devenv"; ··· 40 owner = "cachix"; 41 repo = "devenv"; 42 tag = "v${version}"; 43 + hash = "sha256-YsSFlVWUu4RSYnObqcBJ4Mr3bJVVhuFhaQAktHytBAI="; 44 }; 45 46 + cargoHash = "sha256-zJorGAsp5k5oBuXogYqEPVexcNsYCeiTmrQqySd1AGs="; 47 48 buildAndTestSubdir = "devenv"; 49
+2 -2
pkgs/by-name/di/diffoscope/package.nix
··· 106 # Note: when upgrading this package, please run the list-missing-tools.sh script as described below! 107 python.pkgs.buildPythonApplication rec { 108 pname = "diffoscope"; 109 - version = "301"; 110 format = "setuptools"; 111 112 src = fetchurl { 113 url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; 114 - hash = "sha256-piTdP812LgcxvvgvUOKUrkxVXCbclyQW8dp84beT7H4="; 115 }; 116 117 outputs = [
··· 106 # Note: when upgrading this package, please run the list-missing-tools.sh script as described below! 107 python.pkgs.buildPythonApplication rec { 108 pname = "diffoscope"; 109 + version = "302"; 110 format = "setuptools"; 111 112 src = fetchurl { 113 url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; 114 + hash = "sha256-PngiG+nPaPrGHt+uTeH7R+MlKjPXFxfkFiDo6+pssTw="; 115 }; 116 117 outputs = [
-59
pkgs/by-name/fi/figma-agent/0001-update-time.patch
··· 1 - From aaa07b6430c555a8c41f458ccf0eca2213e82317 Mon Sep 17 00:00:00 2001 2 - From: wxt <3264117476@qq.com> 3 - Date: Sat, 28 Sep 2024 11:06:40 +0800 4 - Subject: [PATCH] update time 5 - 6 - --- 7 - Cargo.lock | 16 ++++++++++++---- 8 - 1 file changed, 12 insertions(+), 4 deletions(-) 9 - 10 - diff --git a/Cargo.lock b/Cargo.lock 11 - index 282fe41..8b308d5 100644 12 - --- a/Cargo.lock 13 - +++ b/Cargo.lock 14 - @@ -952,6 +952,12 @@ dependencies = [ 15 - "minimal-lexical", 16 - ] 17 - 18 - +[[package]] 19 - +name = "num-conv" 20 - +version = "0.1.0" 21 - +source = "registry+https://github.com/rust-lang/crates.io-index" 22 - +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 23 - + 24 - [[package]] 25 - name = "object" 26 - version = "0.32.2" 27 - @@ -1313,12 +1319,13 @@ dependencies = [ 28 - 29 - [[package]] 30 - name = "time" 31 - -version = "0.3.31" 32 - +version = "0.3.36" 33 - source = "registry+https://github.com/rust-lang/crates.io-index" 34 - -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" 35 - +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" 36 - dependencies = [ 37 - "deranged", 38 - "itoa", 39 - + "num-conv", 40 - "powerfmt", 41 - "serde", 42 - "time-core", 43 - @@ -1333,10 +1340,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" 44 - 45 - [[package]] 46 - name = "time-macros" 47 - -version = "0.2.16" 48 - +version = "0.2.18" 49 - source = "registry+https://github.com/rust-lang/crates.io-index" 50 - -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" 51 - +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" 52 - dependencies = [ 53 - + "num-conv", 54 - "time-core", 55 - ] 56 - 57 - -- 58 - 2.46.0 59 -
···
+12 -10
pkgs/by-name/fi/figma-agent/package.nix
··· 6 fontconfig, 7 freetype, 8 }: 9 - rustPlatform.buildRustPackage rec { 10 pname = "figma-agent"; 11 - version = "0.3.2"; 12 13 src = fetchFromGitHub { 14 owner = "neetly"; 15 repo = "figma-agent-linux"; 16 - tag = version; 17 - sha256 = "sha256-iXLQOc8gomOik+HIIoviw19II5MD6FM0W5DT3aqtIcM="; 18 }; 19 20 - cargoPatches = [ 21 - ./0001-update-time.patch 22 - ]; 23 - 24 - cargoHash = "sha256-4OAce76XCLlngC7BrX8eiQlHo+Mi2Tfrb9t1Rc/gSFA="; 25 26 nativeBuildInputs = [ 27 pkg-config ··· 33 freetype 34 ]; 35 36 meta = { 37 homepage = "https://github.com/neetly/figma-agent-linux"; 38 - description = "Figma Agent for Linux (a.k.a. Font Helper)"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ ]; 41 mainProgram = "figma-agent"; 42 }; 43 }
··· 6 fontconfig, 7 freetype, 8 }: 9 + rustPlatform.buildRustPackage { 10 pname = "figma-agent"; 11 + version = "0.3.2-unstable-2024-11-16"; 12 13 src = fetchFromGitHub { 14 owner = "neetly"; 15 repo = "figma-agent-linux"; 16 + rev = "6709a1b7ffcbfb227472d8f017bfbbda77ddca7d"; 17 + sha256 = "sha256-Cq+ivyrj6wt7DEUM730BG44sMkpOMt4qxb+J3itVar4="; 18 }; 19 20 + cargoHash = "sha256-QdEs1zaQ2CQT50nIhKxtp7zpJfa64xQgOy3sTOUGmxk="; 21 22 nativeBuildInputs = [ 23 pkg-config ··· 29 freetype 30 ]; 31 32 + checkFlags = [ 33 + # All tests fail due to unavailable bindings 34 + "--skip=figma-agent-freetype-sys" 35 + ]; 36 + 37 meta = { 38 + description = "Figma Agent for Linux with a focus on performance"; 39 homepage = "https://github.com/neetly/figma-agent-linux"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ ]; 42 mainProgram = "figma-agent"; 43 + platforms = lib.platforms.linux; 44 }; 45 }
+45
pkgs/by-name/go/go-jsonschema/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + buildGoModule (finalAttrs: { 8 + pname = "go-jsonschema"; 9 + version = "0.20.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "omissis"; 13 + repo = "go-jsonschema"; 14 + tag = "v${finalAttrs.version}"; 15 + hash = "sha256-e1eL5Blf9l4cSR7Tg740eTFza3ViJEiwLaoUsUZzQu4="; 16 + }; 17 + 18 + vendorHash = "sha256-vHtigJ2YNFFWGxv6/pGwmmGE0Fn+2S7NguyrhVME7ak="; 19 + 20 + ldflags = [ 21 + "-X main.version=v${finalAttrs.version}" 22 + "-s" 23 + "-w" 24 + ]; 25 + 26 + env.GOWORK = "off"; 27 + 28 + # Tests are in a nested Go module which makes things difficult. 29 + preBuild = '' 30 + rm -rf tests 31 + ''; 32 + 33 + passthru.updateScript = nix-update-script { }; 34 + 35 + meta = { 36 + description = "A tool to generate Go data types from JSON Schema definitions."; 37 + homepage = "https://github.com/omissis/go-jsonschema"; 38 + changelog = "https://github.com/omissis/go-jsonschema/releases/tag/v${finalAttrs.version}"; 39 + license = lib.licenses.mit; 40 + maintainers = with lib.maintainers; [ 41 + shellhazard 42 + ]; 43 + mainProgram = "go-jsonschema"; 44 + }; 45 + })
+2
pkgs/by-name/he/heroic-unwrapped/package.nix
··· 15 legendary-heroic, 16 nile, 17 comet-gog, 18 }: 19 20 let ··· 90 makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \ 91 --inherit-argv0 \ 92 --set ELECTRON_FORCE_IS_PACKAGED 1 \ 93 --add-flags --disable-gpu-compositing \ 94 --add-flags $out/opt/heroic/resources/app.asar \ 95 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
··· 15 legendary-heroic, 16 nile, 17 comet-gog, 18 + umu-launcher, 19 }: 20 21 let ··· 91 makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \ 92 --inherit-argv0 \ 93 --set ELECTRON_FORCE_IS_PACKAGED 1 \ 94 + --suffix PATH ":" "${umu-launcher}/bin" \ 95 --add-flags --disable-gpu-compositing \ 96 --add-flags $out/opt/heroic/resources/app.asar \ 97 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
+5 -143
pkgs/by-name/he/heroic/package.nix
··· 1 { 2 - buildFHSEnv, 3 heroic-unwrapped, 4 extraPkgs ? pkgs: [ ], 5 extraLibraries ? pkgs: [ ], 6 }: 7 8 - buildFHSEnv { 9 pname = "heroic"; 10 - inherit (heroic-unwrapped) version; 11 12 runScript = "heroic"; 13 14 - # Many Wine and native games need 32-bit libraries. 15 - multiArch = true; 16 - 17 - # required by Electron 18 - unshareIpc = false; 19 - 20 - targetPkgs = 21 - pkgs: 22 - with pkgs; 23 - [ 24 - heroic-unwrapped 25 - gamemode 26 - curl 27 - gawk 28 - zenity 29 - kdePackages.kdialog 30 - mangohud 31 - net-tools 32 - opencl-headers 33 - p7zip 34 - pciutils 35 - perl 36 - psmisc 37 - python3 38 - umu-launcher 39 - unzip 40 - which 41 - xorg.xrandr 42 - zstd 43 - ] 44 - ++ extraPkgs pkgs; 45 - 46 - multiPkgs = 47 - let 48 - xorgDeps = 49 - pkgs: with pkgs.xorg; [ 50 - libICE 51 - libpthreadstubs 52 - libSM 53 - libX11 54 - libXaw 55 - libxcb 56 - libXcomposite 57 - libXcursor 58 - libXdmcp 59 - libXext 60 - libXfixes 61 - libXi 62 - libXinerama 63 - libXmu 64 - libXrandr 65 - libXrender 66 - libXScrnSaver 67 - libXt 68 - libXtst 69 - libXv 70 - libXxf86vm 71 - ]; 72 - gstreamerDeps = 73 - pkgs: with pkgs.gst_all_1; [ 74 - gstreamer 75 - gst-plugins-base 76 - gst-plugins-good 77 - gst-plugins-ugly 78 - gst-plugins-bad 79 - gst-libav 80 - ]; 81 - in 82 - pkgs: 83 - with pkgs; 84 - [ 85 - alsa-lib 86 - alsa-plugins 87 - bash 88 - cabextract 89 - cairo 90 - coreutils 91 - cups 92 - dbus 93 - freealut 94 - freetype 95 - fribidi 96 - giflib 97 - glib 98 - gnutls 99 - gtk3 100 - icu 101 - lcms2 102 - libevdev 103 - libgcrypt 104 - libGLU 105 - libglvnd 106 - libgpg-error 107 - libgudev 108 - libjpeg 109 - libkrb5 110 - libmpeg2 111 - libogg 112 - libopus 113 - libpng 114 - libpulseaudio 115 - libselinux 116 - libsndfile 117 - libtheora 118 - libtiff 119 - libunwind 120 - libusb1 121 - libv4l 122 - libva 123 - libvdpau 124 - libvorbis 125 - libvpx 126 - libwebp 127 - libxkbcommon 128 - libxml2 129 - mpg123 130 - ncurses 131 - ocl-icd 132 - openal 133 - openldap 134 - openssl 135 - pango 136 - pipewire 137 - samba4 138 - sane-backends 139 - SDL2 140 - speex 141 - sqlite 142 - udev 143 - unixODBC 144 - util-linux 145 - vulkan-loader 146 - wayland 147 - zlib 148 - ] 149 - ++ xorgDeps pkgs 150 - ++ gstreamerDeps pkgs 151 - ++ extraLibraries pkgs; 152 153 extraInstallCommands = '' 154 mkdir -p $out/share 155 ln -s ${heroic-unwrapped}/share/applications $out/share 156 ln -s ${heroic-unwrapped}/share/icons $out/share 157 ''; 158 - 159 - meta = heroic-unwrapped.meta; 160 }
··· 1 { 2 + steam, 3 heroic-unwrapped, 4 extraPkgs ? pkgs: [ ], 5 extraLibraries ? pkgs: [ ], 6 }: 7 8 + steam.buildRuntimeEnv { 9 pname = "heroic"; 10 + inherit (heroic-unwrapped) version meta; 11 12 runScript = "heroic"; 13 14 + extraPkgs = pkgs: [ heroic-unwrapped ] ++ extraPkgs pkgs; 15 + inherit extraLibraries; 16 17 extraInstallCommands = '' 18 mkdir -p $out/share 19 ln -s ${heroic-unwrapped}/share/applications $out/share 20 ln -s ${heroic-unwrapped}/share/icons $out/share 21 ''; 22 }
+2 -2
pkgs/by-name/hu/hugo/package.nix
··· 11 12 buildGoModule (finalAttrs: { 13 pname = "hugo"; 14 - version = "0.148.1"; 15 16 src = fetchFromGitHub { 17 owner = "gohugoio"; 18 repo = "hugo"; 19 tag = "v${finalAttrs.version}"; 20 - hash = "sha256-EGga3tSaq+95s+3iamiCZ0qfdLE6Nw3hhZ7t54OIRjU="; 21 }; 22 23 vendorHash = "sha256-vckvhw1kpcI2SXSNjUR6u5o21qz9ZcWw+namDglpwxc=";
··· 11 12 buildGoModule (finalAttrs: { 13 pname = "hugo"; 14 + version = "0.148.2"; 15 16 src = fetchFromGitHub { 17 owner = "gohugoio"; 18 repo = "hugo"; 19 tag = "v${finalAttrs.version}"; 20 + hash = "sha256-6ILQRihdVkDrL5sEITfGzzMzXFmvYpO39s/QeUAVW6o="; 21 }; 22 23 vendorHash = "sha256-vckvhw1kpcI2SXSNjUR6u5o21qz9ZcWw+namDglpwxc=";
+3 -3
pkgs/by-name/hy/hyprprop/package.nix
··· 14 }: 15 stdenvNoCC.mkDerivation (finalAttrs: { 16 pname = "hyprprop"; 17 - version = "0.1-unstable-2025-07-18"; 18 19 src = fetchFromGitHub { 20 owner = "hyprwm"; 21 repo = "contrib"; 22 - rev = "481175e17e155f19a3b31416530b6edf725e7034"; 23 - hash = "sha256-usBNOT/uzFdsKDe5Ik+C36zqL+BfT7Lp2rqKWrpQuqk="; 24 }; 25 26 sourceRoot = "${finalAttrs.src.name}/hyprprop";
··· 14 }: 15 stdenvNoCC.mkDerivation (finalAttrs: { 16 pname = "hyprprop"; 17 + version = "0.1-unstable-2025-07-23"; 18 19 src = fetchFromGitHub { 20 owner = "hyprwm"; 21 repo = "contrib"; 22 + rev = "6839b23345b71db17cd408373de4f5605bf589b8"; 23 + hash = "sha256-PFAJoEqQWMlo1J+yZb+4HixmhbRVmmNl58e/AkLYDDI="; 24 }; 25 26 sourceRoot = "${finalAttrs.src.name}/hyprprop";
+3 -3
pkgs/by-name/jf/jfrog-cli/package.nix
··· 8 9 buildGoModule rec { 10 pname = "jfrog-cli"; 11 - version = "2.77.0"; 12 13 src = fetchFromGitHub { 14 owner = "jfrog"; 15 repo = "jfrog-cli"; 16 tag = "v${version}"; 17 - hash = "sha256-CUmx2hQppay8S+zBs4XEXle8pF5mVXPyCJhtYyZ1N8M="; 18 }; 19 20 proxyVendor = true; 21 - vendorHash = "sha256-TmOzexlojVF+9WqbEVzKFfbdgjGVzyBgeKjFEX5UobI="; 22 23 checkFlags = "-skip=^TestReleaseBundle"; 24
··· 8 9 buildGoModule rec { 10 pname = "jfrog-cli"; 11 + version = "2.78.1"; 12 13 src = fetchFromGitHub { 14 owner = "jfrog"; 15 repo = "jfrog-cli"; 16 tag = "v${version}"; 17 + hash = "sha256-9lhoAgu7y+JbZk/Cee2G74nhEJ4C2KKStcBistuIRtE="; 18 }; 19 20 proxyVendor = true; 21 + vendorHash = "sha256-8Aaxwysbuzo2n2w4OPn7jooqrjEGwrZAlgec3j/pN2A="; 22 23 checkFlags = "-skip=^TestReleaseBundle"; 24
+3 -3
pkgs/by-name/ju/juju/package.nix
··· 9 10 buildGoModule rec { 11 pname = "juju"; 12 - version = "3.6.7"; 13 14 src = fetchFromGitHub { 15 owner = "juju"; 16 repo = "juju"; 17 rev = "v${version}"; 18 - hash = "sha256-FJ6LZcsokno+VTj+mXO0YD8Q9qC5qG3CgXqnrPNokRY="; 19 }; 20 21 - vendorHash = "sha256-blzjN9UknamoffR5Kpd1HmGhB+bWb+zL0SnzelW40M0="; 22 23 subPackages = [ 24 "cmd/juju"
··· 9 10 buildGoModule rec { 11 pname = "juju"; 12 + version = "3.6.8"; 13 14 src = fetchFromGitHub { 15 owner = "juju"; 16 repo = "juju"; 17 rev = "v${version}"; 18 + hash = "sha256-Y+sUR8HURkiICa6lffz0u3CeX9bzOjtbFOdvy7PaZfU="; 19 }; 20 21 + vendorHash = "sha256-ghgXwaSyOVW3Viw+xA9r6KogKWJp0IWMByVdWCbE6hY="; 22 23 subPackages = [ 24 "cmd/juju"
+3 -3
pkgs/by-name/li/lianad/package.nix
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "lianad"; 11 - version = "11.1"; # keep in sync with liana 12 13 src = fetchFromGitHub { 14 owner = "wizardsardine"; 15 repo = "liana"; 16 rev = "v${version}"; 17 - hash = "sha256-trP6jnhMPASPkV7VwSHCl7gUhmx4F+68YK/QK+SPPZg="; 18 }; 19 20 - cargoHash = "sha256-Zmxb4ZxuIyyKWrGaX3/1UHgkmo/XtqIHuP9luAnzgm4="; 21 22 buildInputs = [ udev ]; 23
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "lianad"; 11 + version = "12.0"; # keep in sync with liana 12 13 src = fetchFromGitHub { 14 owner = "wizardsardine"; 15 repo = "liana"; 16 rev = "v${version}"; 17 + hash = "sha256-TZUNYr7p4P/++eX9ZNU/d1IurPrkZn/PJmJOsB01VMY="; 18 }; 19 20 + cargoHash = "sha256-Hb5icOKgQiDzFLWwUfkwXcr1vn80QcAr+fKwG37PkYc="; 21 22 buildInputs = [ udev ]; 23
+5 -1
pkgs/by-name/ok/oku/package.nix
··· 12 pango, 13 webkitgtk_6_0, 14 nix-update-script, 15 }: 16 17 rustPlatform.buildRustPackage (finalAttrs: { ··· 55 cp -r ${finalAttrs.src}/data/hicolor $out/share/icons 56 ''; 57 58 - passthru.updateScript = nix-update-script { }; 59 60 meta = { 61 description = "Browser for the Oku Network and Peer-to-peer sites";
··· 12 pango, 13 webkitgtk_6_0, 14 nix-update-script, 15 + nixosTests, 16 }: 17 18 rustPlatform.buildRustPackage (finalAttrs: { ··· 56 cp -r ${finalAttrs.src}/data/hicolor $out/share/icons 57 ''; 58 59 + passthru = { 60 + updateScript = nix-update-script { }; 61 + tests = { inherit (nixosTests) oku; }; 62 + }; 63 64 meta = { 65 description = "Browser for the Oku Network and Peer-to-peer sites";
+4
pkgs/by-name/op/open-policy-agent/package.nix
··· 49 "TestInterQueryCache_ClientError" 50 "TestIntraQueryCache_ClientError" 51 "TestSSOCredentialService" 52 ] 53 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 54 # Skip tests that require network, not available in the darwin sandbox
··· 49 "TestInterQueryCache_ClientError" 50 "TestIntraQueryCache_ClientError" 51 "TestSSOCredentialService" 52 + 53 + # This test depends on the metrics available in go not changing. This is a bit 54 + # too unstable for us updating go independently. 55 + "TestJSONSerialization" 56 ] 57 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 58 # Skip tests that require network, not available in the darwin sandbox
+54
pkgs/by-name/pr/prctl/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + autoreconfHook, 6 + versionCheckHook, 7 + nix-update-script, 8 + bash, 9 + }: 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "prctl"; 13 + version = "1.7"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "hikerockies"; 17 + repo = "prctl"; 18 + tag = "v${finalAttrs.version}"; 19 + hash = "sha256-1b8SO70mp0ACL3hw/iwKpPUpI5G7hF7l84hlSDHB2oA="; 20 + }; 21 + 22 + strictDeps = true; 23 + nativeBuildInputs = [ autoreconfHook ]; 24 + nativeInstallCheckInputs = [ versionCheckHook ]; 25 + 26 + patches = [ 27 + # Eliminate unsafe strcpy() calls, 28 + # cf. <https://github.com/hikerockies/prctl/pull/1> 29 + ./prctl-strcpy-overflow.patch 30 + 31 + # Correct option parsing, 32 + # cf. <https://github.com/hikerockies/prctl/pull/2> 33 + ./prctl-getopt.patch 34 + ]; 35 + 36 + postPatch = '' 37 + substituteInPlace prctl.c \ 38 + --replace-fail '"/bin/bash"' '"${lib.getExe bash}"' 39 + ''; 40 + 41 + doInstallCheck = true; 42 + 43 + passthru.updateScript = nix-update-script { }; 44 + 45 + meta = { 46 + description = "Tool to query and modify process behaviour"; 47 + homepage = "https://tracker.debian.org/pkg/prctl"; 48 + changelog = "https://github.com/hikerockies/prctl/blob/v${finalAttrs.version}/ChangeLog"; 49 + mainProgram = "prctl"; 50 + maintainers = with lib.maintainers; [ mvs ]; 51 + license = lib.licenses.gpl2Only; 52 + platforms = lib.platforms.linux; 53 + }; 54 + })
+55
pkgs/by-name/pr/prctl/prctl-getopt.patch
···
··· 1 + From 6745b6362681f57823a57575a7949bd510767ac4 Mon Sep 17 00:00:00 2001 2 + From: Mikael Voss <mvs@nyantec.com> 3 + Date: Wed, 23 Jul 2025 18:37:10 +0200 4 + Subject: [PATCH 1/2] Replace unsound use of EOF 5 + MIME-Version: 1.0 6 + Content-Type: text/plain; charset=UTF-8 7 + Content-Transfer-Encoding: 8bit 8 + 9 + While getopt_long returns -1 on error, EOF is an implementation‐defined 10 + negative integer constant that just happens to be defined as -1 by most 11 + C standard libraries. 12 + --- 13 + prctl.c | 4 ++-- 14 + 1 file changed, 2 insertions(+), 2 deletions(-) 15 + 16 + diff --git a/prctl.c b/prctl.c 17 + index 38cbcd1..527584c 100644 18 + --- a/prctl.c 19 + +++ b/prctl.c 20 + @@ -299,8 +299,8 @@ main(int argc, char **argv) 21 + exit(1); 22 + } 23 + opterr = 0; 24 + - while ((opt = getopt_long(argc, argv, "+qhv", longopts, 25 + - (int *) NULL)) != EOF) { 26 + + while ((opt = getopt_long(argc, argv, "+qhv", longopts, 27 + + (int *) NULL)) != -1) { 28 + switch (opt) { 29 + case 'u': 30 + if (strcmp(optarg, "silent") == 0) { 31 + 32 + From 0c11b937c30e41e97c3fa852f6d65cd595bc193f Mon Sep 17 00:00:00 2001 33 + From: Mikael Voss <mvs@nyantec.com> 34 + Date: Wed, 23 Jul 2025 18:54:39 +0200 35 + Subject: [PATCH 2/2] Properly display invalid long options 36 + 37 + --- 38 + prctl.c | 4 ++-- 39 + 1 file changed, 2 insertions(+), 2 deletions(-) 40 + 41 + diff --git a/prctl.c b/prctl.c 42 + index 527584c..4c1d632 100644 43 + --- a/prctl.c 44 + +++ b/prctl.c 45 + @@ -375,8 +375,8 @@ main(int argc, char **argv) 46 + break; 47 + 48 + case '?': 49 + - fprintf(stderr, "%s: invalid option - %c\n", 50 + - progname, optopt); 51 + + fprintf(stderr, "%s: invalid option: %s\n", 52 + + progname, argv[optind - 1]); 53 + exit(1); 54 + break; 55 + }
+138
pkgs/by-name/pr/prctl/prctl-strcpy-overflow.patch
···
··· 1 + From 079877486d9bbe170de2fbc3cba37713d11ab224 Mon Sep 17 00:00:00 2001 2 + From: Mikael Voss <mvs@nyantec.com> 3 + Date: Wed, 23 Jul 2025 17:33:04 +0200 4 + Subject: [PATCH 1/2] Avoid unnecessary copy of argv[0] 5 + MIME-Version: 1.0 6 + Content-Type: text/plain; charset=UTF-8 7 + Content-Transfer-Encoding: 8bit 8 + 9 + The programme is copying the contents of *argv[0] into a fixed‐size 10 + buffer of 512 bytes using strcpy(). This might result in a buffer 11 + overflow and is unnecessary as the contents are never modified. 12 + --- 13 + prctl.c | 12 +++++------- 14 + 1 file changed, 5 insertions(+), 7 deletions(-) 15 + 16 + diff --git a/prctl.c b/prctl.c 17 + index 38cbcd1..b8cb85b 100644 18 + --- a/prctl.c 19 + +++ b/prctl.c 20 + @@ -51,13 +51,13 @@ struct option longopts[] = { 21 + int verbose=0; 22 + 23 + void 24 + -print_version(char *progname) 25 + +print_version(char const *progname) 26 + { 27 + printf("%s version %s\n", progname, VERSION); 28 + } 29 + 30 + void 31 + -usage(char *progname) 32 + +usage(char const *progname) 33 + { 34 + print_version(progname); 35 + printf("Usage: %s [-v] [-h|--help] [--version]\n", progname); 36 + @@ -273,8 +273,7 @@ int 37 + main(int argc, char **argv) 38 + { 39 + int opt, cmd_start; 40 + - char *progname; 41 + - char fullpath[512]; 42 + + char const *progname; 43 + char shellname[128]; 44 + int unaligned_val = -99; 45 + int fpemu_val = -99; 46 + @@ -284,11 +283,10 @@ main(int argc, char **argv) 47 + int display_all = 0; 48 + int umask; 49 + 50 + - strcpy(fullpath, argv[0]); 51 + - if ((progname = strrchr(fullpath, '/')) != NULL) { 52 + + if ((progname = strrchr(argv[0], '/')) != NULL) { 53 + progname++; 54 + } else { 55 + - progname = fullpath; 56 + + progname = argv[0]; 57 + } 58 + 59 + /* 60 + 61 + From c233d083cec389e10dc9e85b3a835cf81246c275 Mon Sep 17 00:00:00 2001 62 + From: Mikael Voss <mvs@nyantec.com> 63 + Date: Wed, 23 Jul 2025 17:57:59 +0200 64 + Subject: [PATCH 2/2] Avoid unnecessary copy of shell path 65 + MIME-Version: 1.0 66 + Content-Type: text/plain; charset=UTF-8 67 + Content-Transfer-Encoding: 8bit 68 + 69 + The programme tries getenv("SHELL") and getpwuid(getuid())->pw_shell to 70 + determine the preferred shell, falling back to DEFAULT_SHELL, and 71 + copies the contents pointed to into a fixed‐sized buffer of 128 bytes 72 + using strcpy(). 73 + 74 + This could result in a buffer overflow and is not necessary: While both 75 + getenv() and getpwuid() return pointers to locations which might get 76 + modified by subsequent calls to their respective function families, 77 + they are only called once, so that these pointers can be aliased safely. 78 + 79 + In addition, getenv("SHELL") would return a null pointer if the variable 80 + is unset in the environment, resulting in a null pointer dereference in 81 + the enclosing strcpy() call. 82 + --- 83 + prctl.c | 22 +++++++++------------- 84 + 1 file changed, 9 insertions(+), 13 deletions(-) 85 + 86 + diff --git a/prctl.c b/prctl.c 87 + index b8cb85b..342419c 100644 88 + --- a/prctl.c 89 + +++ b/prctl.c 90 + @@ -274,7 +274,7 @@ main(int argc, char **argv) 91 + { 92 + int opt, cmd_start; 93 + char const *progname; 94 + - char shellname[128]; 95 + + char const *shellname; 96 + int unaligned_val = -99; 97 + int fpemu_val = -99; 98 + int mcekill_val = -99; 99 + @@ -443,31 +443,27 @@ main(int argc, char **argv) 100 + } 101 + 102 + printf("Starting a shell\n"); 103 + - strcpy(shellname, getenv("SHELL")); 104 + - 105 + + shellname = getenv("SHELL"); 106 + + 107 + /* 108 + * Make sure SHELL environment variable is not unset. If it 109 + - * is, start bash. 110 + + * is, start user login shell or bash. 111 + */ 112 + - if (shellname[0] == 0) { 113 + + if (shellname == NULL) { 114 + struct passwd *pwd_entry; 115 + 116 + pwd_entry = getpwuid(getuid()); 117 + - if (pwd_entry == NULL) { 118 + - strcpy(shellname, DEFAULT_SHELL); 119 + + if (pwd_entry != NULL && pwd_entry->pw_shell != NULL) { 120 + + shellname = pwd_entry->pw_shell; 121 + } else { 122 + - if (pwd_entry->pw_shell != NULL) { 123 + - strcpy(shellname, pwd_entry->pw_shell); 124 + - } else { 125 + - strcpy(shellname, DEFAULT_SHELL); 126 + - } 127 + + shellname = DEFAULT_SHELL; 128 + } 129 + } 130 + 131 + /* 132 + * Now exec the shell 133 + */ 134 + - if (execlp(shellname, (char *)shellname, (char *) 0) == -1) { 135 + + if (execlp(shellname, shellname, (char *) 0) == -1) { 136 + fprintf(stderr, "Failed to exec the shell: %s\n", 137 + strerror(errno)); 138 + exit(1);
+5 -5
pkgs/by-name/q2/q2pro/package.nix
··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "q2pro"; 35 - version = "0-unstable-2025-05-03"; 36 37 src = fetchFromGitHub { 38 owner = "skullernet"; 39 repo = "q2pro"; 40 - rev = "aba81ef8bc277e9a4e11733a449a29d07ea28c7a"; 41 - hash = "sha256-5iUvHmqhB8X9ylTMS1va4qTnPCRPI4yOg2L0Qp2d9hE="; 42 }; 43 44 # build date and rev number is displayed in the game's console 45 - revCount = "3817"; # git rev-list --count ${src.rev} 46 - SOURCE_DATE_EPOCH = "1746223027"; # git show -s --format=%ct ${src.rev} 47 48 nativeBuildInputs = [ 49 meson
··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "q2pro"; 35 + version = "0-unstable-2025-07-21"; 36 37 src = fetchFromGitHub { 38 owner = "skullernet"; 39 repo = "q2pro"; 40 + rev = "3aa0d40ba58935154b0d2a02116021bfbb4f17e8"; 41 + hash = "sha256-aqpOoECNKozbCWnCFpyTCbUlTx8tdpqjMAES7x9yEM0="; 42 }; 43 44 # build date and rev number is displayed in the game's console 45 + revCount = "3832"; # git rev-list --count ${src.rev} 46 + SOURCE_DATE_EPOCH = "1753090158"; # git show -s --format=%ct ${src.rev} 47 48 nativeBuildInputs = [ 49 meson
+2 -2
pkgs/by-name/qu/quarkus/package.nix
··· 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "quarkus-cli"; 11 - version = "3.24.4"; 12 13 src = fetchurl { 14 url = "https://github.com/quarkusio/quarkus/releases/download/${finalAttrs.version}/quarkus-cli-${finalAttrs.version}.tar.gz"; 15 - hash = "sha256-MvLqKqFFrd3EV/9TEhYqn7lArWfNYzUg4UNUSFT2Nek="; 16 }; 17 18 nativeBuildInputs = [ makeWrapper ];
··· 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "quarkus-cli"; 11 + version = "3.24.5"; 12 13 src = fetchurl { 14 url = "https://github.com/quarkusio/quarkus/releases/download/${finalAttrs.version}/quarkus-cli-${finalAttrs.version}.tar.gz"; 15 + hash = "sha256-yO7sq4WZ39TtpZ6MD8rWZgJXl2P6IOLbnzxCN8caEN0="; 16 }; 17 18 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/by-name/ra/rabbitmqadmin-ng/package.nix
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "rabbitmqadmin-ng"; 11 - version = "2.2.1"; 12 13 src = fetchFromGitHub { 14 owner = "rabbitmq"; 15 repo = "rabbitmqadmin-ng"; 16 tag = "v${version}"; 17 - hash = "sha256-F/AkkmGn6LvbCiSE3znl/U/YDYLGQ7SCe0lBDTBzqic="; 18 }; 19 20 - cargoHash = "sha256-ZldTiRsxJH3UYNC9KeQ4WtPM75CtcAB6sbo3yzzZ5xA="; 21 22 buildInputs = [ openssl ]; 23 nativeBuildInputs = [ pkg-config ];
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "rabbitmqadmin-ng"; 11 + version = "2.7.1"; 12 13 src = fetchFromGitHub { 14 owner = "rabbitmq"; 15 repo = "rabbitmqadmin-ng"; 16 tag = "v${version}"; 17 + hash = "sha256-ifvSDtj+A9wR6tvM82bzP9I4ZpOYrIzqkGtL7jFfPvQ="; 18 }; 19 20 + cargoHash = "sha256-7r44ouNmqycF9ZBccR0iN6qps1oc7sjQCgK0G19zzF0="; 21 22 buildInputs = [ openssl ]; 23 nativeBuildInputs = [ pkg-config ];
+2 -2
pkgs/by-name/si/signal-export/package.nix
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "signal-export"; 10 - version = "3.6.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "signal_export"; 16 - hash = "sha256-lflRY6EC9fqgdYwQ9Incc2PJ22okZC9Juu6X7pxGJ8w="; 17 }; 18 19 build-system = with python3.pkgs; [
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "signal-export"; 10 + version = "3.7.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "signal_export"; 16 + hash = "sha256-xaXU+SODijD/iq2owj5IPKL+L2nrVfi573P58Txz8io="; 17 }; 18 19 build-system = with python3.pkgs; [
+159 -129
pkgs/by-name/st/steam/package.nix
··· 13 privateTmp ? true, # if the steam bubblewrap should isolate /tmp 14 }: 15 let 16 - steamEnv = 17 { 18 - name, 19 - runScript, 20 - passthru ? { }, 21 - meta ? { }, 22 - }: 23 - buildFHSEnv { 24 - inherit 25 - name 26 - runScript 27 - passthru 28 - meta 29 - privateTmp 30 - ; 31 - 32 - multiArch = true; 33 - includeClosures = true; 34 - 35 - # https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/distro-assumptions.md#command-line-tools 36 - targetPkgs = 37 - pkgs: 38 - with pkgs; 39 - [ 40 - steam-unwrapped 41 42 - bash 43 - coreutils 44 - file 45 - lsb-release # not documented, called from Big Picture 46 - pciutils # not documented, complains about lspci on startup 47 - glibc_multi.bin 48 - xdg-utils # calls xdg-open occasionally 49 - xz 50 - zenity 51 52 - # Steam expects it to be /sbin specifically 53 - (pkgs.runCommand "sbin-ldconfig" { } '' 54 - mkdir -p $out/sbin 55 - ln -s /bin/ldconfig $out/sbin/ldconfig 56 - '') 57 58 - # crashes on startup if it can't find libX11 locale files 59 - (pkgs.runCommand "xorg-locale" { } '' 60 - mkdir -p $out 61 - ln -s ${xorg.libX11}/share $out/share 62 - '') 63 - ] 64 - ++ extraPkgs pkgs; 65 66 - # https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/distro-assumptions.md#shared-libraries 67 - multiPkgs = 68 - pkgs: 69 - with pkgs; 70 - [ 71 - glibc 72 - libxcrypt 73 - libGL 74 75 - libdrm 76 - libgbm 77 - udev 78 - libudev0-shim 79 - libva 80 - vulkan-loader 81 82 - networkmanager 83 - # not documented, used for network status things in Big Picture 84 - # FIXME: figure out how to only build libnm? 85 - libcap # not documented, required by srt-bwrap 86 - ] 87 - ++ extraLibraries pkgs; 88 89 - extraInstallCommands = lib.optionalString (steam-unwrapped != null) '' 90 - ln -s ${steam-unwrapped}/share $out/share 91 - ''; 92 93 - profile = '' 94 - # prevents log spam from SteamRT GTK trying to load host GIO modules 95 - unset GIO_EXTRA_MODULES 96 97 - # udev event notifications don't work reliably inside containers. 98 - # SDL2 already tries to automatically detect flatpak and pressure-vessel 99 - # and falls back to inotify-based discovery [1]. We make SDL2 do the 100 - # same by telling it explicitly. 101 - # 102 - # [1] <https://github.com/libsdl-org/SDL/commit/8e2746cfb6e1f1a1da5088241a1440fd2535e321> 103 - export SDL_JOYSTICK_DISABLE_UDEV=1 104 105 - # This is needed for IME (e.g. iBus, fcitx5) to function correctly on non-CJK locales 106 - # https://github.com/ValveSoftware/steam-for-linux/issues/781#issuecomment-2004757379 107 - export GTK_IM_MODULE='xim' 108 109 - # See https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/distro-assumptions.md#graphics-driver 110 - export LIBGL_DRIVERS_PATH=/run/opengl-driver/lib/dri:/run/opengl-driver-32/lib/dri 111 - export __EGL_VENDOR_LIBRARY_DIRS=/run/opengl-driver/share/glvnd/egl_vendor.d:/run/opengl-driver-32/share/glvnd/egl_vendor.d 112 - export LIBVA_DRIVERS_PATH=/run/opengl-driver/lib/dri:/run/opengl-driver-32/lib/dri 113 - export VDPAU_DRIVER_PATH=/run/opengl-driver/lib/vdpau:/run/opengl-driver-32/lib/vdpau 114 115 - # Steam gets confused by the symlinks to bind mounts to symlinks /etc/localtime ends up being, so help it out. 116 - # See also: https://github.com/flathub/com.valvesoftware.Steam/blob/28481f09f33c12b6ac7421d13af9ed1523c54ec4/steam_wrapper/steam_wrapper.py#L160 117 - if [ -z ''${TZ+x} ]; then 118 - new_TZ="$(readlink -f /etc/localtime | grep -P -o '(?<=/zoneinfo/).*$')" 119 - if [ $? -eq 0 ]; then 120 - export TZ="$new_TZ" 121 fi 122 - fi 123 124 - set -a 125 - ${lib.toShellVars extraEnv} 126 - set +a 127 128 - ${extraProfile} 129 - ''; 130 131 - inherit extraPreBwrapCmds; 132 133 - extraBwrapArgs = [ 134 - # Steam will dump crash reports here, make those more accessible 135 - "--bind-try /tmp/dumps /tmp/dumps" 136 - ] 137 - ++ extraBwrapArgs; 138 - }; 139 in 140 - steamEnv { 141 - name = "steam"; 142 143 runScript = writeShellScript "steam-wrapped" '' 144 exec steam ${extraArgs} "$@" 145 ''; 146 147 - passthru.run = steamEnv { 148 - name = "steam-run"; 149 150 - runScript = writeShellScript "steam-run" '' 151 - if [ $# -eq 0 ]; then 152 - echo "Usage: steam-run command-to-run args..." >&2 153 - exit 1 154 - fi 155 156 - exec "$@" 157 - ''; 158 159 - meta = (steam-unwrapped.meta or { }) // { 160 - description = "Run commands in the same FHS environment that is used for Steam"; 161 - mainProgram = "steam-run"; 162 - name = "steam-run"; 163 - # steam-run itself is just a script that lives in nixpkgs (which is licensed under MIT). 164 - # steam is a dependency and already unfree, so normal steam-run will not install without 165 - # allowing unfree packages or appropriate `allowUnfreePredicate` rules. 166 - license = lib.licenses.mit; 167 - }; 168 - }; 169 170 - meta = (steam-unwrapped.meta or { }) // { 171 - description = "Steam dependencies (dummy package, do not use)"; 172 - }; 173 }
··· 13 privateTmp ? true, # if the steam bubblewrap should isolate /tmp 14 }: 15 let 16 + buildRuntimeEnv = 17 { 18 + extraPkgs ? pkgs: [ ], 19 + extraLibraries ? pkgs: [ ], 20 + extraProfile ? "", 21 + extraPreBwrapCmds ? "", 22 + extraBwrapArgs ? [ ], 23 + extraEnv ? { }, 24 + ... 25 + }@args: 26 + buildFHSEnv ( 27 + (builtins.removeAttrs args [ 28 + "extraPkgs" 29 + "extraLibraries" 30 + "extraProfile" 31 + "extraPreBwrapCmds" 32 + "extraBwrapArgs" 33 + "extraArgs" 34 + "extraEnv" 35 + ]) 36 + // { 37 + inherit privateTmp; 38 39 + multiArch = true; 40 + includeClosures = true; 41 42 + # https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/distro-assumptions.md#command-line-tools 43 + targetPkgs = 44 + pkgs: 45 + with pkgs; 46 + [ 47 + bash 48 + coreutils 49 + file 50 + lsb-release # not documented, called from Big Picture 51 + pciutils # not documented, complains about lspci on startup 52 + glibc_multi.bin 53 + xdg-utils # calls xdg-open occasionally 54 + xz 55 + zenity 56 57 + # Steam expects it to be /sbin specifically 58 + (pkgs.runCommand "sbin-ldconfig" { } '' 59 + mkdir -p $out/sbin 60 + ln -s /bin/ldconfig $out/sbin/ldconfig 61 + '') 62 63 + # crashes on startup if it can't find libX11 locale files 64 + (pkgs.runCommand "xorg-locale" { } '' 65 + mkdir -p $out 66 + ln -s ${xorg.libX11}/share $out/share 67 + '') 68 + ] 69 + ++ extraPkgs pkgs; 70 71 + # https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/distro-assumptions.md#shared-libraries 72 + multiPkgs = 73 + pkgs: 74 + with pkgs; 75 + [ 76 + glibc 77 + libxcrypt 78 + libGL 79 80 + libdrm 81 + libgbm 82 + udev 83 + libudev0-shim 84 + libva 85 + vulkan-loader 86 87 + networkmanager 88 + # not documented, used for network status things in Big Picture 89 + # FIXME: figure out how to only build libnm? 90 + libcap # not documented, required by srt-bwrap 91 + ] 92 + ++ extraLibraries pkgs; 93 94 + profile = '' 95 + # prevents log spam from SteamRT GTK trying to load host GIO modules 96 + unset GIO_EXTRA_MODULES 97 98 + # udev event notifications don't work reliably inside containers. 99 + # SDL2 already tries to automatically detect flatpak and pressure-vessel 100 + # and falls back to inotify-based discovery [1]. We make SDL2 do the 101 + # same by telling it explicitly. 102 + # 103 + # [1] <https://github.com/libsdl-org/SDL/commit/8e2746cfb6e1f1a1da5088241a1440fd2535e321> 104 + export SDL_JOYSTICK_DISABLE_UDEV=1 105 106 + # This is needed for IME (e.g. iBus, fcitx5) to function correctly on non-CJK locales 107 + # https://github.com/ValveSoftware/steam-for-linux/issues/781#issuecomment-2004757379 108 + export GTK_IM_MODULE='xim' 109 110 + # See https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/docs/distro-assumptions.md#graphics-driver 111 + export LIBGL_DRIVERS_PATH=/run/opengl-driver/lib/dri:/run/opengl-driver-32/lib/dri 112 + export __EGL_VENDOR_LIBRARY_DIRS=/run/opengl-driver/share/glvnd/egl_vendor.d:/run/opengl-driver-32/share/glvnd/egl_vendor.d 113 + export LIBVA_DRIVERS_PATH=/run/opengl-driver/lib/dri:/run/opengl-driver-32/lib/dri 114 + export VDPAU_DRIVER_PATH=/run/opengl-driver/lib/vdpau:/run/opengl-driver-32/lib/vdpau 115 116 + # Steam gets confused by the symlinks to bind mounts to symlinks /etc/localtime ends up being, so help it out. 117 + # See also: https://github.com/flathub/com.valvesoftware.Steam/blob/28481f09f33c12b6ac7421d13af9ed1523c54ec4/steam_wrapper/steam_wrapper.py#L160 118 + if [ -z ''${TZ+x} ]; then 119 + new_TZ="$(readlink -f /etc/localtime | grep -P -o '(?<=/zoneinfo/).*$')" 120 + if [ $? -eq 0 ]; then 121 + export TZ="$new_TZ" 122 + fi 123 fi 124 125 + set -a 126 + ${lib.toShellVars extraEnv} 127 + set +a 128 129 + ${extraProfile} 130 + ''; 131 132 + inherit extraPreBwrapCmds; 133 134 + extraBwrapArgs = [ 135 + # Steam will dump crash reports here, make those more accessible 136 + "--bind-try /tmp/dumps /tmp/dumps" 137 + ] 138 + ++ extraBwrapArgs; 139 + } 140 + ); 141 in 142 + buildRuntimeEnv { 143 + pname = "steam"; 144 + inherit (steam-unwrapped) version meta; 145 + 146 + extraPkgs = pkgs: [ steam-unwrapped ] ++ extraPkgs pkgs; 147 + inherit 148 + extraLibraries 149 + extraProfile 150 + extraPreBwrapCmds 151 + extraBwrapArgs 152 + extraEnv 153 + ; 154 155 runScript = writeShellScript "steam-wrapped" '' 156 exec steam ${extraArgs} "$@" 157 ''; 158 159 + extraInstallCommands = '' 160 + ln -s ${steam-unwrapped}/share $out/share 161 + ''; 162 163 + passthru = 164 + let 165 + makeSteamRun = 166 + package: 167 + buildRuntimeEnv { 168 + name = "steam-run"; 169 170 + extraPkgs = pkgs: package ++ extraPkgs pkgs; 171 172 + inherit 173 + extraLibraries 174 + extraProfile 175 + extraPreBwrapCmds 176 + extraBwrapArgs 177 + extraEnv 178 + ; 179 180 + runScript = writeShellScript "steam-run" '' 181 + if [ $# -eq 0 ]; then 182 + echo "Usage: steam-run command-to-run args..." >&2 183 + exit 1 184 + fi 185 + 186 + exec "$@" 187 + ''; 188 + 189 + meta = { 190 + description = "Run commands in the same FHS environment that is used for Steam"; 191 + mainProgram = "steam-run"; 192 + name = "steam-run"; 193 + license = lib.licenses.mit; 194 + }; 195 + }; 196 + in 197 + { 198 + inherit buildRuntimeEnv; 199 + 200 + run = makeSteamRun [ steam-unwrapped ]; 201 + run-free = makeSteamRun [ ]; 202 + }; 203 }
+13 -13
pkgs/by-name/st/storj-uplink/package.nix
··· 4 fetchFromGitHub, 5 }: 6 7 - buildGoModule rec { 8 pname = "storj-uplink"; 9 - version = "1.131.7"; 10 11 src = fetchFromGitHub { 12 owner = "storj"; 13 repo = "storj"; 14 - rev = "v${version}"; 15 - hash = "sha256-zZQOiYH2YN6pRwu2ddt+IEJ35RJ3rplbQ+T4/zKtv8w="; 16 }; 17 18 subPackages = [ "cmd/uplink" ]; 19 20 - vendorHash = "sha256-8g5NZpw2T2NuyizSh/cA2seSChEGWzlZmR82Xg0ClKQ="; 21 22 - ldflags = [ 23 - "-s" 24 - "-w" 25 - ]; 26 27 - meta = with lib; { 28 description = "Command-line tool for Storj"; 29 homepage = "https://storj.io"; 30 - license = licenses.agpl3Only; 31 mainProgram = "uplink"; 32 - maintainers = with maintainers; [ felipeqq2 ]; 33 }; 34 - }
··· 4 fetchFromGitHub, 5 }: 6 7 + buildGoModule (finalAttrs: { 8 pname = "storj-uplink"; 9 + version = "1.133.5"; 10 11 src = fetchFromGitHub { 12 owner = "storj"; 13 repo = "storj"; 14 + tag = "v${finalAttrs.version}"; 15 + hash = "sha256-MvaA8AkoP4FszEEM33QKDt5zeXMZ3XDt5uU1t6C6Q1I="; 16 }; 17 18 subPackages = [ "cmd/uplink" ]; 19 20 + vendorHash = "sha256-N1rEEM+oH2VVOvg9c8gICQ1aDO9FS/faVbQl0kj1jYM="; 21 22 + ldflags = [ "-s" ]; 23 + 24 + # Tests fail with 'listen tcp 127.0.0.1:0: bind: operation not permitted'. 25 + __darwinAllowLocalNetworking = true; 26 27 + meta = { 28 description = "Command-line tool for Storj"; 29 homepage = "https://storj.io"; 30 + license = lib.licenses.agpl3Only; 31 mainProgram = "uplink"; 32 + maintainers = with lib.maintainers; [ felipeqq2 ]; 33 }; 34 + })
+2 -2
pkgs/by-name/te/terraform-local/package.nix
··· 5 }: 6 python3Packages.buildPythonApplication rec { 7 pname = "terraform_local"; 8 - version = "0.24.0"; 9 pyproject = true; 10 11 src = fetchPypi { 12 inherit pname version; 13 - hash = "sha256-w+Jd8OPA5XjLw5zp8AEwHlPT5Or4z+elaW9pFKMR9OA="; 14 }; 15 16 build-system = with python3Packages; [ setuptools ];
··· 5 }: 6 python3Packages.buildPythonApplication rec { 7 pname = "terraform_local"; 8 + version = "0.24.1"; 9 pyproject = true; 10 11 src = fetchPypi { 12 inherit pname version; 13 + hash = "sha256-LPrrKDoXUwg/P1m+Gi4I0iUoaRNjNpTWlbBLupkTrpE="; 14 }; 15 16 build-system = with python3Packages; [ setuptools ];
+12 -24
pkgs/by-name/um/umu-launcher/package.nix
··· 1 { 2 - buildFHSEnv, 3 lib, 4 steam, 5 umu-launcher-unwrapped, ··· 7 extraLibraries ? pkgs: [ ], 8 extraProfile ? "", # string to append to shell profile 9 extraEnv ? { }, # Environment variables to include in shell profile 10 - withMultiArch ? true, # Many Wine games need 32-bit libraries. 11 }: 12 - let 13 - # Steam is not a dependency, but we re-use some of its implementation 14 - steam' = steam.override { 15 - inherit extraEnv extraProfile; 16 - }; 17 - in 18 - buildFHSEnv { 19 pname = "umu-launcher"; 20 inherit (umu-launcher-unwrapped) version meta; 21 22 - targetPkgs = 23 - pkgs: 24 - [ 25 - # Use umu-launcher-unwrapped from the package args, to support overriding 26 - umu-launcher-unwrapped 27 - ] 28 - ++ extraPkgs pkgs; 29 - multiPkgs = extraLibraries; 30 - multiArch = withMultiArch; 31 32 executableName = umu-launcher-unwrapped.meta.mainProgram; 33 runScript = lib.getExe umu-launcher-unwrapped; 34 35 extraInstallCommands = '' 36 ln -s ${umu-launcher-unwrapped}/lib $out/lib 37 ln -s ${umu-launcher-unwrapped}/share $out/share 38 ''; 39 - 40 - # For umu & proton, we need roughly the same environment as Steam. 41 - # For simplicity, we use Steam's `profile` implementation. 42 - # See https://github.com/NixOS/nixpkgs/pull/381047 43 - # And https://github.com/NixOS/nixpkgs/issues/297662#issuecomment-2647656699 44 - inherit (steam'.args) profile; 45 }
··· 1 { 2 lib, 3 steam, 4 umu-launcher-unwrapped, ··· 6 extraLibraries ? pkgs: [ ], 7 extraProfile ? "", # string to append to shell profile 8 extraEnv ? { }, # Environment variables to include in shell profile 9 }: 10 + steam.buildRuntimeEnv { 11 pname = "umu-launcher"; 12 inherit (umu-launcher-unwrapped) version meta; 13 14 + extraPkgs = pkgs: [ umu-launcher-unwrapped ] ++ extraPkgs pkgs; 15 + inherit 16 + extraLibraries 17 + extraProfile 18 + extraEnv 19 + ; 20 21 executableName = umu-launcher-unwrapped.meta.mainProgram; 22 runScript = lib.getExe umu-launcher-unwrapped; 23 24 + # Legendary spawns UMU, doesn't wait for it to exit, 25 + # and immediately exits itself. This makes it so we can't 26 + # die with parent, because parent is already dead. 27 + dieWithParent = false; 28 + 29 extraInstallCommands = '' 30 ln -s ${umu-launcher-unwrapped}/lib $out/lib 31 ln -s ${umu-launcher-unwrapped}/share $out/share 32 ''; 33 }
+3 -3
pkgs/by-name/v2/v2ray/package.nix
··· 16 17 buildGoModule rec { 18 pname = "v2ray-core"; 19 - version = "5.37.0"; 20 21 src = fetchFromGitHub { 22 owner = "v2fly"; 23 repo = "v2ray-core"; 24 rev = "v${version}"; 25 - hash = "sha256-guALD7pXZUWE9eBYvjUhAE1QeodH3Nw30nVyRaNrRGw="; 26 }; 27 28 # `nix-update` doesn't support `vendorHash` yet. 29 # https://github.com/Mic92/nix-update/pull/95 30 - vendorHash = "sha256-zf2oalZB/5EDqo0lrKbiaYSt0uw7Qh9J5exgxGrvLUg="; 31 32 ldflags = [ 33 "-s"
··· 16 17 buildGoModule rec { 18 pname = "v2ray-core"; 19 + version = "5.38.0"; 20 21 src = fetchFromGitHub { 22 owner = "v2fly"; 23 repo = "v2ray-core"; 24 rev = "v${version}"; 25 + hash = "sha256-vx0ttx7ACbgTeP7JCb+VHHBwPS97RVK9tZJaxf/bIyQ="; 26 }; 27 28 # `nix-update` doesn't support `vendorHash` yet. 29 # https://github.com/Mic92/nix-update/pull/95 30 + vendorHash = "sha256-P/QWkUXJPHHndN2yEVYl3mq55Vi5/ayNwMtDHyQygdQ="; 31 32 ldflags = [ 33 "-s"
+2 -2
pkgs/by-name/vu/vulkan-cts/package.nix
··· 45 in 46 stdenv.mkDerivation (finalAttrs: { 47 pname = "vulkan-cts"; 48 - version = "1.4.3.1"; 49 50 src = fetchFromGitHub { 51 owner = "KhronosGroup"; 52 repo = "VK-GL-CTS"; 53 rev = "vulkan-cts-${finalAttrs.version}"; 54 - hash = "sha256-DW9Js4eVC7I5pyjdmcP6TdLZ9RrFKfizAgOYuQmzF5Q="; 55 }; 56 57 prePatch = ''
··· 45 in 46 stdenv.mkDerivation (finalAttrs: { 47 pname = "vulkan-cts"; 48 + version = "1.4.3.2"; 49 50 src = fetchFromGitHub { 51 owner = "KhronosGroup"; 52 repo = "VK-GL-CTS"; 53 rev = "vulkan-cts-${finalAttrs.version}"; 54 + hash = "sha256-Ahp8Wcil0IWSMXXA0Hlm/4KtBCo4HFSQtYAjIlFGtgA="; 55 }; 56 57 prePatch = ''
+3 -3
pkgs/development/compilers/llvm/default.nix
··· 34 "20.1.6".officialRelease.sha256 = "sha256-PfCzECiCM+k0hHqEUSr1TSpnII5nqIxg+Z8ICjmMj0Y="; 35 "21.1.0-rc1".officialRelease.sha256 = "sha256-EZMG3kNqGTvKSuvslbrtNnyqBCG5C2gN9Y2qHbiuh8Q="; 36 "22.0.0-git".gitRelease = { 37 - rev = "f3a3270dbca3649b7d56aaa42cb8481fb34e2d67"; 38 - rev-version = "22.0.0-unstable-2025-07-20"; 39 - sha256 = "sha256-rMiPa8T2n0IWtOv0SYb+eWWHRfPTBGEb4yCp11gVzRE="; 40 }; 41 } 42 // llvmVersions;
··· 34 "20.1.6".officialRelease.sha256 = "sha256-PfCzECiCM+k0hHqEUSr1TSpnII5nqIxg+Z8ICjmMj0Y="; 35 "21.1.0-rc1".officialRelease.sha256 = "sha256-EZMG3kNqGTvKSuvslbrtNnyqBCG5C2gN9Y2qHbiuh8Q="; 36 "22.0.0-git".gitRelease = { 37 + rev = "90de4a4ac96ef314e3af9c43c516d5aaf105777a"; 38 + rev-version = "22.0.0-unstable-2025-07-28"; 39 + sha256 = "sha256-zTxqMegoqoXHFLXZijWsTXny5y2WLdXTwMtiPnY9KLs="; 40 }; 41 } 42 // llvmVersions;
+2 -2
pkgs/development/python-modules/boto3-stubs/default.nix
··· 359 360 buildPythonPackage rec { 361 pname = "boto3-stubs"; 362 - version = "1.39.11"; 363 pyproject = true; 364 365 disabled = pythonOlder "3.7"; ··· 367 src = fetchPypi { 368 pname = "boto3_stubs"; 369 inherit version; 370 - hash = "sha256-3Ig1yx4lbzCWAx5ehFVkNk0LKNXLT/7/5U7K99smaug="; 371 }; 372 373 build-system = [ setuptools ];
··· 359 360 buildPythonPackage rec { 361 pname = "boto3-stubs"; 362 + version = "1.39.14"; 363 pyproject = true; 364 365 disabled = pythonOlder "3.7"; ··· 367 src = fetchPypi { 368 pname = "boto3_stubs"; 369 inherit version; 370 + hash = "sha256-NNiQIr4JdELwK9Tpof51gDy2taP2tHY7tqXr191tfck="; 371 }; 372 373 build-system = [ setuptools ];
+6 -4
pkgs/development/python-modules/lightning-utilities/default.nix
··· 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 - # build 7 setuptools, 8 9 - # runtime 10 looseversion, 11 packaging, 12 typing-extensions, 13 14 # tests ··· 18 19 buildPythonPackage rec { 20 pname = "lightning-utilities"; 21 - version = "0.14.3"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "Lightning-AI"; 26 repo = "utilities"; 27 tag = "v${version}"; 28 - hash = "sha256-MI2dhcxYZJw+EMO05m+W/yE5UlNBB2AHltb0XDamxMc="; 29 }; 30 31 postPatch = '' ··· 38 dependencies = [ 39 looseversion 40 packaging 41 typing-extensions 42 ]; 43
··· 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 + # build-system 7 setuptools, 8 9 + # dependencies 10 looseversion, 11 packaging, 12 + tomlkit, 13 typing-extensions, 14 15 # tests ··· 19 20 buildPythonPackage rec { 21 pname = "lightning-utilities"; 22 + version = "0.15.0"; 23 pyproject = true; 24 25 src = fetchFromGitHub { 26 owner = "Lightning-AI"; 27 repo = "utilities"; 28 tag = "v${version}"; 29 + hash = "sha256-4WCsaprtAvrKFbPCa1bZJzT0Fo5F9sMYT2A+bolEmwk="; 30 }; 31 32 postPatch = '' ··· 39 dependencies = [ 40 looseversion 41 packaging 42 + tomlkit 43 typing-extensions 44 ]; 45
+18 -18
pkgs/development/python-modules/mypy-boto3/default.nix
··· 106 "sha256-etvr1Nu5aInbxZ7VINX0GAVSxymk11yWDPWiLcB+FXU="; 107 108 mypy-boto3-appintegrations = 109 - buildMypyBoto3Package "appintegrations" "1.39.0" 110 - "sha256-HPiNjI2qR+n/M4n8/chH58CJqVT1aI+H9oJss3xjVCU="; 111 112 mypy-boto3-application-autoscaling = 113 buildMypyBoto3Package "application-autoscaling" "1.39.0" ··· 178 "sha256-MXS/FQkRYkWXS/ZCDnQkYnIgQ9k+JV9fAl8FZ9504cs="; 179 180 mypy-boto3-budgets = 181 - buildMypyBoto3Package "budgets" "1.39.0" 182 - "sha256-JH8+9lZOkcA3noyuVt0kQP5w04rlDy2W3wD6PzEauas="; 183 184 mypy-boto3-ce = 185 buildMypyBoto3Package "ce" "1.39.0" ··· 334 "sha256-ZcXizvC4Y/WkJnyegLLdxkxvv3LD7A/XB6k7Lb7UkI4="; 335 336 mypy-boto3-config = 337 - buildMypyBoto3Package "config" "1.39.0" 338 - "sha256-eZC2Lyb/xh+bQi7qskPjrrQymOXgAaT0UB20T/zUpNA="; 339 340 mypy-boto3-connect = 341 buildMypyBoto3Package "connect" "1.39.0" ··· 446 "sha256-uYeekAsfyETYQYWR3L8S+uzlp6EQpvYEWsqiX+60b/Y="; 447 448 mypy-boto3-ec2 = 449 - buildMypyBoto3Package "ec2" "1.39.10" 450 - "sha256-8fxtJZJnC0UDtEqRMdOzU92mht0oAg4zjxcS1kb6biw="; 451 452 mypy-boto3-ec2-instance-connect = 453 buildMypyBoto3Package "ec2-instance-connect" "1.39.0" ··· 574 "sha256-pKeTUtqqLKy5DX4ASRJK1LpRg7Y6KnrnKcY7twMXiHM="; 575 576 mypy-boto3-glue = 577 - buildMypyBoto3Package "glue" "1.39.7" 578 - "sha256-/BVuh0ocQWpWcdlxFW6NIhp1pQ5hNp/Jiji9HMoGD7U="; 579 580 mypy-boto3-grafana = 581 buildMypyBoto3Package "grafana" "1.39.0" ··· 762 "sha256-4O3YwpoJd0hMIvNLIoH6pQfHAB+SXxGvuJ/ZBAXIizI="; 763 764 mypy-boto3-kms = 765 - buildMypyBoto3Package "kms" "1.39.0" 766 - "sha256-G36mwjFKniqdiowwRj9T947p2mGIT2Wz1bJ2TREac/M="; 767 768 mypy-boto3-lakeformation = 769 buildMypyBoto3Package "lakeformation" "1.39.0" ··· 878 "sha256-m2GQMKzrBEiKkk8gBhRvETEe4SplH5l/GYpc86wwBG0="; 879 880 mypy-boto3-mediapackagev2 = 881 - buildMypyBoto3Package "mediapackagev2" "1.39.7" 882 - "sha256-rVbM/wQ0NJ5K0LMIQWgAN4kW419f4mhiR8Sadog+aPA="; 883 884 mypy-boto3-mediastore = 885 buildMypyBoto3Package "mediastore" "1.39.0" ··· 966 "sha256-FvlItvDTdy6snW2oENJGKnGQi/6FGytV+PVaJNXH7Nk="; 967 968 mypy-boto3-omics = 969 - buildMypyBoto3Package "omics" "1.39.0" 970 - "sha256-F3NyoF6+p+icDI14Ieb1Kv4lvL0Qlyxu4svExfcaRSU="; 971 972 mypy-boto3-opensearch = 973 buildMypyBoto3Package "opensearch" "1.39.5" ··· 1290 "sha256-pW6TPUN9BkawWJUe7Mkv/GCvguzEb15Q+hrp22oic4E="; 1291 1292 mypy-boto3-sqs = 1293 - buildMypyBoto3Package "sqs" "1.39.0" 1294 - "sha256-J51InpuP+4YPLcY0lgjp6yia4MjDVYc56eYsWV5FaDQ="; 1295 1296 mypy-boto3-ssm = 1297 buildMypyBoto3Package "ssm" "1.39.9"
··· 106 "sha256-etvr1Nu5aInbxZ7VINX0GAVSxymk11yWDPWiLcB+FXU="; 107 108 mypy-boto3-appintegrations = 109 + buildMypyBoto3Package "appintegrations" "1.39.14" 110 + "sha256-SLOj38N3NbssE3apROhXjVYDN7NCyGVnyWKqywiBwSw="; 111 112 mypy-boto3-application-autoscaling = 113 buildMypyBoto3Package "application-autoscaling" "1.39.0" ··· 178 "sha256-MXS/FQkRYkWXS/ZCDnQkYnIgQ9k+JV9fAl8FZ9504cs="; 179 180 mypy-boto3-budgets = 181 + buildMypyBoto3Package "budgets" "1.39.14" 182 + "sha256-Td+Do7vxVC/t9MHgx7DXNV0+ABddqCCOFoN2OPMHoJ0="; 183 184 mypy-boto3-ce = 185 buildMypyBoto3Package "ce" "1.39.0" ··· 334 "sha256-ZcXizvC4Y/WkJnyegLLdxkxvv3LD7A/XB6k7Lb7UkI4="; 335 336 mypy-boto3-config = 337 + buildMypyBoto3Package "config" "1.39.14" 338 + "sha256-FbsHEAA1wDmN3ne+NTnzxHTUgZCLVPYFCVuX0L4tH90="; 339 340 mypy-boto3-connect = 341 buildMypyBoto3Package "connect" "1.39.0" ··· 446 "sha256-uYeekAsfyETYQYWR3L8S+uzlp6EQpvYEWsqiX+60b/Y="; 447 448 mypy-boto3-ec2 = 449 + buildMypyBoto3Package "ec2" "1.39.14" 450 + "sha256-D3xsvpQ8CMGj6brwxwLNjlmSDLP4oW91WuZyvPJO9qw="; 451 452 mypy-boto3-ec2-instance-connect = 453 buildMypyBoto3Package "ec2-instance-connect" "1.39.0" ··· 574 "sha256-pKeTUtqqLKy5DX4ASRJK1LpRg7Y6KnrnKcY7twMXiHM="; 575 576 mypy-boto3-glue = 577 + buildMypyBoto3Package "glue" "1.39.12" 578 + "sha256-7k4hI6y282CI5Tm1i+smjIHO6N83mFlE2cY3SngekXo="; 579 580 mypy-boto3-grafana = 581 buildMypyBoto3Package "grafana" "1.39.0" ··· 762 "sha256-4O3YwpoJd0hMIvNLIoH6pQfHAB+SXxGvuJ/ZBAXIizI="; 763 764 mypy-boto3-kms = 765 + buildMypyBoto3Package "kms" "1.39.14" 766 + "sha256-HKOO9AXAt3ZIj1dgftxszcfkJjGtrSPcZKufye/HKrQ="; 767 768 mypy-boto3-lakeformation = 769 buildMypyBoto3Package "lakeformation" "1.39.0" ··· 878 "sha256-m2GQMKzrBEiKkk8gBhRvETEe4SplH5l/GYpc86wwBG0="; 879 880 mypy-boto3-mediapackagev2 = 881 + buildMypyBoto3Package "mediapackagev2" "1.39.14" 882 + "sha256-X5RvEr/I1Yj0IeCUGtNA92FzmqZY/grri8pgs0NVtqg="; 883 884 mypy-boto3-mediastore = 885 buildMypyBoto3Package "mediastore" "1.39.0" ··· 966 "sha256-FvlItvDTdy6snW2oENJGKnGQi/6FGytV+PVaJNXH7Nk="; 967 968 mypy-boto3-omics = 969 + buildMypyBoto3Package "omics" "1.39.13" 970 + "sha256-iPx1rzAdu0DsTJRVWdJGCgSy+dzwykIQaXwiZt/zYxg="; 971 972 mypy-boto3-opensearch = 973 buildMypyBoto3Package "opensearch" "1.39.5" ··· 1290 "sha256-pW6TPUN9BkawWJUe7Mkv/GCvguzEb15Q+hrp22oic4E="; 1291 1292 mypy-boto3-sqs = 1293 + buildMypyBoto3Package "sqs" "1.39.14" 1294 + "sha256-YFcAbN+G8sLzZ27WV0xBKZD9EqRBKzoLlVanySJJPKc="; 1295 1296 mypy-boto3-ssm = 1297 buildMypyBoto3Package "ssm" "1.39.9"
+2 -2
pkgs/development/python-modules/publicsuffixlist/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "publicsuffixlist"; 14 - version = "1.0.2.20250719"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 - hash = "sha256-AEQ660tm0jEPMBxIpsIrni1GyxiQa12UlH87msEZzec="; 22 }; 23 24 build-system = [ setuptools ];
··· 11 12 buildPythonPackage rec { 13 pname = "publicsuffixlist"; 14 + version = "1.0.2.20250724"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-eZKPikda5WtjxSS+nZGftcMVFjFrZMeHVt9XAl5QQWs="; 22 }; 23 24 build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/pymilvus/default.nix
··· 23 24 buildPythonPackage rec { 25 pname = "pymilvus"; 26 - version = "2.5.13"; 27 pyproject = true; 28 29 src = fetchFromGitHub { 30 owner = "milvus-io"; 31 repo = "pymilvus"; 32 tag = "v${version}"; 33 - hash = "sha256-+sBOpGnvF6MPCCkaosUemow39Jdy/yNjfnJ+QGX7teI="; 34 }; 35 36 build-system = [
··· 23 24 buildPythonPackage rec { 25 pname = "pymilvus"; 26 + version = "2.5.14"; 27 pyproject = true; 28 29 src = fetchFromGitHub { 30 owner = "milvus-io"; 31 repo = "pymilvus"; 32 tag = "v${version}"; 33 + hash = "sha256-h+HjDM+uhmcz7fKXE4RWtqD2+Evd9rqG3Zd5jsDyCNE="; 34 }; 35 36 build-system = [
+54
pkgs/development/python-modules/srctools/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + meson, 6 + meson-python, 7 + cython_3_1, 8 + attrs, 9 + useful-types, 10 + pytestCheckHook, 11 + pillow, 12 + pytest-regressions, 13 + dirty-equals, 14 + }: 15 + let 16 + pname = "srctools"; 17 + version = "2.6.0"; 18 + in 19 + buildPythonPackage { 20 + inherit pname version; 21 + format = "pyproject"; 22 + 23 + src = fetchPypi { 24 + inherit pname version; 25 + hash = "sha256-QHPRSgu3i443kLeLeJXVpPP0hqMbsi4lScAYHrrfWEM="; 26 + }; 27 + 28 + build-system = [ 29 + meson 30 + meson-python 31 + cython_3_1 32 + ]; 33 + 34 + dependencies = [ 35 + attrs 36 + useful-types 37 + ]; 38 + 39 + nativeCheckInputs = [ 40 + pytestCheckHook 41 + pillow 42 + pytest-regressions 43 + dirty-equals 44 + ]; 45 + 46 + pythonImportsCheck = [ "srctools" ]; 47 + 48 + meta = { 49 + description = "Modules for working with Valve's Source Engine file formats"; 50 + homepage = "https://github.com/TeamSpen210/srctools"; 51 + license = lib.licenses.mit; 52 + maintainers = with lib.maintainers; [ different-name ]; 53 + }; 54 + }
+3
pkgs/os-specific/linux/kernel/common-config.nix
··· 321 NET_CLS_BPF = module; 322 NET_ACT_BPF = module; 323 NET_SCHED = yes; 324 L2TP_V3 = yes; 325 L2TP_IP = module; 326 L2TP_ETH = module; ··· 655 # default to dual role mode 656 USB_DWC2_DUAL_ROLE = yes; 657 USB_DWC3_DUAL_ROLE = yes; 658 }; 659 660 usb-serial = {
··· 321 NET_CLS_BPF = module; 322 NET_ACT_BPF = module; 323 NET_SCHED = yes; 324 + NET_SCH_BPF = whenAtLeast "6.16" yes; 325 L2TP_V3 = yes; 326 L2TP_IP = module; 327 L2TP_ETH = module; ··· 656 # default to dual role mode 657 USB_DWC2_DUAL_ROLE = yes; 658 USB_DWC3_DUAL_ROLE = yes; 659 + 660 + USB_XHCI_SIDEBAND = whenAtLeast "6.16" yes; # needed for audio offload 661 }; 662 663 usb-serial = {
+4
pkgs/os-specific/linux/kernel/kernels-org.json
··· 30 "6.15": { 31 "version": "6.15.8", 32 "hash": "sha256:19i87zpq3zhpg09sdirnzys2s2yrv9xn8mpibl1a6qmr2sy94znk" 33 } 34 }
··· 30 "6.15": { 31 "version": "6.15.8", 32 "hash": "sha256:19i87zpq3zhpg09sdirnzys2s2yrv9xn8mpibl1a6qmr2sy94znk" 33 + }, 34 + "6.16": { 35 + "version": "6.16", 36 + "hash": "sha256:10ydzfzc3g0nhns6md08gpfshhjcyd58lylqr15alijjdgzf4jqs" 37 } 38 }
+2
pkgs/top-level/aliases.nix
··· 1132 linuxPackages_6_13 = linuxKernel.packages.linux_6_13; 1133 linuxPackages_6_14 = linuxKernel.packages.linux_6_14; 1134 linuxPackages_6_15 = linuxKernel.packages.linux_6_15; 1135 linuxPackages_ham = linuxKernel.packages.linux_ham; 1136 linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1; 1137 linuxPackages_rpi02w = linuxKernel.packages.linux_rpi3; ··· 1156 linux_6_13 = linuxKernel.kernels.linux_6_13; 1157 linux_6_14 = linuxKernel.kernels.linux_6_14; 1158 linux_6_15 = linuxKernel.kernels.linux_6_15; 1159 linux_ham = linuxKernel.kernels.linux_ham; 1160 linux_rpi0 = linuxKernel.kernels.linux_rpi1; 1161 linux_rpi02w = linuxKernel.kernels.linux_rpi3;
··· 1132 linuxPackages_6_13 = linuxKernel.packages.linux_6_13; 1133 linuxPackages_6_14 = linuxKernel.packages.linux_6_14; 1134 linuxPackages_6_15 = linuxKernel.packages.linux_6_15; 1135 + linuxPackages_6_16 = linuxKernel.packages.linux_6_16; 1136 linuxPackages_ham = linuxKernel.packages.linux_ham; 1137 linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1; 1138 linuxPackages_rpi02w = linuxKernel.packages.linux_rpi3; ··· 1157 linux_6_13 = linuxKernel.kernels.linux_6_13; 1158 linux_6_14 = linuxKernel.kernels.linux_6_14; 1159 linux_6_15 = linuxKernel.kernels.linux_6_15; 1160 + linux_6_16 = linuxKernel.kernels.linux_6_16; 1161 linux_ham = linuxKernel.kernels.linux_ham; 1162 linux_rpi0 = linuxKernel.kernels.linux_rpi1; 1163 linux_rpi02w = linuxKernel.kernels.linux_rpi3;
+1 -5
pkgs/top-level/all-packages.nix
··· 14916 springLobby = callPackage ../games/spring/springlobby.nix { }; 14917 14918 steam-run = steam.run; 14919 - 14920 - # This exists so Hydra tries to build all of Steam's dependencies. 14921 - steam-fhsenv-without-steam = steam.override { steam-unwrapped = null; }; 14922 - 14923 - steam-run-free = steam-fhsenv-without-steam.run; 14924 14925 steamback = python3.pkgs.callPackage ../tools/games/steamback { }; 14926
··· 14916 springLobby = callPackage ../games/spring/springlobby.nix { }; 14917 14918 steam-run = steam.run; 14919 + steam-run-free = steam.run-free; 14920 14921 steamback = python3.pkgs.callPackage ../tools/games/steamback { }; 14922
+10 -1
pkgs/top-level/linux-kernels.nix
··· 219 ]; 220 }; 221 222 linux_testing = 223 let 224 testing = callPackage ../os-specific/linux/kernel/mainline.nix { ··· 732 linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); 733 linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12); 734 linux_6_15 = recurseIntoAttrs (packagesFor kernels.linux_6_15); 735 } 736 // lib.optionalAttrs config.allowAliases { 737 linux_4_19 = throw "linux 4.19 was removed because it will reach its end of life within 24.11"; # Added 2024-09-21 ··· 801 packageAliases = { 802 linux_default = packages.linux_6_12; 803 # Update this when adding the newest kernel major version! 804 - linux_latest = packages.linux_6_15; 805 linux_rt_default = packages.linux_rt_5_15; 806 linux_rt_latest = packages.linux_rt_6_6; 807 }
··· 219 ]; 220 }; 221 222 + linux_6_16 = callPackage ../os-specific/linux/kernel/mainline.nix { 223 + branch = "6.16"; 224 + kernelPatches = [ 225 + kernelPatches.bridge_stp_helper 226 + kernelPatches.request_key_helper 227 + ]; 228 + }; 229 + 230 linux_testing = 231 let 232 testing = callPackage ../os-specific/linux/kernel/mainline.nix { ··· 740 linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); 741 linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12); 742 linux_6_15 = recurseIntoAttrs (packagesFor kernels.linux_6_15); 743 + linux_6_16 = recurseIntoAttrs (packagesFor kernels.linux_6_16); 744 } 745 // lib.optionalAttrs config.allowAliases { 746 linux_4_19 = throw "linux 4.19 was removed because it will reach its end of life within 24.11"; # Added 2024-09-21 ··· 810 packageAliases = { 811 linux_default = packages.linux_6_12; 812 # Update this when adding the newest kernel major version! 813 + linux_latest = packages.linux_6_16; 814 linux_rt_default = packages.linux_rt_5_15; 815 linux_rt_latest = packages.linux_rt_6_6; 816 }
+2
pkgs/top-level/python-packages.nix
··· 17150 17151 squarify = callPackage ../development/python-modules/squarify { }; 17152 17153 sre-yield = callPackage ../development/python-modules/sre-yield { }; 17154 17155 srp = callPackage ../development/python-modules/srp { };
··· 17150 17151 squarify = callPackage ../development/python-modules/squarify { }; 17152 17153 + srctools = callPackage ../development/python-modules/srctools { }; 17154 + 17155 sre-yield = callPackage ../development/python-modules/sre-yield { }; 17156 17157 srp = callPackage ../development/python-modules/srp { };
+3 -1
pkgs/top-level/release.nix
··· 272 jobs.tests.stdenv.hooks.patch-shebangs.x86_64-linux 273 */ 274 ] 275 - ++ collect isDerivation jobs.stdenvBootstrapTools 276 ++ optionals supportDarwin.x86_64 [ 277 jobs.stdenv.x86_64-darwin 278 jobs.cargo.x86_64-darwin
··· 272 jobs.tests.stdenv.hooks.patch-shebangs.x86_64-linux 273 */ 274 ] 275 + # FIXME: these are just temporarily omitted until fixed 276 + # see https://hydra.nixos.org/build/303330677#tabs-constituents 277 + #++ collect isDerivation jobs.stdenvBootstrapTools 278 ++ optionals supportDarwin.x86_64 [ 279 jobs.stdenv.x86_64-darwin 280 jobs.cargo.x86_64-darwin