Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging-next 2024-05-15 - last for 24.05 #312133

Merged
merged 201 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
16f713d
rhash: Support FreeBSD by adding unreleased patches
rhelmot Mar 24, 2024
6ce6559
polkit: upstream moved to github
tmuehlbacher Apr 13, 2024
5ea359c
polkit: 123 -> 124
tmuehlbacher Apr 13, 2024
4b8fa41
polkit: move patch from archived upstream to local
tmuehlbacher Mar 11, 2024
2183340
pythonCatchConflictsHook: add test for multiple dependency chains
lopsided98 Apr 20, 2024
a25e43e
pythonCatchConflictsHook: prevent exponential worst-case
lopsided98 Apr 20, 2024
7f14d67
pythonCatchConflictsHook: cleanup due to visiting each path once
lopsided98 Apr 20, 2024
f9de72f
pythonCatchConflictsHook: split propagated-build-inputs on runs of wh…
lopsided98 Apr 20, 2024
fb0ddd9
libcamera: fix binary reproduciblity
Mic92 Apr 29, 2024
0293a35
apple-source-releases: always use python3Minimal
reckenrode Apr 22, 2024
e26b27a
tracker: 3.7.2 -> 3.7.3
trofi May 2, 2024
e69ace5
gdk-pixbuf: enable other loaders
qubitnano May 4, 2024
9b10f90
gdk-pixbuf: disable ani loader
qubitnano May 4, 2024
b7ef78c
po4a: formatting cleanup
linsui May 4, 2024
fd7787f
po4a: 0.62 -> 0.71
linsui May 4, 2024
158b4a0
Merge staging-next into staging
github-actions[bot] May 5, 2024
56d8e18
Merge pull request #309008 from linsui/po4a
stigtsp May 5, 2024
c929a0a
Merge staging-next into staging
github-actions[bot] May 6, 2024
570f26b
Merge staging-next into staging
github-actions[bot] May 6, 2024
34d5ec9
Merge staging-next into staging
github-actions[bot] May 6, 2024
99285ba
Merge pull request #307719 from Mic92/libcamera
Mic92 May 6, 2024
16c5281
at-spi2-core: add flag to disable systemd support
Jan 1, 2024
8b59206
directfb: use POSIX basename()
alyssais Apr 24, 2024
8ea0e19
Merge staging-next into staging
github-actions[bot] May 6, 2024
3e8f078
Merge pull request #306697 from reckenrode/apple-oss-python
toonn May 6, 2024
0ff673a
glibc: 2.39-31 -> 2.39-52
LeSuisse May 6, 2024
ff64c70
Merge staging-next into staging
github-actions[bot] May 7, 2024
8290e23
Merge staging-next into staging
github-actions[bot] May 7, 2024
6234b3e
zlib: link with --undefined-version on lld
rhelmot Apr 28, 2024
57bdbab
util-linux: 2.39.3 -> 2.40.1
alyssais May 6, 2024
66531a9
Merge staging-next into staging
github-actions[bot] May 7, 2024
234502f
libmbim: remove unused systemd dependency
alyssais May 7, 2024
10d45c7
Merge pull request #309840 from alyssais/libmbim-systemd
flokli May 7, 2024
ea42490
tpm2-tss: 4.1.0 -> 4.1.1
baloo May 7, 2024
c8ce5f7
Merge staging-next into staging
github-actions[bot] May 7, 2024
8ea6b8d
libmbim: remove unused systemd input
alyssais May 7, 2024
8da9f02
Merge pull request #309583 from alyssais/directfb-basename
SuperSandro2000 May 7, 2024
bc69480
Merge pull request #295087 from tmuehlbacher/polkit-124
SuperSandro2000 May 7, 2024
f05f40d
python3Packages.python-jose: add patches for CVE-2024-33663 and CVE-2…
stigtsp May 7, 2024
403b46d
Merge staging-next into staging
github-actions[bot] May 8, 2024
5da3ee4
Merge pull request #309905 from alyssais/libmbim-systemd
wineee May 8, 2024
ff0e307
go: 1.22.2 -> 1.22.3
r-ryantm May 8, 2024
81d4e8f
Merge staging-next into staging
github-actions[bot] May 8, 2024
ff80425
pkgsStatic.libgudev: fix build
alyssais May 7, 2024
2b3d191
libndp: fix cross compilation to musl
alyssais May 8, 2024
927d94f
Merge pull request #309641 from LeSuisse/glibc-2.39-52
Ma27 May 8, 2024
970c823
Merge staging-next into staging
github-actions[bot] May 8, 2024
dce50cf
Merge pull request #310050 from alyssais/libndp-musl
NickCao May 8, 2024
045375d
Merge pull request #309943 from stigtsp/fix/python-jose-2-cves
mweinelt May 8, 2024
d0fa212
Merge staging-next into staging
github-actions[bot] May 8, 2024
3459687
Merge staging-next into staging
github-actions[bot] May 9, 2024
ed881e9
Merge staging-next into staging
github-actions[bot] May 9, 2024
0a1e4ef
pipewire: 1.0.5 -> 1.0.6
K900 May 9, 2024
a25885e
Merge staging-next into staging
github-actions[bot] May 9, 2024
e5c7006
Merge pull request #308616 from trofi/tracker-update
bobby285271 May 9, 2024
68c889d
glib: 2.80.0 -> 2.80.2
leona-ya May 7, 2024
104f667
Merge pull request #308976 from qubitnano/pr/gdk-pixbuf
bobby285271 May 9, 2024
f6f3c69
mesa: 24.0.6 → 24.0.7
fabianhjr May 8, 2024
0183947
Merge pull request #310304 from K900/pipewire-1.0.6
K900 May 10, 2024
45ada9c
Merge pull request #310451 from LibreCybernetics/update-mesa
K900 May 10, 2024
8128cdf
systemd: 255.4 -> 255.6
FriedrichAltheide May 10, 2024
51be8ce
systemd: fix disabling seccomp
alyssais May 10, 2024
6ffea0d
python3Packages.dbus-python: fix cross
alyssais May 10, 2024
3c03811
llvmPackages_*.libcxx: include libcxxabi within libcxx
pwaller Apr 27, 2024
e1b9b3e
element-desktop: fix cross build
Mic92 May 1, 2024
2fe65e9
electron: fix cross compilation
Mic92 May 1, 2024
8df62b0
python3.pkgs.dbus-python: fix cross build
Mic92 May 8, 2024
91c7355
Merge pull request #310609 from alyssais/dbus-python-cross
mweinelt May 10, 2024
966fd1b
Merge staging-next into staging
github-actions[bot] May 10, 2024
5f6f3dc
Merge pull request #308196 from Mic92/element-desktop
Ma27 May 10, 2024
e37ca96
Merge pull request #309952 from leona-ya/glib-2.80.1
fabianhjr May 10, 2024
6870cfd
Merge pull request #309894 from baloo/baloo/tpm2-tss/4.1.1
Atemu May 11, 2024
533ec49
gnu-config: 2023-09-19 -> 2024-01-01
sevanspowell May 11, 2024
d450529
libbpf: 1.4.1 -> 1.4.2
martinetd May 11, 2024
4fc3b0b
pkgsStatic.xorg.libpciaccess: mark unsupported
alyssais May 11, 2024
ef0e3af
pkgsStatic.libdrm: fix build
alyssais May 11, 2024
db5ed5d
pipewire: fix enableSystemd option
alyssais May 11, 2024
712ddf7
Merge pull request #310806 from alyssais/pipewire-systemd
K900 May 11, 2024
06a5213
Merge staging-next into staging
github-actions[bot] May 11, 2024
c69eb60
postgresql_12: 12.18 -> 12.19
Ma27 May 11, 2024
3b6b7fd
postgresql_13: 13.14 -> 13.15
Ma27 May 10, 2024
90fdcc6
postgresql_14: 14.11 -> 14.12, fix CVE-2024-4317
Ma27 May 10, 2024
1f657f2
postgresql_15: 15.6 -> 15.7, fix CVE-2024-4317
Ma27 May 10, 2024
0616f7a
postgresql_16: 16.2 -> 16.3, fix CVE-2024-4317
Ma27 May 10, 2024
3ad254b
postgresql: drop obsolete musl checkPhase fix
Ma27 May 11, 2024
4230c04
ffmpeg_5: add patch for CVE-2024-31585
risicle May 11, 2024
100cd84
Merge staging-next into staging
github-actions[bot] May 11, 2024
ff06e7d
ffmpeg, ffmpeg_5: add patches for CVE-2024-31582
risicle May 11, 2024
c23f9d5
ffmpeg, ffmpeg_5: add patches for CVE-2024-31578
risicle May 11, 2024
f7836b1
libjpeg: 3.0.2 -> 3.0.3
trofi May 11, 2024
cf07fb9
Merge staging-next into staging
github-actions[bot] May 12, 2024
8e36cb3
python311Packages.ipython: 8.23.0 -> 8.24.0
natsukium May 12, 2024
c1761ac
Merge pull request #298713 from rhelmot/freebsd-minimal2/rhash
Ericson2314 May 12, 2024
800036f
Merge staging-next into staging
github-actions[bot] May 12, 2024
0d0eeb5
Merge #310801: libbpf: 1.4.1 -> 1.4.2
vcunat May 12, 2024
c967797
python311Packages.werkzeug: 3.0.2 -> 3.0.3
mjoerg May 12, 2024
35f77cc
Merge pull request #310580 from Ma27/bump-postgresql
Ma27 May 12, 2024
f7e5eea
Merge staging-next into staging
github-actions[bot] May 12, 2024
7587ff8
python3Packages.shouldbe: drop
mweinelt May 12, 2024
99e1d2c
python312Packages.gssapi: test with pytest, use pep517 builder
mweinelt May 12, 2024
0d5f734
Merge pull request #310934 from risicle/ris-ffmpeg-CVEs-2024-05
Atemu May 12, 2024
ce5e22c
Merge pull request #310802 from alyssais/libdrm-static
WilliButz May 12, 2024
a8d6579
Merge pull request #311072 from mweinelt/gssapi-fixes
mweinelt May 12, 2024
6f00f6e
Merge pull request #310546 from alyssais/systemd-seccomp
flokli May 12, 2024
0573f77
Merge pull request #310512 from FriedrichAltheide/systemd-255.6
flokli May 12, 2024
255f687
Merge master into staging-next
github-actions[bot] May 12, 2024
474925d
Merge staging-next into staging
github-actions[bot] May 12, 2024
d2f1139
whois: 5.5.22 -> 5.5.23
trofi May 12, 2024
3501d35
Merge pull request #311122 from phaer/catch-conflicts-exponential
Lassulus May 12, 2024
3265664
Merge pull request #311018 from mjoerg/werkzeug-3.0.3
mweinelt May 12, 2024
795b804
Merge pull request #311144 from trofi/whois-update
fpletz May 12, 2024
881b0bd
Merge master into staging-next
github-actions[bot] May 13, 2024
eb2b7be
Merge staging-next into staging
github-actions[bot] May 13, 2024
6a217e9
Merge master into staging-next
github-actions[bot] May 13, 2024
88829ae
Merge staging-next into staging
github-actions[bot] May 13, 2024
2e13f16
modemmanager: run tests again
alyssais May 7, 2024
3605676
modemmanager: remove unused udev input
alyssais May 7, 2024
8140c82
Merge pull request #310974 from sambnt/update-gnu-config
emilytrau May 13, 2024
dc5d2c6
unbound: 1.19.3 -> 1.20.0
helsinki-Jo May 8, 2024
f22cbdc
unbound: migrate to by-name
helsinki-Jo May 8, 2024
eda36d7
Merge master into staging-next
github-actions[bot] May 13, 2024
0f00113
Merge staging-next into staging
github-actions[bot] May 13, 2024
767d4d5
Merge pull request #310983 from natsukium/ipython/update
natsukium May 13, 2024
bccc97c
libxml2: 2.12.6 -> 2.12.7
r-ryantm May 13, 2024
3fb74a2
Merge #310931: libjpeg: 3.0.2 -> 3.0.3
vcunat May 13, 2024
8d97b6b
Merge master into staging-next
github-actions[bot] May 13, 2024
0184a25
Merge staging-next into staging
github-actions[bot] May 13, 2024
e45d74e
Merge #309805: util-linux: 2.39.3 -> 2.40.1
vcunat May 13, 2024
4f646b4
Merge #310196: unbound: 1.19.3 -> 1.20.0
vcunat May 13, 2024
0d242c3
Merge master into staging-next
github-actions[bot] May 14, 2024
5ecf947
Merge staging-next into staging
github-actions[bot] May 14, 2024
cbadd8f
Merge branch 'staging' into staging-next
vcunat May 14, 2024
d0bd0aa
Merge #311417: libxml2: 2.12.6 -> 2.12.7
vcunat May 14, 2024
c9632eb
Merge master into staging-next
github-actions[bot] May 14, 2024
85f6ef0
Merge master into staging-next
github-actions[bot] May 14, 2024
a477434
Merge master into staging-next
github-actions[bot] May 14, 2024
4d045a7
libaom: don't disable runtime cpu detection on aarch64-darwin
risicle May 14, 2024
935cdc9
Merge master into staging-next
github-actions[bot] May 15, 2024
3130575
git: 2.44.0 -> 2.44.1
edef1c May 15, 2024
6262316
glslang: 14.1.0 -> 14.2.0
K900 May 15, 2024
a6f3cc6
vulkan-headers: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
5ba3b41
vulkan-loader: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
bbfb3a5
vulkan-validation-layers: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
a17bfb3
vulkan-tools: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
72fb6fb
vulkan-tools-lunarg: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
d85a738
vulkan-extension-layer: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
fb7aed3
vulkan-utility-libraries: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
fb98282
vulkan-volk: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
7a4be71
spirv-headers: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
5f74795
spirv-cross: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
097b4c8
spirv-tools: 1.3.280.0 -> 1.3.283.0
K900 May 15, 2024
cb46783
gnutls: fix an upstream regression in RSA certificates
gador May 14, 2024
d77e7c1
Merge master into staging-next
github-actions[bot] May 15, 2024
413cfaa
Merge #311801: git: 2.44.0 -> 2.44.1
vcunat May 15, 2024
080da21
Merge #311855: vulkan*: 1.3.280 -> 1.3.283
vcunat May 15, 2024
ef85086
Merge master into staging-next
github-actions[bot] May 15, 2024
2a949a0
Merge pull request #311751 from risicle/ris-libaom-runtime-cpu-detect…
mweinelt May 15, 2024
bb81a99
Merge master into staging-next
github-actions[bot] May 15, 2024
304943b
Merge master into staging-next
github-actions[bot] May 16, 2024
3f60325
darwin.moltenvk: 1.2.8 -> 1.2.9
reckenrode May 16, 2024
d0aa028
Merge pull request #312070 from reckenrode/moltenvk-1.2.9
K900 May 16, 2024
ee776dd
Pick #311675: fix: systemd build flag combinations
flokli May 15, 2024
1887e39
Merge master into staging-next
github-actions[bot] May 16, 2024
350d12c
Merge master into staging-next
github-actions[bot] May 16, 2024
5ba1706
Merge master into staging-next
github-actions[bot] May 16, 2024
9ca1cf5
python312Packages.tqdm: 4.66.2 -> 4.66.4
mweinelt May 16, 2024
a3ea0b0
Merge pull request #312301 from mweinelt/tqdm-4.66.4
mweinelt May 16, 2024
212fb8c
Merge master into staging-next
github-actions[bot] May 17, 2024
9f82fef
Merge master into staging-next
github-actions[bot] May 17, 2024
6506918
Merge master into staging-next
github-actions[bot] May 17, 2024
cb8fa2b
util-linux: try to fix parallel build failures
vcunat May 17, 2024
e8130af
rawtherapee: fix build
wegank May 17, 2024
c537cc4
Merge master into staging-next
github-actions[bot] May 17, 2024
11e181f
Merge master into staging-next
github-actions[bot] May 18, 2024
182d247
Merge master into staging-next
github-actions[bot] May 18, 2024
9a96b85
Merge master into staging-next
github-actions[bot] May 18, 2024
10b5ff0
Merge master into staging-next
github-actions[bot] May 18, 2024
5f79ea7
Merge master into staging-next
github-actions[bot] May 19, 2024
87e6374
Merge master into staging-next
github-actions[bot] May 19, 2024
e18e972
Merge master into staging-next
github-actions[bot] May 19, 2024
597d0e7
Merge master into staging-next
github-actions[bot] May 19, 2024
92e2992
Merge master into staging-next
github-actions[bot] May 19, 2024
0cccca4
kf5: 5.115 -> 5.116
mjm May 19, 2024
2d0beae
Merge pull request #312946 from mjm/kf5-5.116
K900 May 19, 2024
1ad619f
Merge pull request #312480 from wegank/rawtherapee-fix
wegank May 19, 2024
aea14e9
Merge master into staging-next
github-actions[bot] May 20, 2024
4edfd12
Merge master into staging-next
github-actions[bot] May 20, 2024
fa8ec67
util-linux: 2.40.1 -> 2.39.4 (except 64-bit linux for now)
vcunat May 20, 2024
15d8d27
util-linux: also downgrade static builds already
vcunat May 20, 2024
6ff1451
Merge master into staging-next
github-actions[bot] May 20, 2024
1f54473
Merge master into staging-next
github-actions[bot] May 20, 2024
844416f
Merge master into staging-next
github-actions[bot] May 21, 2024
dffc52c
libmodulemd: fix build after glib update from PR #309952
vcunat May 21, 2024
dd2012a
Merge master into staging-next
github-actions[bot] May 21, 2024
723dfb2
rawtherapee: switch to patch version merged upstream
vcunat May 21, 2024
9d5ff61
perlPackages: fix wine-staging build on i686
K900 May 21, 2024
d6b2d52
Merge pull request #313326 from K900/wine-staging-fix
K900 May 21, 2024
0c60d39
Merge remote-tracking branch 'origin/master' into staging-next
K900 May 21, 2024
262ee24
Merge master into staging-next
github-actions[bot] May 21, 2024
6ff18cf
Merge master into staging-next
github-actions[bot] May 21, 2024
7b015fb
Merge remote-tracking branch 'origin/master' into staging-next
K900 May 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkgs/applications/graphics/rawtherapee/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, cmake
, pkg-config
, wrapGAppsHook3
Expand Down Expand Up @@ -37,6 +38,14 @@ stdenv.mkDerivation rec {
forceFetchGit = true;
};

# https://github.com/Beep6581/RawTherapee/issues/7074
patches = [
(fetchurl {
url = "https://github.com/Beep6581/RawTherapee/commit/6b9f45c69c1ddfc3607d3d9c1206dcf1def30295.diff";
hash = "sha256-3Rti9HV8N1ueUm5B9qxEZL7Lb9bBb+iy2AGKMpJ9YOM=";
})
];

postPatch = ''
echo "set(HG_VERSION ${version})" > ReleaseInfo.cmake
substituteInPlace tools/osx/Info.plist.in rtgui/config.h.in \
Expand Down
11 changes: 10 additions & 1 deletion pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
, pkgsBuildHost
# configurePhase:
, gnChromium
, symlinkJoin

# Build inputs:
, libpng
Expand Down Expand Up @@ -378,6 +379,14 @@ let
${ungoogler}/utils/domain_substitution.py apply -r ${ungoogler}/domain_regex.list -f ${ungoogler}/domain_substitution.list -c ./ungoogled-domsubcache.tar.gz .
'';

llvmCcAndBintools = symlinkJoin {
name = "llvmCcAndBintools";
paths = [
pkgsBuildTarget.${llvmPackages_attrName}.llvm
pkgsBuildTarget.${llvmPackages_attrName}.stdenv.cc
];
};

gnFlags = mkGnFlags ({
# Main build and toolchain settings:
# Create an official and optimized release build (only official builds
Expand Down Expand Up @@ -445,7 +454,7 @@ let
rtc_use_pipewire = true;
# Disable PGO because the profile data requires a newer compiler version (LLVM 14 isn't sufficient):
chrome_pgo_phase = 0;
clang_base_path = "${pkgsBuildTarget.${llvmPackages_attrName}.stdenv.cc}";
clang_base_path = "${llvmCcAndBintools}";
use_qt = false;
# To fix the build as we don't provide libffi_pic.a
# (ld.lld: error: unable to find library -l:libffi_pic.a):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, nodejs, python3, callPackage, removeReferencesTo
{ lib, stdenv, fetchFromGitHub, nodejs, python3, removeReferencesTo
, pkg-config, libsecret, xcbuild, Security, AppKit, fetchNpmDeps, npmHooks }:

let
Expand Down Expand Up @@ -31,6 +31,17 @@ in stdenv.mkDerivation rec {

doCheck = false;

postPatch = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
pkg-config() { "''${PKG_CONFIG}" "$@"; }
export -f pkg-config
'';

# https://nodejs.org/api/os.html#osarch
npmFlagsArray = [ "--arch=${if stdenv.hostPlatform.parsed.cpu.name == "i686" then "ia32"
else if stdenv.hostPlatform.parsed.cpu.name == "x86_64" then "x64"
else if stdenv.hostPlatform.parsed.cpu.name == "aarch64" then "arm64"
else stdenv.hostPlatform.parsed.cpu.name}" ];

installPhase = ''
runHook preInstall
shopt -s extglob
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, callPackage, sqlcipher, nodejs, python3, yarn, fixup-yarn-lock, CoreServices, fetchYarnDeps, removeReferencesTo }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, rust, sqlcipher, nodejs, python3, yarn, fixup-yarn-lock, CoreServices, fetchYarnDeps, removeReferencesTo }:

let
pinData = lib.importJSON ./pin.json;
Expand Down Expand Up @@ -36,7 +36,7 @@ in rustPlatform.buildRustPackage rec {
fixup-yarn-lock yarn.lock
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules/
node_modules/.bin/neon build --release
node_modules/.bin/neon build --release -- --target ${rust.toRustTargetSpec stdenv.hostPlatform} -Z unstable-options --out-dir target/release
runHook postBuild
'';

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/version-management/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;

let
version = "2.44.0";
version = "2.44.1";
svn = subversionClient.override { perlBindings = perlSupport; };
gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
in
Expand All @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {

src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
hash = "sha256-41hzjctbXqNAzpAKABXAOuhugE5/9k5HqkYx3e5oHeM=";
hash = "sha256-e2CmJMD3AJoWuFYlBiGq/c3YXrjUS7AgYXtlJbhyYeQ=";
};

outputs = [ "out" ] ++ lib.optional withManual "doc";
Expand Down
28 changes: 28 additions & 0 deletions pkgs/by-name/li/libcamera/ipa-priv-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCocmtyzPPjv+52
JiZrpZFfaZ0eeUgugc8gV+0+2Q9GEkl/xxqjiDVg31gBO3iwQov2NmGuPbXr+vwZ
QcUqNQakmmdi22tBaTtd6hMuhu9OfbP8sIFaf0dToZRHkPgf63+WCF6w0O9enEz4
zjW3kPa1eVRVekiYCXGML/VhN+h5WwWouNWgEOw5JH39ZuGmhsGN5XekkHtyMkwq
Vr+JodoSizhYs9VBYNA1J4PlyiS4BYr4pLiLffzPwRjcSS777x33g+nWNr1lsFxB
nDoVvVnq0E7fiXxlmCtAr/7dv0Ug5ixuNfZ9yoT0f+mfUiG/anmfodHujIm2Db37
jvmfxaq1AgMBAAECggEAFhJKBHSY92xod0g37A55fiZFTV8oZ1mgdXU386522yBd
y5Wf5rIcBmm1axHrFjNeCgClq3JQEk/kdP3Ccy2YBXzq04/7HYrHmd5oLYZGOINt
kExjYqN/SdTH7FmxPWN66AKIP8RcvQmfZ1GDxd4DiZNQitO3S96e53bIQPkVp8Lg
GfK6LQCdOGimD00wvRoeqbV0PWGGVMfx+KvD5hxKYolyi/hNUxToD28qCAoMlMTi
yL+17q3nIYZvUmL0k7d64U+lXF8ov3cVXNJzAzFi41MXZ2Xqk3Lj+IhNweUhlOyn
fTo8QntNlirNL/XmtJ+5mPbGufE/6zsSNOf2Cyz2aQKBgQDio/tA3tFBzOz31hox
gW6NKarhp7e5R3XHQjZPmQXKq2lGCTBN+LzwCLYDa+ZWkS+cel/xSbkUFl0dopCu
7uGrSvmVAv+l1k879WHsYmLlDjJSa8WmDtVQ0SJr70X9UJmD2BivWnTnzrpZFu2A
Nv57gvebJTI4tLfAAyIfbg8gOQKBgQC+RJRv8/jVha/4sPonQYvpH0scS0Xzwca6
xd23e+vULBpk7IVzMbVGJEDdfWXVJeAO++FSQcgTJA38nfYm2XRPZAProliLaW8o
XVhhhWbXP7Jc8BmL5zyfDaLOXNFBX2kfr/oKeOoQ+0dRDlWKlarw1SxC+RT6i2qQ
YETgXHKmXQKBgGk8mWsqy2HRZOtDqE/6eLnlciprtVy7+M14Sj21oUHVTAGwPJTH
/fs7IEEAdikWK1RuYmRoxh60r7IWDTadR35BRxjRFqILnCkMLNcVbDRN3kH1NwZ/
dr+bDG+v4ADazx2wVu39g7Erhc3eXpOddZcmXhDVObeo+nWXPt33PeDJAoGBAJ4v
+FVnuo8Tee1Cfogat87W5KSedIcnqSjpjt+Y2MXq8PrNplnSjwrE42UCd6KRvcnX
Ykr4Q/ad+D75uYgtLMVAuv2yWPl3bCJcETnrJkh5PbqFKEgntT/rn1sA0j0OrSDa
NwFz6+64a1+ZkkcJDjjykr0Px4BSXwOv9jOuyOdFAoGADZEADOLX5y4utxboe1M0
UnaFKGEDE6H8qdRJQ9bSvEwJI142al02CvnvqvP4cpd8rKOCRs9nSXFJFXCedTLy
ojSVfjTyJMTVJxab/c/Qugkxb/TqGfEnZF2yoTsfPYp2pXRd6DvyKlDQzlSOj933
FrqeSe1QKapuPRsujVwLZDU=
-----END PRIVATE KEY-----
30 changes: 17 additions & 13 deletions pkgs/by-name/li/libcamera/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, fetchgit
, lib
, fetchpatch
, meson
, ninja
, pkg-config
Expand Down Expand Up @@ -33,12 +32,24 @@ stdenv.mkDerivation rec {
hash = "sha256-x0Im9m9MoACJhQKorMI34YQ+/bd62NdAPc2nWwaJAvM=";
};

outputs = [ "out" "dev" "doc" ];
outputs = [ "out" "dev" ];

postPatch = ''
patchShebangs utils/
'';

# libcamera signs the IPA module libraries at install time, but they are then
# modified by stripping and RPATH fixup. Therefore, we need to generate the
# signatures again ourselves. For reproducibility, we use a static private key.
#
# If this is not done, libcamera will still try to load them, but it will
# isolate them in separate processes, which can cause crashes for IPA modules
# that are not designed for this (notably ipa_rpi.so).
preBuild = ''
ninja src/ipa-priv-key.pem
install -D ${./ipa-priv-key.pem} src/ipa-priv-key.pem
'';

strictDeps = true;

buildInputs = [
Expand Down Expand Up @@ -86,6 +97,10 @@ stdenv.mkDerivation rec {
# Avoid blanket -Werror to evade build failures on less
# tested compilers.
"-Dwerror=false"
# Documentation breaks binary compatibility.
# Given that upstream also provides public documentation,
# we can disable it here.
"-Ddocumentation=disabled"
];

# Fixes error on a deprecated declaration
Expand All @@ -94,17 +109,6 @@ stdenv.mkDerivation rec {
# Silence fontconfig warnings about missing config
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };

# libcamera signs the IPA module libraries at install time, but they are then
# modified by stripping and RPATH fixup. Therefore, we need to generate the
# signatures again ourselves.
#
# If this is not done, libcamera will still try to load them, but it will
# isolate them in separate processes, which can cause crashes for IPA modules
# that are not designed for this (notably ipa_rpi.so).
postFixup = ''
../src/ipa/ipa-sign-install.sh src/ipa-priv-key.pem $out/lib/libcamera/ipa_*.so
'';

meta = with lib; {
description = "An open source camera stack and framework for Linux, Android, and ChromeOS";
homepage = "https://libcamera.org";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@

stdenv.mkDerivation (finalAttrs: {
pname = "unbound";
version = "1.19.3";
version = "1.20.0";

src = fetchurl {
url = "https://nlnetlabs.nl/downloads/unbound/unbound-${finalAttrs.version}.tar.gz";
hash = "sha256-OuMivn3C+DFgPksDkUNVM61YYcIyLjSnYAap+2XrVrk=";
hash = "sha256-VrTO7TNjlSIAD9lndVdt34eCuzYXYQcV1/Hnd8XsHb8=";
};

outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/vu/vulkan-volk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "volk";
version = "1.3.280.0";
version = "1.3.283.0";

src = fetchFromGitHub {
owner = "zeux";
repo = "volk";
rev = "vulkan-sdk-${finalAttrs.version}";
hash = "sha256-e4TLGRqn0taYeiRVxc9WevURjO5dsVq3RpOwZBGDknQ=";
hash = "sha256-AoUStYeSTu6YmdyKgx0n3O+p3asb39GU6HSHgOhhFhQ=";
};

nativeBuildInputs = [ cmake ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/glslang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
}:
stdenv.mkDerivation rec {
pname = "glslang";
version = "14.1.0";
version = "14.2.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
rev = version;
hash = "sha256-trm5bR3/2w+oQppHQBB+b6l0N0sLjTk5+rRGDfnGb+8=";
hash = "sha256-B6jVCeoFjd2H6+7tIses+Kj8DgHS6E2dkVzQAIzDHEc=";
};

# These get set at all-packages, keep onto them for child drvs
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/go/1.22.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "go";
version = "1.22.2";
version = "1.22.3";

src = fetchurl {
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
hash = "sha256-N06oKyiexzjpaCZ8rFnH1f8YD5SSJQJUeEsgROkN9ak=";
hash = "sha256-gGSO80+QMZPXKlnA3/AZ9fmK4MmqE63gsOy/+ZGnb2g=";
};

strictDeps = true;
Expand Down
31 changes: 31 additions & 0 deletions pkgs/development/compilers/llvm/common/libcxx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ let

cxxCMakeFlags = [
"-DLIBCXX_CXX_ABI=${cxxabiName}"
] ++ lib.optionals (cxxabi == null && lib.versionAtLeast release_version "16") [
# Note: llvm < 16 doesn't support this flag (or it's broken); handled in postInstall instead.
# Include libc++abi symbols within libc++.a for static linking libc++;
# dynamic linking includes them through libc++.so being a linker script
# which includes both shared objects.
"-DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON"
] ++ lib.optionals (cxxabi != null) [
"-DLIBCXX_CXX_ABI_INCLUDE_PATHS=${lib.getDev cxxabi}/include"
] ++ lib.optionals (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) [
Expand Down Expand Up @@ -126,6 +132,31 @@ stdenv.mkDerivation (rec {
postInstall = lib.optionalString (cxxabi != null) ''
lndir ${lib.getDev cxxabi}/include $dev/include/c++/v1
lndir ${lib.getLib cxxabi}/lib $out/lib
libcxxabi=$out/lib/lib${cxxabi.libName}.a
''
# LIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON doesn't work for LLVM < 16 or
# external cxxabi libraries so merge libc++abi.a into libc++.a ourselves.

# GNU binutils emits objects in LIFO order in MRI scripts so after the merge
# the objects are in reversed order so a second MRI script is required so the
# objects in the archive are listed in proper order (libc++.a, libc++abi.a)
+ lib.optionalString (cxxabi != null || lib.versionOlder release_version "16") ''
libcxxabi=''${libcxxabi-$out/lib/libc++abi.a}
if [[ -f $out/lib/libc++.a && -e $libcxxabi ]]; then
$AR -M <<MRI
create $out/lib/libc++.a
addlib $out/lib/libc++.a
addlib $libcxxabi
save
end
MRI
$AR -M <<MRI
create $out/lib/libc++.a
addlib $out/lib/libc++.a
save
end
MRI
fi
'';

passthru = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
import collections
import sys
import os
from typing import Dict, List, Tuple
from typing import Dict, List, Set, Tuple
do_abort: bool = False
packages: Dict[str, Dict[str, List[Dict[str, List[str]]]]] = collections.defaultdict(list)
packages: Dict[str, Dict[str, Dict[str, List[str]]]] = collections.defaultdict(dict)
found_paths: Set[Path] = set()
out_path: Path = Path(os.getenv("out"))
version: Tuple[int, int] = sys.version_info
site_packages_path: str = f'lib/python{version[0]}.{version[1]}/site-packages'
Expand All @@ -31,21 +32,23 @@ def describe_parents(parents: List[str]) -> str:

# inserts an entry into 'packages'
def add_entry(name: str, version: str, store_path: str, parents: List[str]) -> None:
if name not in packages:
packages[name] = {}
if store_path not in packages[name]:
packages[name][store_path] = []
packages[name][store_path].append(dict(
packages[name][store_path] = dict(
version=version,
parents=parents,
))
)


# transitively discover python dependencies and store them in 'packages'
def find_packages(store_path: Path, site_packages_path: str, parents: List[str]) -> None:
site_packages: Path = (store_path / site_packages_path)
propagated_build_inputs: Path = (store_path / "nix-support/propagated-build-inputs")

# only visit each path once, to avoid exponential complexity with highly
# connected dependency graphs
if store_path in found_paths:
return
found_paths.add(store_path)

# add the current package to the list
if site_packages.exists():
for dist_info in site_packages.glob("*.dist-info"):
Expand All @@ -55,10 +58,9 @@ def find_packages(store_path: Path, site_packages_path: str, parents: List[str])
# recursively add dependencies
if propagated_build_inputs.exists():
with open(propagated_build_inputs, "r") as f:
build_inputs: List[str] = f.read().strip().split(" ")
build_inputs: List[str] = f.read().split()
for build_input in build_inputs:
if build_input not in parents:
find_packages(Path(build_input), site_packages_path, parents + [build_input])
find_packages(Path(build_input), site_packages_path, parents + [build_input])


find_packages(out_path, site_packages_path, [f"this derivation: {out_path}"])
Expand All @@ -68,10 +70,9 @@ def find_packages(store_path: Path, site_packages_path: str, parents: List[str])
if len(store_paths) > 1:
do_abort = True
print("Found duplicated packages in closure for dependency '{}': ".format(name))
for store_path, candidates in store_paths.items():
for candidate in candidates:
print(f" {name} {candidate['version']} ({store_path})")
print(describe_parents(candidate['parents']))
for store_path, candidate in store_paths.items():
print(f" {name} {candidate['version']} ({store_path})")
print(describe_parents(candidate['parents']))

# fail if duplicates were found
if do_abort:
Expand Down
Loading