NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
11.52k stars 1.44k forks source link

{extra-,}experimental-features in flake nixConfig ignored #10727

Open shlevy opened 1 month ago

shlevy commented 1 month ago

Describe the bug

In a flake with nixConfig.extra-experimental-features = “fetch-closure”, builtins.fetchClosure still is not available. Evaluating the flake with the command line flag works.

nix-env --version output nix-env (Nix) 2.18.1

fricklerhandwerk commented 1 month ago

Triaged in Nix maintainers meeting:

nixos-discourse commented 1 month ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-05-22-nix-team-meeting-minutes-147/45835/1