-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Describe the bug
As title says, when a nixos configuration is defined through a flake if nixpkgs.config.permittedInsecurePackages is specified in multiple files the values will not be merged, only the first will be used.
Steps To Reproduce
Steps to reproduce the behavior:
- Create a flake with a nixos configuration
- Include two modules which both define a value for
permittedInsecurePackages - Check that only the first one is applied
I made an example repo with a minimal flake to reproduce.
Expected behavior
If this is intended behavior a warning should be printed, otherwise the values in all files should be merged.
Screenshots
Metadata
- system:
"x86_64-linux" - host os:
Linux 6.6.54, NixOS, 24.05 (Uakari), 24.05.20241007.1bfbbbe - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.91.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/husky/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/husky/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/husky/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/husky/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/jwpaz9v4rbifn6ydy0d8ka1rkid1yibc-gnome-settings-daemon-46.0/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/lyh0wy4mxmblg3s2isf180qx3wx64mz1-lix-2.91.0/share - channels(root):
"nixos-23.05, nixos-unstable" - nixpkgs:
/nix/store/a2gnsay8asfn2kqghz12nhw196cnmf8h-source
Notify maintainers
@NixOS/stdenv
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
