Commit Graph
1017314 Commits
Author SHA1 Message Date
Philip Taron e741e98346 vmTools: point in-VM module loading at kernelModules too
The previous commit split the module tree out of `kernel` into a new
`kernelModules` argument, but only updated the initrd modules closure.
Two other places still referenced `kernel` for modules:

* `MODULE_DIR` in stage2Init, which backs both the kernel automatic
  module loader (/proc/sys/kernel/modprobe) and any explicit modprobe
  run inside the VM;
* the `/lib` symlinks in extractFs and extractMTDfs.

Before the split these pointed at the aggregated tree whenever callers
overrode `kernel` with one, so e.g. `modprobe zfs` inside the VM found
the out-of-tree module. Verified by running modprobe of a module
present only in `kernelModules` inside runInLinuxVM: it fails with
"FATAL: Module zfs not found" before this change and succeeds after.

Assisted-by: Claude Code (claude-fable-5)
2026-06-11 09:55:27 -07:00
R. Ryantm 4bf03866e6 python3Packages.llguidance: 1.7.5 -> 1.7.6 2026-06-11 16:50:13 +00:00
XlNTARO 47e5bac99a pypy3: fix mainProgram attribute for nix run 2026-06-11 19:50:12 +03:00
Arne KellerandGitHub 129235ea7d six-sines: init at 1.1.0 (#520932) 2026-06-11 16:49:24 +00:00
R. Ryantm b61a6e1148 terraform-providers.buildkite_buildkite: 1.33.0 -> 1.34.0 2026-06-11 16:48:32 +00:00
Arne KellerandGitHub bf2b8375de nih-plug: init at 0-unstable-2026-05-10 (#520231) 2026-06-11 16:43:05 +00:00
nixpkgs-ci[bot]andGitHub c9ac702ae8 openstack-rs: 0.13.5 -> 0.13.7 (#530706) 2026-06-11 16:34:13 +00:00
nixpkgs-ci[bot]andGitHub 38be89c980 pyfa: 2.66.3 -> 2.67.0 (#530670) 2026-06-11 16:34:07 +00:00
nixpkgs-ci[bot]andGitHub 39f795bd0c kicad: Fix rebuild when compressStep = false (#523928) 2026-06-11 16:33:35 +00:00
R. Ryantm babc435df7 reaper: 7.73 -> 7.74 2026-06-11 16:27:21 +00:00
Adam C. StephensandGitHub f8330c7eb5 restic: 0.18.1 -> 0.19.0 (#530032) 2026-06-11 16:25:45 +00:00
Mathtician 8f5437cf20 discord: recreate module symlinks on every launch
As of commit b49b623a ("discord: use distro layout for stable on Linux", PR #515876),
Discord's launch script runs a `discord-stage-modules` script defined in `linux.nix`,
which creates symlinks from `~/.config/discord/<version>/modules/<module_name>`
to the corresponding Nix store paths so Discord can find them.
It checks whether this has already been done by looking for `installed.json` in the same dir,
which it also creates, and skips link creation if so.
However, since the dir is indexed by Discord version number,
the links are not refreshed when opening a new build of Discord with the same version number as an older build.
If the old build is then GC'd, the links break and Discord fails to start
with an error such as `Cannot find module 'discord_desktop_core'`.
Deleting the module folder entirely allows for it to be recreated and for Discord to start without issue.
This problem and solution are attested on the wiki, albeit with less explanation:
https://wiki.nixos.org/wiki/Discord#Crash_on_start-up.
The package fix is to delete and recreate the `modules` folder on each launch,
as it is small and does not contain any data meant to persist between launches:
it has only the module links, `installed.json`, and a `pending/` download directory
recreated by Discord's updater on startup.
The fix ensures that the links always point to the Nix store of the build of Discord being run,
so they will not be broken by GC.

Assisted-by: Claude Fable 5 in Claude Code
2026-06-11 11:23:06 -05:00
Marie RamlowandGitHub dceb7942cb transmission_4-mac: set meta.platforms to lib.platforms.darwin (#530682) 2026-06-11 16:17:26 +00:00
Masum RezaandGitHub d89251e9f8 nixos/bcachefs: fix scrub command (#518198) 2026-06-11 16:15:05 +00:00
Tom Oostveen 4c1fb8659a neovim-unwrapped: 0.12.2 -> 0.12.3
Diff: https://github.com/neovim/neovim/compare/v0.12.2...v0.12.3

Changelog: https://github.com/neovim/neovim/releases/tag/v0.12.3
2026-06-11 18:10:09 +02:00
dotlambdaandGitHub 71c7b6275f python3Packages.elevenlabs: 2.50.0 -> 2.52.0 (#530688) 2026-06-11 16:08:46 +00:00
R. Ryantm 210ed2ac22 tonearm: 1.4.1 -> 1.4.2 2026-06-11 16:01:27 +00:00
Gaétan LepageandGitHub 6d9bcb0188 tinymist: 0.14.21 -> 0.14.25 (#530732) 2026-06-11 15:59:35 +00:00
Philip TaronandGitHub fc80b7c658 fetchgit: disable git background maintenance during clean_git (#530594) 2026-06-11 15:56:08 +00:00
Austin HorstmanandGitHub 13dd7bfec9 luaPackages.orgmode: disable flaky UI tests (#530767) 2026-06-11 15:49:52 +00:00
·𐑑𐑴𐑕𐑑𐑩𐑤 401cab2cb7 factorPackages: 0.100 → 0.101
I think this was an oversight. If the default factor-lang is 0.101 the
packages should match.
2026-06-11 22:46:33 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 dde6eefd58 factor: override deployment copy-file to skip setting file permissions
Assisted-by: DeepSeek V4 Flash
2026-06-11 22:46:33 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 7aaa9694b8 factor: deploy script prints its path handling version differences
In 0.101 & on non-macOS builds, Factor added a .out extension to
deployments. The current Nix derivation is built with path assumptions
in mind. Rather than running switch-cases on versions+OS or relying on
globbing in the shell scripts, the deploy script has been modified to
print its resolved deploy path to a file so that the build can continue
knowing exactly where the files are / should go. This handles both with
& without .out extension as the tests pass on 0.99, 0.100, & 0.101.
2026-06-11 22:46:29 +07:00
Marc Jakobi b9c875fba4 luaPackages.orgmode: disable flaky UI tests 2026-06-11 17:35:37 +02:00
nick-linux8 5ee4cc6c07 xdotool: 3.20211022.1 -> 4.20260303.1 2026-06-11 11:32:36 -04:00
·𐑑𐑴𐑕𐑑𐑩𐑤 5d13d05d5e factor: use indent strings for install phase 2026-06-11 22:32:15 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 58eddaf709 factor: add language string annotations
tree-sitter can highlight these (& more depending on editor setup), &
for the rest of users, it’s still an annotation that helps keep track of
what language we are working in.
2026-06-11 22:32:15 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 59d0bc1cf9 factor: capitalize “Usage” as is customary 2026-06-11 22:32:15 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 3678d107b7 factor: add hello-world test 2026-06-11 22:32:14 +07:00
·𐑑𐑴𐑕𐑑𐑩𐑤 0cc1642964 h2o: 2.3.0-rolling-2026-06-04 → 2.3.0-rolling-2026-06-10 2026-06-11 22:27:23 +07:00
Philip Taron 5b5c421f52 nix-prefetch-git: also disable legacy auto-gc
Commit 88cfc54552 ("nix-prefetch-git: disable maintenance mode via
environment variables") disabled maintenance.auto (git's new
auto-maintenance) via GIT_CONFIG_*, which propagates to submodules. But
the legacy auto-gc path (gc.auto plus detached gc.autoDetach) is still
enabled, and it keeps repacking .git/modules/<sub>/objects after a nested
submodule reports "checked out", racing the later `rm -rf .git`:

- rm empties objects/pack, the detached gc drops a fresh pack in, and
  rmdir fails with "Directory not empty" (exit 123); or
- removal partially completes, leaving varying .git remnants, yielding a
  non-deterministic NAR hash.

Disable gc.auto/gc.autoDetach alongside maintenance.auto, using the same
GIT_CONFIG_* mechanism so the settings reach every git invocation and its
children (including nested submodule fetches). Fold the repeated
boilerplate into a small git_config_env helper.

The successful output is unchanged (.git is removed either way), so
pinned fetchgit hashes stay valid; this only makes removal deterministic.

Fixes #524215.

Assisted-by: Claude Code (claude-opus-4-8)
2026-06-11 08:25:04 -07:00
r-vdp 68d32ed6cb vmTools: fix img collision with pkgs.img, add kernelModules arg
Commit 31d1d80b3f ("lib/systems: move kernel configuration out of
the platform structure") changed all-packages.nix from

  vmTools = callPackage ../build-support/vm {
    img = stdenv.hostPlatform.linux-kernel.target;
  };

to

  vmTools = callPackage ../build-support/vm { };

and changed the function default to `img ? kernel.target`. Since
`pkgs.img` exists, `callPackage` now auto-fills the `img` argument
with that attribute and the default is never used.
Anything going through `runInLinuxVM` (make-disk-image,
nixosTests.bootspec.*, etc.) then fails with:

  qemu: could not open kernel file
  '/nix/store/...-linux-.../...-img-0.5.11': No such file or directory

Rename `img` to `kernelImage` so it no longer collides with a
top-level package.

The same commit also broke callers that override `kernel` with an
`aggregateModules` tree (the in-tree zfs image builders, disko), since
that has no `.target`. The single `kernel` argument was being used for
two unrelated things: the boot image for `qemu -kernel` and the module
tree for the initrd. Split the latter out into a new `kernelModules`
argument (defaulting to `kernel`), point the zfs image builders at it,
and throw a clear error explaining the migration when `kernel.target`
is missing.
2026-06-11 18:21:30 +03:00
Logan Pulley 4b68826b8c restic: 0.18.1 -> 0.19.0 2026-06-11 10:20:45 -05:00
xiaodong.jia 7e4a18608d prometheus-xray-exporter: switch to fork with user metrics working 2026-06-11 23:16:09 +08:00
Fabián Heredia MontielandGitHub 0405f43b83 litestar: 2.21.1 -> 2.23.0 (#526578) 2026-06-11 15:15:30 +00:00
nixpkgs-ci[bot]andGitHub 04914f1baf filebrowser: 2.63.5 -> 2.63.14 (#530744) 2026-06-11 15:04:56 +00:00
nixpkgs-ci[bot]andGitHub fb3c01228a undock: 0.13.0 -> 0.14.0 (#530213) 2026-06-11 15:04:24 +00:00
Johannes KirschbauerandGitHub 6c0202028d lib.attrsets.mergeAttrsList: small arithmetic performance improvements (#528677) 2026-06-11 15:01:53 +00:00
Fabian Affolter 0e8f6c0da9 roadtools: init at 0.0.2 2026-06-11 16:53:47 +02:00
Fabian Affolter a871948418 python3Packages.roadtools: add mainProgram 2026-06-11 16:53:47 +02:00
Fabian Affolter 32817e474b python3Packages.roadtools: migrate to finalAttrs 2026-06-11 16:53:47 +02:00
Fabian Affolter d10f053978 python3Packages.roadtx: 1.21.1 -> 1.22.0 2026-06-11 16:53:47 +02:00
Fabian Affolter 19d5f3137e python3Packages.selenium-wire-roadtx: init at 0-unstable-2026-05-20
Extends Selenium's Python bindings to give you the ability to inspect
requests made by the browser

https://github.com/dirkjanm/selenium-wire-roadtx
2026-06-11 16:53:46 +02:00
Thiago Kenji OkadaandGitHub 9f585a857a linux_zen: 7.0.11 -> 7.0.12 (#530738) 2026-06-11 14:48:33 +00:00
Austin HorstmanandGitHub d89347ccfa luaPackages: update on 2026-06-10 (#530555) 2026-06-11 14:45:57 +00:00
Markus Kowalewski 2bd77eb5a4 slurm-spank-stunnel: cleanup
* run pre/post hooks in install and build phase
* replace hostlist patch with upstream patch
2026-06-11 16:43:05 +02:00
Markus Kowalewski 5683ebbb6c slurm-spank-x11: run pre/post hooks for install and build phase 2026-06-11 16:42:23 +02:00
AleksanaandGitHub e2407f7422 karere: 2.5.5 -> 3.1.1 (#523828) 2026-06-11 14:42:20 +00:00
Adriel Velazquez ddb89b0a77 antigravity-cli: 1.0.7 -> 1.0.8 2026-06-11 14:42:04 +00:00
Burfeind, Jan-NiklasandPavol Rusnak a902829b44 openocd-adi: 0.12.0-1.3.1-1 -> 0.12.0-1.3.1-2
and switch to finalAttrs

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2026-06-11 16:40:49 +02:00