-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Description
Nixpkgs version
- Unstable (25.05)
Describe the bug
After upgrading nixos-unstable from e3e32b6 to 77172a8 Emacs will try to install some packages that are dependencies to the leaf packages, that I have installed using emacsWithPackages.
For example, I have lsp-mode specified with Nix, and Emacs now tries to download lsp-docker at runtime.
I notice this because I am running Emacs without network access and hence these packages cannot be downloaded.
These packages are still part of the system closure, Emacs just can't seem to find them anymore.
Steps to reproduce
For example use something like this:
(pkgs.emacs30-nox.pkgs.emacsWithPackages (
epkgs: with epkgs; [
lsp-mode # will want lsp-docker among others
rustic # will want install rust-mode among others
]
))$ systemd-run --user --service-type=exec --collect --same-dir --property=PrivateNetwork=true --pty --wait --setenv=COLORTERM emacsExpected behaviour
Emacs finds all the packages in the system closure
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
❯ nix-shell -p nix-info --run "nix-info -m"
- system:
"x86_64-linux" - host os:
Linux 6.14.0-rc6, NixOS, 25.05 (Warbler), 25.05.20250310.77172a8 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.91.1 System type: x86_64-linux Additional system types: aarch64-linux, i686-linux, riscv64-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/tom/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/tom/.nix-profile/etc/xdg/nix/nix.conf:/home/tom/.local/state/nix/profile/etc/xdg/nix/nix.conf:/home/tom/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/tom/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/store/33mpkfx3c3071a858hnd0accknhhj346-gnome-settings-daemon-47.2/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/zm68nasdmai8qzgzlb55m10mrl93dzqd-lix-2.91.1/share - nixpkgs:
/etc/nix/inputs/nixpkgs
Notify maintainers
@AndersonTorres
@adisbladis
@jwiegley
@lovek323
@matthewbauer
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.