NixOS / nix

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

`warning: unknown setting 'allowed-uris'` despite it being a known setting #2480

Open grahamc opened 6 years ago

grahamc commented 6 years ago

When I add allowed-uris to my nix.conf as documented in https://nixos.org/nix/manual/#conf-allowed-uris, some tools emit this warning but not all tools.

does emit the warning:

does not emit the warning:

reported on IRC

edolstra commented 6 years ago

This happens because this setting is defined in libexpr.so which nix-store and nix-channel don't link against.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

stale[bot] commented 2 years ago

I closed this issue due to inactivity. → More info

simonzkl commented 10 months ago

This is still an issue: warning: unknown setting 'ssl-cert-file'.

I don't think I've seen it in the new CLI, but nix-direnv always triggers this, probably through nix-store.

Edit: Turns out I got hit by this: https://github.com/NixOS/nixpkgs/issues/270741