Merge staging-next into staging

Changed files
+202 -168
nixos
modules
services
desktop-managers
scheduling
system
tests
pkgs
by-name
ay
ayatana-indicator-sound
ca
calibre
cc
ccache
cl
co
comma
fe
ge
gemini-cli
gn
gnunet
gnunet-gtk
go
golds
ja
jazz2
le
ledger-live-desktop
me
memray
mo
monero-cli
monero-gui
pa
paperless-ngx
ra
radicle-node
sc
scrounge-ntfs
so
soft-serve
ti
tideways-daemon
development
libraries
python-modules
adafruit-platformdetect
duckduckgo-search
fastapi-mcp
llama-index-vector-stores-chroma
pandas-stubs
ropper
skops
smolagents
stripe
tlds
os-specific
tools
compression
top-level
+4 -1
nixos/modules/services/desktop-managers/lomiri.nix
···
lomiri-thumbnailer
lomiri-url-dispatcher
mediascanner2 # TODO possibly needs to be kicked off by graphical-session.target
-
morph-browser
qtmir # not having its desktop file for Xwayland available causes any X11 application to crash the session
teleports
]);
···
lomiri-thumbnailer
lomiri-url-dispatcher
mediascanner2 # TODO possibly needs to be kicked off by graphical-session.target
+
# Qt5 qtwebengine is not secure: https://github.com/NixOS/nixpkgs/pull/435067
+
# morph-browser
+
# Adding another browser that is known-working until Morph Browser can migrate to Qt6
+
pkgs.epiphany
qtmir # not having its desktop file for Xwayland available causes any X11 application to crash the session
teleports
]);
+9 -1
nixos/modules/services/scheduling/scx.nix
···
scheduler = lib.mkOption {
type = lib.types.enum [
"scx_bpfland"
"scx_central"
"scx_flash"
"scx_flatcg"
···
"scx_layered"
"scx_mitosis"
"scx_nest"
"scx_pair"
"scx_qmap"
"scx_rlfifo"
"scx_rustland"
"scx_rusty"
"scx_sdt"
"scx_simple"
"scx_userland"
];
default = "scx_rustland";
example = "scx_bpfland";
···
];
};
-
meta.maintainers = with lib.maintainers; [ johnrtitor ];
}
···
scheduler = lib.mkOption {
type = lib.types.enum [
"scx_bpfland"
+
"scx_chaos"
+
"scx_cosmos"
"scx_central"
"scx_flash"
"scx_flatcg"
···
"scx_layered"
"scx_mitosis"
"scx_nest"
+
"scx_p2dq"
"scx_pair"
+
"scx_prev"
"scx_qmap"
"scx_rlfifo"
"scx_rustland"
"scx_rusty"
"scx_sdt"
"scx_simple"
+
"scx_tickless"
"scx_userland"
+
"scx_wd40"
];
default = "scx_rustland";
example = "scx_bpfland";
···
];
};
+
meta = {
+
inherit (pkgs.scx.full.meta) maintainers;
+
};
}
+4 -3
nixos/modules/system/boot/systemd.nix
···
# Maintaining state across reboots.
"systemd-random-seed.service"
]
-
++ (optional cfg.package.withBootloader "systemd-boot-random-seed.service")
++ [
"systemd-backlight@.service"
"systemd-rfkill.service"
"systemd-rfkill.socket"
-
# Boot counting
"boot-complete.target"
-
"systemd-bless-boot.service"
# Hibernate / suspend.
"hibernate.target"
···
# Maintaining state across reboots.
"systemd-random-seed.service"
]
+
++ optionals cfg.package.withBootloader [
+
"systemd-boot-random-seed.service"
+
"systemd-bless-boot.service"
+
]
++ [
"systemd-backlight@.service"
"systemd-rfkill.service"
"systemd-rfkill.socket"
"boot-complete.target"
# Hibernate / suspend.
"hibernate.target"
+18 -16
nixos/tests/lomiri.nix
···
machine.send_key("alt-f4")
# Morph is how we go online
-
with subtest("morph browser works"):
-
open_starter()
-
machine.send_chars("Morph\n")
-
wait_for_text(r"(Bookmarks|address|site|visited any)")
-
machine.screenshot("morph_open")
-
-
# morph-browser has a separate VM test to test its basic functionalities
-
-
machine.send_key("alt-f4")
# LSS provides DE settings
with subtest("system settings open"):
···
machine.send_key("ret")
# Peers should be loaded
-
wait_for_text("Morph") # or Gallery, but Morph is already packaged
machine.screenshot("settings_lomiri-content-hub_peers")
-
# Select Morph as content source
-
mouse_click(340, 80)
-
# Expect Morph to be brought into the foreground, with its Downloads page open
-
wait_for_text("No downloads")
# If lomiri-content-hub encounters a problem, it may have crashed the original application issuing the request.
# Check that it's still alive
···
machine.screenshot("lomiri-content-hub_exchange")
# Testing any more would require more applications & setup, the fact that it's already being attempted is a good sign
-
machine.send_key("esc")
-
machine.sleep(2) # sleep a tiny bit so morph can close & the focus can return to LSS
machine.send_key("alt-f4")
'';
}
···
machine.send_key("alt-f4")
# Morph is how we go online
+
# Qt5 qtwebengine is not secure: https://github.com/NixOS/nixpkgs/pull/435067
+
# with subtest("morph browser works"):
+
# open_starter()
+
# machine.send_chars("Morph\n")
+
# wait_for_text(r"(Bookmarks|address|site|visited any)")
+
# machine.screenshot("morph_open")
+
#
+
# # morph-browser has a separate VM test to test its basic functionalities
+
#
+
# machine.send_key("alt-f4")
# LSS provides DE settings
with subtest("system settings open"):
···
machine.send_key("ret")
# Peers should be loaded
+
wait_for_text("Gallery")
machine.screenshot("settings_lomiri-content-hub_peers")
+
# Select Gallery as content source
+
mouse_click(460, 80)
+
# Expect Gallery to be brought into the foreground, with its sharing page open
+
wait_for_text("Photos")
# If lomiri-content-hub encounters a problem, it may have crashed the original application issuing the request.
# Check that it's still alive
···
machine.screenshot("lomiri-content-hub_exchange")
# Testing any more would require more applications & setup, the fact that it's already being attempted is a good sign
+
machine.send_key("tab")
+
machine.send_key("ret")
+
machine.sleep(2) # sleep a tiny bit so gallery can close & the focus can return to LSS
machine.send_key("alt-f4")
'';
}
+13 -3
nixos/tests/scx/default.nix
···
specialisation = {
bpfland.configuration.services.scx.scheduler = "scx_bpfland";
-
central.configuration.services.scx.scheduler = "scx_central";
lavd.configuration.services.scx.scheduler = "scx_lavd";
rlfifo.configuration.services.scx.scheduler = "scx_rlfifo";
rustland.configuration.services.scx.scheduler = "scx_rustland";
rusty.configuration.services.scx.scheduler = "scx_rusty";
};
};
testScript = ''
specialisation = [
"bpfland",
-
"central",
"lavd",
"rlfifo",
"rustland",
-
"rusty"
]
def activate_specialisation(name: str):
···
specialisation = {
bpfland.configuration.services.scx.scheduler = "scx_bpfland";
+
cosmos.configuration.services.scx.scheduler = "scx_cosmos";
+
flash.configuration.services.scx.scheduler = "scx_flash";
+
flatcg.configuration.services.scx.scheduler = "scx_flatcg";
lavd.configuration.services.scx.scheduler = "scx_lavd";
+
nest.configuration.services.scx.scheduler = "scx_nest";
+
p2dq.configuration.services.scx.scheduler = "scx_p2dq";
rlfifo.configuration.services.scx.scheduler = "scx_rlfifo";
rustland.configuration.services.scx.scheduler = "scx_rustland";
rusty.configuration.services.scx.scheduler = "scx_rusty";
+
simple.configuration.services.scx.scheduler = "scx_simple";
};
};
testScript = ''
specialisation = [
"bpfland",
+
"cosmos",
+
"flash",
+
"flatcg",
"lavd",
+
"nest",
+
"p2dq",
"rlfifo",
"rustland",
+
"rusty",
+
"simple"
]
def activate_specialisation(name: str):
+4 -4
pkgs/applications/graphics/feh/default.nix pkgs/by-name/fe/feh/package.nix
···
fetchFromGitHub,
makeWrapper,
xorg,
-
imlib2,
libjpeg,
libpng,
curl,
···
stdenv.mkDerivation (finalAttrs: {
pname = "feh";
-
version = "3.10.3";
src = fetchFromGitHub {
owner = "derf";
repo = "feh";
rev = finalAttrs.version;
-
hash = "sha256-FtaFoLjI3HTLAxRTucp5VDYS73UuWqw9r9UWKK6T+og=";
};
outputs = [
···
xorg.libXt
xorg.libX11
xorg.libXinerama
-
imlib2
libjpeg
libpng
curl
···
fetchFromGitHub,
makeWrapper,
xorg,
+
imlib2Full,
libjpeg,
libpng,
curl,
···
stdenv.mkDerivation (finalAttrs: {
pname = "feh";
+
version = "3.11";
src = fetchFromGitHub {
owner = "derf";
repo = "feh";
rev = finalAttrs.version;
+
hash = "sha256-3QKKXgwrDXVn8ahIG+NfP60GezFrZiHWOFoM2T0OoqU=";
};
outputs = [
···
xorg.libXt
xorg.libX11
xorg.libXinerama
+
imlib2Full
libjpeg
libpng
curl
pkgs/applications/networking/p2p/gnunet/default.nix pkgs/by-name/gn/gnunet/package.nix
+2
pkgs/applications/networking/p2p/gnunet/gtk.nix pkgs/by-name/gn/gnunet-gtk/package.nix
···
hash = "sha256-rsQzMvOoQEuushd0jBGQt9j6zXj2G1SMax8d4QoDV6s=";
};
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
···
hash = "sha256-rsQzMvOoQEuushd0jBGQt9j6zXj2G1SMax8d4QoDV6s=";
};
+
strictDeps = true;
+
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
+11
pkgs/by-name/ay/ayatana-indicator-sound/package.nix
···
# Build-time Vala codegen
substituteInPlace src/CMakeLists.txt \
--replace-fail '/usr/share/gir-1.0/AccountsService-1.0.gir' '${lib.getDev accountsservice}/share/gir-1.0/AccountsService-1.0.gir'
'';
strictDeps = true;
···
# Build-time Vala codegen
substituteInPlace src/CMakeLists.txt \
--replace-fail '/usr/share/gir-1.0/AccountsService-1.0.gir' '${lib.getDev accountsservice}/share/gir-1.0/AccountsService-1.0.gir'
+
+
# timeouts are too short for aarch64 OfBorg builder under loads, which leads to spurious test failures
+
substituteInPlace \
+
tests/accounts-service-user.cc \
+
tests/media-player-user.cc \
+
tests/name-watch-test.cc \
+
tests/notifications-test.cc \
+
tests/volume-control-test.cc \
+
--replace-quiet 'loop(50)' 'loop(500)' \
+
--replace-quiet 'loop(100)' 'loop(1000)' \
+
--replace-quiet 'loop(500)' 'loop(5000)' \
'';
strictDeps = true;
+5
pkgs/by-name/ca/calibre/package.nix
···
$ETN 'test_qt' # we don't include svg or webp support
$ETN 'test_import_of_all_python_modules' # explores actual file paths, gets confused
$ETN 'test_websocket_basic' # flakey
${lib.optionalString stdenv.hostPlatform.isAarch64 "$ETN 'test_piper'"} # https://github.com/microsoft/onnxruntime/issues/10038
${lib.optionalString (!unrarSupport) "$ETN 'test_unrar'"}
)
···
$ETN 'test_qt' # we don't include svg or webp support
$ETN 'test_import_of_all_python_modules' # explores actual file paths, gets confused
$ETN 'test_websocket_basic' # flakey
+
# hangs with cuda enabled, also:
+
# eglInitialize: Failed to get system egl display
+
# Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
+
$ETN 'test_recipe_browser_webengine'
+
${lib.optionalString stdenv.hostPlatform.isAarch64 "$ETN 'test_piper'"} # https://github.com/microsoft/onnxruntime/issues/10038
${lib.optionalString (!unrarSupport) "$ETN 'test_unrar'"}
)
+4
pkgs/by-name/cc/ccache/package.nix
···
ln -s ${unwrappedCC}/$file $out/$file
done
'';
};
updateScript = nix-update-script { };
···
ln -s ${unwrappedCC}/$file $out/$file
done
'';
+
+
meta = {
+
inherit (unwrappedCC.meta) mainProgram;
+
};
};
updateScript = nix-update-script { };
+4 -4
pkgs/by-name/cl/claude-code/package-lock.json
···
"packages": {
"": {
"dependencies": {
-
"@anthropic-ai/claude-code": "^1.0.93"
}
},
"node_modules/@anthropic-ai/claude-code": {
-
"version": "1.0.93",
-
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.93.tgz",
-
"integrity": "sha512-HSrbuYVu4k1dwoj/IYsXEVSoMWDPujy2D4zl9BMt4Zt0kwUwZch0nHpTyQ0C+YeHMN7hHbViz0bw6spg0a5GgQ==",
"license": "SEE LICENSE IN README.md",
"bin": {
"claude": "cli.js"
···
"packages": {
"": {
"dependencies": {
+
"@anthropic-ai/claude-code": "^1.0.95"
}
},
"node_modules/@anthropic-ai/claude-code": {
+
"version": "1.0.95",
+
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.95.tgz",
+
"integrity": "sha512-VLwfezJ8vnNpkdUdyMORQ1JXx/C7GFd8MLiJTXXThvMTxhNEr8IhAY/bExNrtdkWx2+aipGocRLgNZrUon9HMw==",
"license": "SEE LICENSE IN README.md",
"bin": {
"claude": "cli.js"
+3 -3
pkgs/by-name/cl/claude-code/package.nix
···
buildNpmPackage rec {
pname = "claude-code";
-
version = "1.0.93";
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
-
hash = "sha256-vEUty4HRPSkFpT94bxMWcLj0nFe34AeQEZ0WsCXuy10=";
};
-
npmDepsHash = "sha256-JL0GPIhpyTQonKsyMR5zN8LaPfX3KkEfQbMR1Z7gTFE=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
···
buildNpmPackage rec {
pname = "claude-code";
+
version = "1.0.95";
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
+
hash = "sha256-msAIwzvmzu9qherfXUAgyt7NMq+vZwhTKhu/9ksX6xs=";
};
+
npmDepsHash = "sha256-nUzpOO3GQ2ME0kwyTcqhy30OW0wOPlai2YX/GH8pgS4=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
+5 -2
pkgs/by-name/co/comma/package.nix
···
{
comma,
fetchFromGitHub,
installShellFiles,
···
nix,
rustPlatform,
testers,
}:
rustPlatform.buildRustPackage rec {
···
"$out/share/comma/command-not-found.nu" \
"$out/share/comma/command-not-found.fish" \
--replace-fail "comma --ask" "$out/bin/comma --ask"
-
-
"$out/bin/comma" --mangen > comma.1
installManPage comma.1
'';
···
{
+
stdenv,
comma,
fetchFromGitHub,
installShellFiles,
···
nix,
rustPlatform,
testers,
+
buildPackages,
}:
rustPlatform.buildRustPackage rec {
···
"$out/share/comma/command-not-found.nu" \
"$out/share/comma/command-not-found.fish" \
--replace-fail "comma --ask" "$out/bin/comma --ask"
+
''
+
+ lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) ''
+
${stdenv.hostPlatform.emulator buildPackages} "$out/bin/comma" --mangen > comma.1
installManPage comma.1
'';
+3 -3
pkgs/by-name/ge/gemini-cli/package.nix
···
buildNpmPackage (finalAttrs: {
pname = "gemini-cli";
-
version = "0.1.22";
src = fetchFromGitHub {
owner = "google-gemini";
repo = "gemini-cli";
tag = "v${finalAttrs.version}";
-
hash = "sha256-taQyrthHrlHc6Zy8947bpxvbHeSq0+JbgxROtQOGq44=";
};
patches = [
···
./restore-missing-dependencies-fields.patch
];
-
npmDepsHash = "sha256-1AJ+EZfPKioeptms3uio4U20zeQ9+yKC69Gbm6HlFMY=";
preConfigure = ''
mkdir -p packages/generated
···
buildNpmPackage (finalAttrs: {
pname = "gemini-cli";
+
version = "0.2.1";
src = fetchFromGitHub {
owner = "google-gemini";
repo = "gemini-cli";
tag = "v${finalAttrs.version}";
+
hash = "sha256-TcXCGI27qJOVbR8XaJzE9dYV/3uDM9HATU1OkziRib8=";
};
patches = [
···
./restore-missing-dependencies-fields.patch
];
+
npmDepsHash = "sha256-0j6kXlnWg7N23cnmMialZVqyZTAzgPn0VGAqSeYIVZM=";
preConfigure = ''
mkdir -p packages/generated
+3 -3
pkgs/by-name/go/golds/package.nix
···
buildGoModule rec {
pname = "golds";
-
version = "0.7.6";
src = fetchFromGitHub {
owner = "go101";
repo = "golds";
tag = "v${version}";
-
hash = "sha256-j6k68+hiXsXW5WLnmbN/iFLFpyU64z/1+DKuaAnNbac=";
};
# nixpkgs is not using the go distpack archive and missing a VERSION file in the source
···
# https://github.com/NixOS/nixpkgs/pull/358316#discussion_r1855322027
patches = [ ./info_module-gover.patch ];
-
vendorHash = "sha256-Sy9O23iCW8voImPFQkqczPxqGyD5rf0/tKxaRDFgbSs=";
ldflags = [ "-s" ];
···
buildGoModule rec {
pname = "golds";
+
version = "0.7.8";
src = fetchFromGitHub {
owner = "go101";
repo = "golds";
tag = "v${version}";
+
hash = "sha256-sK7mnvIy8xgsb/K73bEsp1x667AXrDJXSXjFbOSoX9A=";
};
# nixpkgs is not using the go distpack archive and missing a VERSION file in the source
···
# https://github.com/NixOS/nixpkgs/pull/358316#discussion_r1855322027
patches = [ ./info_module-gover.patch ];
+
vendorHash = "sha256-CL9CdLGeMTxXazJUr2+syQYJZXafX6ARzmEOHn7l14I=";
ldflags = [ "-s" ];
+2 -2
pkgs/by-name/ja/jazz2/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "jazz2";
-
version = "3.3.0";
src = fetchFromGitHub {
owner = "deathkiller";
repo = "jazz2-native";
tag = finalAttrs.version;
-
hash = "sha256-dj+BEAx626vSPy26+Ip3uaj3SBE1SWkfbh5P8U0iXsg=";
};
patches = [ ./nocontent.patch ];
···
stdenv.mkDerivation (finalAttrs: {
pname = "jazz2";
+
version = "3.4.0";
src = fetchFromGitHub {
owner = "deathkiller";
repo = "jazz2-native";
tag = finalAttrs.version;
+
hash = "sha256-96NiBE0/sBnIdajKui3pZmR8IGlElbeoyqYEYFWtOuM=";
};
patches = [ ./nocontent.patch ];
+2 -2
pkgs/by-name/le/ledger-live-desktop/package.nix
···
let
pname = "ledger-live-desktop";
-
version = "2.124.0";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
-
hash = "sha256-aB9WFfGSdrIaBpOL7qqomfCqYIIsTeCch2fkta4M9RM=";
};
appimageContents = appimageTools.extractType2 {
···
let
pname = "ledger-live-desktop";
+
version = "2.126.0";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
+
hash = "sha256-QAe8ft06Nna2rFyFTGK4mwfO1ueZKFcuacvKU4lln0k=";
};
appimageContents = appimageTools.extractType2 {
+3 -3
pkgs/by-name/me/memray/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "memray";
-
version = "1.17.2";
pyproject = true;
src = fetchFromGitHub {
owner = "bloomberg";
repo = "memray";
tag = "v${version}";
-
hash = "sha256-n000m2jIJJFZFTjfECS3gFrO6xHauZW46xe1tDqI6Lg=";
};
build-system = with python3Packages; [
···
meta = {
description = "Memory profiler for Python";
homepage = "https://bloomberg.github.io/memray/";
-
changelog = "https://github.com/bloomberg/memray/releases/tag/v${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
platforms = lib.platforms.linux;
···
python3Packages.buildPythonApplication rec {
pname = "memray";
+
version = "1.18.0";
pyproject = true;
src = fetchFromGitHub {
owner = "bloomberg";
repo = "memray";
tag = "v${version}";
+
hash = "sha256-bShFMuDJlvBA3rQJRwXlsgRk4q+gdFQjOpDzOrp4/8k=";
};
build-system = with python3Packages; [
···
meta = {
description = "Memory profiler for Python";
homepage = "https://bloomberg.github.io/memray/";
+
changelog = "https://github.com/bloomberg/memray/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
platforms = lib.platforms.linux;
+2 -2
pkgs/by-name/mo/monero-cli/package.nix
···
in
stdenv.mkDerivation rec {
pname = "monero-cli";
-
version = "0.18.4.1";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero";
rev = "v${version}";
-
hash = "sha256-z5yhU1xePFBSmfl0X8x7AAgPvqUX0PQzLzxMblS8Um8=";
};
patches = [
···
in
stdenv.mkDerivation rec {
pname = "monero-cli";
+
version = "0.18.4.2";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero";
rev = "v${version}";
+
hash = "sha256-ibwcvEHlJkMjXoJQMPVrlir5irdclJsmV7aBB4/m190=";
};
patches = [
+2 -2
pkgs/by-name/mo/monero-gui/package.nix
···
stdenv.mkDerivation rec {
pname = "monero-gui";
-
version = "0.18.4.1";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "v${version}";
-
hash = "sha256-Fm/kV31aKcjQjMO8vwjfDQsH8Qq8pRdFX3zbZdEGETg=";
};
nativeBuildInputs = [
···
stdenv.mkDerivation rec {
pname = "monero-gui";
+
version = "0.18.4.2";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "v${version}";
+
hash = "sha256-FKQrB47q791lDaomI5A10qw1oGh5zp9TFPpFoX2ZAmc=";
};
nativeBuildInputs = [
+1
pkgs/by-name/pa/paperless-ngx/package.nix
···
pythonRelaxDeps = [
"django-allauth"
"redis"
];
···
pythonRelaxDeps = [
"django-allauth"
+
"rapidfuzz"
"redis"
];
+2 -2
pkgs/by-name/ra/radicle-node/update.sh
···
#!/usr/bin/env nix-shell
-
#!nix-shell -i bash -p coreutils gnused common-updater-scripts nix-update
-
version=$(list-git-tags | tail -1 | sed 's|^releases/||')
nix-update --version="$version" radicle-node
···
#!/usr/bin/env nix-shell
+
#!nix-shell -i bash -p coreutils gnugrep common-updater-scripts nix-update
+
version=$(list-git-tags | grep -oP '^releases/\K\d+\.\d+\.\d+$' | sort -rV | head -1)
nix-update --version="$version" radicle-node
+7
pkgs/by-name/sc/scrounge-ntfs/package.nix
···
hash = "sha256-HYrMIMTRPmgAac/vaZ1jaUFchyAl5B0quxgHH0DHJ84=";
};
patches = [
./darwin.diff
];
···
hash = "sha256-HYrMIMTRPmgAac/vaZ1jaUFchyAl5B0quxgHH0DHJ84=";
};
+
env.NIX_CFLAGS_COMPILE = "-D_FILE_OFFSET_BITS=64";
+
+
postPatch = ''
+
substituteInPlace src/{list,ntfsx,scrounge}.c \
+
--replace-fail "lseek64" "lseek"
+
'';
+
patches = [
./darwin.diff
];
+3 -3
pkgs/by-name/so/soft-serve/package.nix
···
buildGoModule rec {
pname = "soft-serve";
-
version = "0.9.1";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "soft-serve";
rev = "v${version}";
-
hash = "sha256-gjkq1Be+x5qZYjO3pWt+u5A2izgMfR3+nxIHTc1ck6Y=";
};
-
vendorHash = "sha256-l0gsStKkfH0TQ1a935LSuFah3BBwVsMD4iSf2oDyViY=";
doCheck = false;
···
buildGoModule rec {
pname = "soft-serve";
+
version = "0.10.0";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "soft-serve";
rev = "v${version}";
+
hash = "sha256-Lg7cESGMbVCNx0KQBIAP/UsfvO3IO+DO9bYiQbg9Fls=";
};
+
vendorHash = "sha256-DBgVcbt2kejtEJSajJh6vS4feT3Lwm+KqUOks55iWIc=";
doCheck = false;
+4 -4
pkgs/by-name/ti/tideways-daemon/package.nix
···
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tideways-daemon";
-
version = "1.9.48";
src =
finalAttrs.passthru.sources.${stdenvNoCC.hostPlatform.system}
···
sources = {
"x86_64-linux" = fetchurl {
url = "https://tideways.s3.amazonaws.com/daemon/${finalAttrs.version}/tideways-daemon_linux_amd64-${finalAttrs.version}.tar.gz";
-
hash = "sha256-5o39BwSKltqkbbcbArbKXmU3HQdXwC7QD3sq+3OK3yI=";
};
"aarch64-linux" = fetchurl {
url = "https://tideways.s3.amazonaws.com/daemon/${finalAttrs.version}/tideways-daemon_linux_aarch64-${finalAttrs.version}.tar.gz";
-
hash = "sha256-akhRnWAzisjxOb4j3HCSGZ1e/qJcHERR2Msd1hB1on4=";
};
"aarch64-darwin" = fetchurl {
url = "https://tideways.s3.amazonaws.com/daemon/${finalAttrs.version}/tideways-daemon_macos_arm64-${finalAttrs.version}.tar.gz";
-
hash = "sha256-7Ss+TQPkMyV18LU2EA7KZZjtb2S6hzEbwkIzAemee5E=";
};
};
updateScript = "${
···
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tideways-daemon";
+
version = "1.9.52";
src =
finalAttrs.passthru.sources.${stdenvNoCC.hostPlatform.system}
···
sources = {
"x86_64-linux" = fetchurl {
url = "https://tideways.s3.amazonaws.com/daemon/${finalAttrs.version}/tideways-daemon_linux_amd64-${finalAttrs.version}.tar.gz";
+
hash = "sha256-8OGGF1b74lYv1EQgcY54gdwJ2mvuS2D2oNdmKoJmkmM=";
};
"aarch64-linux" = fetchurl {
url = "https://tideways.s3.amazonaws.com/daemon/${finalAttrs.version}/tideways-daemon_linux_aarch64-${finalAttrs.version}.tar.gz";
+
hash = "sha256-adtA5+Ft7ToTDeQ2vp3Hx1UUHgU0NUlcCVpJsV1alvU=";
};
"aarch64-darwin" = fetchurl {
url = "https://tideways.s3.amazonaws.com/daemon/${finalAttrs.version}/tideways-daemon_macos_arm64-${finalAttrs.version}.tar.gz";
+
hash = "sha256-kMIvW3dabv9iHLOx9QbsuiBkts62FHjvEYzBze9prlw=";
};
};
updateScript = "${
+5
pkgs/development/libraries/gstreamer/rs/default.nix
···
patches = [
# Related to https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/723
./ignore-tests.patch
];
strictDeps = true;
···
patches = [
# Related to https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/723
./ignore-tests.patch
+
(fetchpatch {
+
name = "x264enc-test-fix.patch";
+
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/commit/c0c9888d66e107f9e0b6d96cd3a85961c7e97d9a.diff";
+
hash = "sha256-/ILdPDjI20k5l9Qf/klglSuhawmFUs9mR+VhBnQqsWw=";
+
})
];
strictDeps = true;
-20
pkgs/development/libraries/gstreamer/rs/ignore-tests.patch
···
-
diff --git a/mux/mp4/tests/tests.rs b/mux/mp4/tests/tests.rs
-
index 52b91f59..c5875554 100644
-
--- a/mux/mp4/tests/tests.rs
-
+++ b/mux/mp4/tests/tests.rs
-
@@ -1339,6 +1339,7 @@ fn test_taic_encode_cannot_sync(video_enc: &str) {
-
);
-
}
-
-
+#[ignore = "Unknown failure"]
-
#[test]
-
fn test_taic_x264() {
-
init();
-
@@ -1359,6 +1360,7 @@ fn test_taic_stai_x264_not_enabled() {
-
test_taic_stai_encode("x264enc", false);
-
}
-
-
+#[ignore = "Unknown failure"]
-
#[test]
-
fn test_taic_x264_no_sync() {
-
init();
diff --git a/utils/uriplaylistbin/tests/uriplaylistbin.rs b/utils/uriplaylistbin/tests/uriplaylistbin.rs
index 3489eaa8..569635d6 100644
--- a/utils/uriplaylistbin/tests/uriplaylistbin.rs
···
diff --git a/utils/uriplaylistbin/tests/uriplaylistbin.rs b/utils/uriplaylistbin/tests/uriplaylistbin.rs
index 3489eaa8..569635d6 100644
--- a/utils/uriplaylistbin/tests/uriplaylistbin.rs
+2 -2
pkgs/development/python-modules/adafruit-platformdetect/default.nix
···
buildPythonPackage rec {
pname = "adafruit-platformdetect";
-
version = "3.82.0";
pyproject = true;
src = fetchPypi {
pname = "adafruit_platformdetect";
inherit version;
-
hash = "sha256-C/ese6ezyDFp+3ifobq/DlHsz4g0wrBnuWCoa69qYYg=";
};
build-system = [ setuptools-scm ];
···
buildPythonPackage rec {
pname = "adafruit-platformdetect";
+
version = "3.83.0";
pyproject = true;
src = fetchPypi {
pname = "adafruit_platformdetect";
inherit version;
+
hash = "sha256-woiuT3RnxDkLtDaBAh9vdUvsMKAp3s5ahpJNS1T2DcQ=";
};
build-system = [ setuptools-scm ];
+1 -1
pkgs/development/python-modules/duckduckgo-search/default.nix
···
doCheck = false; # tests require network access
-
pythonImportsCheck = [ "duckduckgo_search" ];
meta = {
description = "Python CLI and library for searching for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine";
···
doCheck = false; # tests require network access
+
pythonImportsCheck = [ "ddgs" ];
meta = {
description = "Python CLI and library for searching for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine";
+2 -2
pkgs/development/python-modules/fastapi-mcp/default.nix
···
# tests
coverage,
-
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:
···
nativeCheckInputs = [
coverage
-
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
···
# tests
coverage,
+
pytest-asyncio_0,
pytest-cov-stub,
pytestCheckHook,
}:
···
nativeCheckInputs = [
coverage
+
pytest-asyncio_0
pytest-cov-stub
pytestCheckHook
];
+2 -2
pkgs/development/python-modules/llama-index-vector-stores-chroma/default.nix
···
buildPythonPackage rec {
pname = "llama-index-vector-stores-chroma";
-
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.8";
···
src = fetchPypi {
pname = "llama_index_vector_stores_chroma";
inherit version;
-
hash = "sha256-5gkwYvmBXeRxGBL1CoM5H/obYDTceap1TP00uv8SDs4=";
};
build-system = [ hatchling ];
···
buildPythonPackage rec {
pname = "llama-index-vector-stores-chroma";
+
version = "0.5.2";
pyproject = true;
disabled = pythonOlder "3.8";
···
src = fetchPypi {
pname = "llama_index_vector_stores_chroma";
inherit version;
+
hash = "sha256-2NX72ejiuzhjCi15EPa9OJZtTkKb5ySjMRfiDP617lY=";
};
build-system = [ hatchling ];
+5 -8
pkgs/development/python-modules/pandas-stubs/default.nix
···
lib,
stdenv,
buildPythonPackage,
-
pythonOlder,
fetchFromGitHub,
# build-system
···
buildPythonPackage rec {
pname = "pandas-stubs";
-
version = "2.2.3.250308";
pyproject = true;
-
-
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "pandas-dev";
repo = "pandas-stubs";
tag = "v${version}";
-
hash = "sha256-93XVzdb3A2S+Exk33v3U8HDMg9vPKAEkWjLZnBaXMWQ=";
};
build-system = [ poetry-core ];
···
pythonImportsCheck = [ "pandas" ];
-
meta = with lib; {
description = "Type annotations for Pandas";
homepage = "https://github.com/pandas-dev/pandas-stubs";
-
license = licenses.mit;
-
maintainers = with maintainers; [ malo ];
};
}
···
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
# build-system
···
buildPythonPackage rec {
pname = "pandas-stubs";
+
version = "2.3.2.250827";
pyproject = true;
src = fetchFromGitHub {
owner = "pandas-dev";
repo = "pandas-stubs";
tag = "v${version}";
+
hash = "sha256-qjHnFT/ydK5n6QfUzAhnGJWVpqHQbMoqGkel3Pu7S78=";
};
build-system = [ poetry-core ];
···
pythonImportsCheck = [ "pandas" ];
+
meta = {
description = "Type annotations for Pandas";
homepage = "https://github.com/pandas-dev/pandas-stubs";
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ malo ];
};
}
+10 -4
pkgs/development/python-modules/ropper/default.nix
···
fetchFromGitHub,
capstone,
filebytes,
pytestCheckHook,
pythonOlder,
setuptools,
···
buildPythonPackage rec {
pname = "ropper";
-
version = "1.13.10";
pyproject = true;
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "sashs";
repo = "Ropper";
-
rev = "v${version}";
-
hash = "sha256-yuHJ+EpglumEAXEu0iJKIXK1ouW1yptNahM9Wmk7AW4=";
};
build-system = [ setuptools ];
···
filebytes
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ropper" ];
meta = with lib; {
description = "Show information about files in different file formats";
-
mainProgram = "ropper";
homepage = "https://scoding.de/ropper/";
license = licenses.bsd3;
maintainers = with maintainers; [ bennofs ];
};
}
···
fetchFromGitHub,
capstone,
filebytes,
+
keystone-engine,
pytestCheckHook,
pythonOlder,
setuptools,
···
buildPythonPackage rec {
pname = "ropper";
+
version = "1.13.13";
pyproject = true;
disabled = pythonOlder "3.7";
···
src = fetchFromGitHub {
owner = "sashs";
repo = "Ropper";
+
tag = "v${version}";
+
hash = "sha256-MOAbACLDdeKCMV4K/n1rAQlxDN0JoDIiUF6Zr3yPw8o=";
};
build-system = [ setuptools ];
···
filebytes
];
+
optional-dependencies = {
+
ropchain = [ keystone-engine ];
+
};
+
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ropper" ];
meta = with lib; {
description = "Show information about files in different file formats";
homepage = "https://scoding.de/ropper/";
+
changelog = "https://github.com/sashs/Ropper/releases/tag/${src.tag}";
license = licenses.bsd3;
maintainers = with maintainers; [ bennofs ];
+
mainProgram = "ropper";
};
}
+26 -10
pkgs/development/python-modules/skops/default.nix
···
{
lib,
buildPythonPackage,
fetchFromGitHub,
-
pythonOlder,
hatchling,
-
pytestCheckHook,
-
pytest-cov-stub,
huggingface-hub,
matplotlib,
pandas,
scikit-learn,
-
stdenv,
streamlit,
tabulate,
}:
···
build-system = [ hatchling ];
dependencies = [
-
huggingface-hub
scikit-learn
tabulate
];
···
nativeCheckInputs = [
matplotlib
pandas
-
pytestCheckHook
pytest-cov-stub
streamlit
];
enabledTestPaths = [ "skops" ];
disabledTests = [
# flaky
"test_base_case_works_as_expected"
];
disabledTestPaths = [
-
# try to download data from Huggingface Hub:
-
"skops/hub_utils/tests"
-
"skops/card/tests"
# minor output formatting issue
"skops/card/_model_card.py"
]
···
# Segfaults on darwin
"skops/io/tests/test_persist.py"
];
pytestFlags = [
# Warning from scipy.optimize in skops/io/tests/test_persist.py::test_dump_and_load_with_file_wrapper
# https://github.com/skops-dev/skops/issues/479
"-Wignore::DeprecationWarning"
];
pythonImportsCheck = [ "skops" ];
meta = {
description = "Library for saving/loading, sharing, and deploying scikit-learn based models";
-
mainProgram = "skops";
homepage = "https://skops.readthedocs.io/en/stable";
changelog = "https://github.com/skops-dev/skops/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.bcdarwin ];
};
}
···
{
lib,
+
stdenv,
buildPythonPackage,
fetchFromGitHub,
hatchling,
huggingface-hub,
matplotlib,
+
numpy,
+
packaging,
pandas,
+
prettytable,
+
pytest-cov-stub,
+
pytestCheckHook,
+
pythonOlder,
+
pyyaml,
+
rich,
scikit-learn,
streamlit,
tabulate,
}:
···
build-system = [ hatchling ];
dependencies = [
+
numpy
+
packaging
+
prettytable
scikit-learn
tabulate
];
···
nativeCheckInputs = [
matplotlib
pandas
pytest-cov-stub
+
pytestCheckHook
+
pyyaml
streamlit
];
+
+
optional-dependencies = {
+
rich = [ rich ];
+
};
+
enabledTestPaths = [ "skops" ];
+
disabledTests = [
# flaky
"test_base_case_works_as_expected"
+
# fairlearn is not available in nixpkgs
+
"TestAddFairlearnMetricFrame"
];
+
disabledTestPaths = [
# minor output formatting issue
"skops/card/_model_card.py"
]
···
# Segfaults on darwin
"skops/io/tests/test_persist.py"
];
+
pytestFlags = [
# Warning from scipy.optimize in skops/io/tests/test_persist.py::test_dump_and_load_with_file_wrapper
# https://github.com/skops-dev/skops/issues/479
"-Wignore::DeprecationWarning"
];
+
pythonImportsCheck = [ "skops" ];
meta = {
description = "Library for saving/loading, sharing, and deploying scikit-learn based models";
homepage = "https://skops.readthedocs.io/en/stable";
changelog = "https://github.com/skops-dev/skops/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.bcdarwin ];
+
mainProgram = "skops";
};
}
+4 -4
pkgs/development/python-modules/smolagents/default.nix
···
# openai
openai,
# toolkit
-
duckduckgo-search,
markdownify,
# torch
numpy,
···
buildPythonPackage rec {
pname = "smolagents";
-
version = "1.20.0";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "smolagents";
tag = "v${version}";
-
hash = "sha256-ING+C2MACKFto+1FON5OGFgzLf8SM99ViTdADzNzQLw=";
};
# TODO: remove at the next release
···
# opentelemetry-sdk
# ];
toolkit = [
-
duckduckgo-search
markdownify
];
torch = [
···
# openai
openai,
# toolkit
+
ddgs,
markdownify,
# torch
numpy,
···
buildPythonPackage rec {
pname = "smolagents";
+
version = "1.21.2";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "smolagents";
tag = "v${version}";
+
hash = "sha256-sm0G8z5Jaes8XybxeAUiRh3LVuzvnGaem5FLkcA5Qls=";
};
# TODO: remove at the next release
···
# opentelemetry-sdk
# ];
toolkit = [
+
ddgs
markdownify
];
torch = [
+2 -2
pkgs/development/python-modules/stripe/default.nix
···
buildPythonPackage rec {
pname = "stripe";
-
version = "12.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-HNH1sFeYZ5IwgbrPWUlZ0fQD8hgiOgbcOCc76wfQFWc=";
};
build-system = [ setuptools ];
···
buildPythonPackage rec {
pname = "stripe";
+
version = "12.5.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-zSuOcSFrau1dwem15vZYteIdaaYNRPuMCPQeH3vd7dA=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/tlds/default.nix
···
buildPythonPackage rec {
pname = "tlds";
-
version = "2025051700";
pyproject = true;
src = fetchFromGitHub {
owner = "kichik";
repo = "tlds";
tag = version;
-
hash = "sha256-AqVe9U/gLjXkmLls4+t04youpY7DtrbmlaHVUdAElMo=";
};
nativeBuildInputs = [ setuptools ];
···
buildPythonPackage rec {
pname = "tlds";
+
version = "2025082700";
pyproject = true;
src = fetchFromGitHub {
owner = "kichik";
repo = "tlds";
tag = version;
+
hash = "sha256-sMK+jglwhF8FX8yLDHBtheudfg20MOJhk+zHznQ0hbk=";
};
nativeBuildInputs = [ setuptools ];
+2 -2
pkgs/os-specific/linux/kernel/zen-kernels.nix
···
variants = {
# ./update-zen.py zen
zen = {
-
version = "6.16.1"; # zen
suffix = "zen1"; # zen
-
sha256 = "1z20d53hz1zwg65x8jbq57v7snh9z5qk0gnvw4v6xfn9hwi79sjs"; # zen
isLqx = false;
};
# ./update-zen.py lqx
···
variants = {
# ./update-zen.py zen
zen = {
+
version = "6.16.3"; # zen
suffix = "zen1"; # zen
+
sha256 = "1dxxpd1j163m0ijw3ldc0v958jwn002crw5x0n1yzrklgs4jp4dm"; # zen
isLqx = false;
};
# ./update-zen.py lqx
-13
pkgs/os-specific/linux/scx/scx_cscheds.nix
···
cp ${finalAttrs.fetchLibbpf} meson-scripts/fetch_libbpf
substituteInPlace meson.build \
--replace-fail '[build_bpftool' "['${lib.getExe bash}', build_bpftool"
-
-
# TODO: Remove in next release.
-
substituteInPlace lib/scxtest/overrides.h \
-
--replace-fail '#define __builtin_preserve_enum_value(x,y,z) 1' '#define __builtin_preserve_enum_value(x,y) 1'
'';
nativeBuildInputs = [
···
"systemd" = false;
# not for nix
"openrc" = false;
-
"libalpm" = false;
})
(lib.mapAttrsToList lib.mesonBool {
# needed libs are already fetched as FOD
···
"zerocallusedregs"
];
-
# We copy the compiled header files to the dev output
-
# These are needed for the rust schedulers
-
postFixup = ''
-
mkdir -p ${placeholder "dev"}
-
cp -r libbpf ${placeholder "dev"}
-
'';
-
outputs = [
"bin"
-
"dev"
"out"
];
···
cp ${finalAttrs.fetchLibbpf} meson-scripts/fetch_libbpf
substituteInPlace meson.build \
--replace-fail '[build_bpftool' "['${lib.getExe bash}', build_bpftool"
'';
nativeBuildInputs = [
···
"systemd" = false;
# not for nix
"openrc" = false;
})
(lib.mapAttrsToList lib.mesonBool {
# needed libs are already fetched as FOD
···
"zerocallusedregs"
];
outputs = [
"bin"
"out"
];
+1 -13
pkgs/os-specific/linux/scx/scx_rustscheds.nix
···
zlib,
zstd,
scx-common,
-
scx,
protobuf,
libseccomp,
}:
···
inherit (scx-common) version src;
inherit (scx-common.versionInfo.scx) cargoHash;
-
-
# Copy compiled headers and libs from scx.cscheds
-
postPatch = ''
-
mkdir libbpf
-
cp -r ${scx.cscheds.dev}/libbpf/* libbpf/
-
'';
nativeBuildInputs = [
pkg-config
···
env = {
BPF_CLANG = lib.getExe llvmPackages.clang;
-
BPF_EXTRA_CFLAGS_PRE_INCL = lib.concatStringsSep " " [
-
"-I${scx.cscheds.dev}/libbpf/src/usr/include"
-
"-I${scx.cscheds.dev}/libbpf/include/uapi"
-
"-I${scx.cscheds.dev}/libbpf/include/linux"
-
];
RUSTFLAGS = lib.concatStringsSep " " [
"-C relocation-model=pic"
"-C link-args=-lelf"
"-C link-args=-lz"
"-C link-args=-lzstd"
-
"-L ${scx.cscheds.dev}/libbpf/src"
];
};
···
"--skip=compat::tests::test_struct_has_field"
"--skip=cpumask"
"--skip=topology"
];
meta = scx-common.meta // {
···
zlib,
zstd,
scx-common,
protobuf,
libseccomp,
}:
···
inherit (scx-common) version src;
inherit (scx-common.versionInfo.scx) cargoHash;
nativeBuildInputs = [
pkg-config
···
env = {
BPF_CLANG = lib.getExe llvmPackages.clang;
RUSTFLAGS = lib.concatStringsSep " " [
"-C relocation-model=pic"
"-C link-args=-lelf"
"-C link-args=-lz"
"-C link-args=-lzstd"
];
};
···
"--skip=compat::tests::test_struct_has_field"
"--skip=cpumask"
"--skip=topology"
+
"--skip=proc_data::tests::test_thread_operations"
];
meta = scx-common.meta // {
+5 -5
pkgs/os-specific/linux/scx/version.json
···
{
"scx": {
-
"version": "1.0.14",
-
"hash": "sha256-Wh+8vaQO93Erj+z8S2C633UDmUrFjQc3Bg+Nm7EML0E=",
-
"cargoHash": "sha256-6uiDx2/5ZcYkz8x8vuOTEUclIttzxVMvh1Q6QHg9N6E="
},
"bpftool": {
"rev": "183e7010387d1fc9f08051426e9a9fbd5f8d409e",
"hash": "sha256-ZZly6csVWOmtLmld1fhSDUqyRgZx2gSMGXTaSASGv7c="
},
"libbpf": {
-
"rev": "c5f22aca0f3aa855daa159b2777472b35e721804",
-
"hash": "sha256-ggGVqAkdZt28KAx+LztVIYGxj0j79hKcPKmUy8TrJy8="
}
}
···
{
"scx": {
+
"version": "1.0.15",
+
"hash": "sha256-HZIcJVWb0prkCjoSw7hd4JKve+unWFnfz9bGXZaF6EA=",
+
"cargoHash": "sha256-CRk8vLwSylNM5M9j0iwRbAmzAREUOJAl28BdY2o1zGs="
},
"bpftool": {
"rev": "183e7010387d1fc9f08051426e9a9fbd5f8d409e",
"hash": "sha256-ZZly6csVWOmtLmld1fhSDUqyRgZx2gSMGXTaSASGv7c="
},
"libbpf": {
+
"rev": "b4fa3e39a77fd65574fb5f899486795fc3d89bd9",
+
"hash": "sha256-wlymVgcLlGCUOC92CkYU6QZZnqx8nidSfhr1pTiS8aM="
}
}
+3 -2
pkgs/os-specific/linux/tmon/default.nix
···
lib,
stdenv,
kernel,
-
kernelModuleMakeFlags,
ncurses,
}:
···
cd tools/thermal/tmon
'';
-
makeFlags = kernelModuleMakeFlags ++ [
"INSTALL_ROOT=\"$(out)\""
"BINDIR=bin"
];
···
lib,
stdenv,
kernel,
ncurses,
}:
···
cd tools/thermal/tmon
'';
+
makeFlags = [
+
"ARCH=${stdenv.hostPlatform.linuxArch}"
+
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
"INSTALL_ROOT=\"$(out)\""
"BINDIR=bin"
];
+10 -5
pkgs/tools/compression/zstd/default.nix
···
python3Packages,
haskellPackages,
testers,
-
zstd,
}:
-
stdenv.mkDerivation rec {
pname = "zstd";
version = "1.5.7";
src = fetchFromGitHub {
owner = "facebook";
repo = "zstd";
-
rev = "v${version}";
hash = "sha256-tNFWIT9ydfozB8dWcmTMuZLCQmQudTFJIkSr0aG7S44=";
};
···
passthru = {
updateScript = nix-update-script { };
tests = {
inherit libarchive rocksdb arrow-cpp;
libzip = libzip.override { withZstd = true; };
curl = curl.override { zstdSupport = true; };
python-zstd = python3Packages.zstd;
haskell-zstd = haskellPackages.zstd;
haskell-hs-zstd = haskellPackages.hs-zstd;
-
pkg-config = testers.hasPkgConfigModules { package = zstd; };
};
};
···
maintainers = with maintainers; [ orivej ];
pkgConfigModules = [ "libzstd" ];
};
-
}
···
python3Packages,
haskellPackages,
testers,
}:
+
stdenv.mkDerivation (finalAttrs: {
pname = "zstd";
version = "1.5.7";
src = fetchFromGitHub {
owner = "facebook";
repo = "zstd";
+
rev = "v${finalAttrs.version}";
hash = "sha256-tNFWIT9ydfozB8dWcmTMuZLCQmQudTFJIkSr0aG7S44=";
};
···
passthru = {
updateScript = nix-update-script { };
tests = {
+
+
# Reverse dependencies
+
inherit libarchive rocksdb arrow-cpp;
libzip = libzip.override { withZstd = true; };
curl = curl.override { zstdSupport = true; };
python-zstd = python3Packages.zstd;
haskell-zstd = haskellPackages.zstd;
haskell-hs-zstd = haskellPackages.hs-zstd;
+
+
# Package tests (coherent with overrides)
+
+
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
};
};
···
maintainers = with maintainers; [ orivej ];
pkgConfigModules = [ "libzstd" ];
};
+
})
-8
pkgs/top-level/all-packages.nix
···
fclones = callPackage ../tools/misc/fclones { };
-
feh = callPackage ../applications/graphics/feh {
-
imlib2 = imlib2Full;
-
};
-
buildMozillaMach =
opts: callPackage (import ../build-support/build-mozilla-mach/default.nix opts) { };
···
pattypan = callPackage ../applications/misc/pattypan {
jdk = jdk.override { enableJavaFX = true; };
};
-
-
gnunet = callPackage ../applications/networking/p2p/gnunet { };
-
-
gnunet-gtk = callPackage ../applications/networking/p2p/gnunet/gtk.nix { };
gphoto2 = callPackage ../applications/misc/gphoto2 { };
···
fclones = callPackage ../tools/misc/fclones { };
buildMozillaMach =
opts: callPackage (import ../build-support/build-mozilla-mach/default.nix opts) { };
···
pattypan = callPackage ../applications/misc/pattypan {
jdk = jdk.override { enableJavaFX = true; };
};
gphoto2 = callPackage ../applications/misc/gphoto2 { };