You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maybe a duplicate of #425 but how to add several lines to nix.conf ?
I would like a better example in README/builtin help: I tried sh ./nix-rust-installer.sh install --extra-conf "experimental-features = nix-command flakes" --extra-conf "extra-substituters = XXX"
but it fails.
I've tried sh ./nix-rust-installer.sh install --extra-conf 'experimental-features = nix-command flakes\nextra-substituters = XXX' but only 'experimental-features = nix-command flakes' got written to /etc/nix/nix.conf, the line after\n` got ignored.
Supporting several --extra-conf would be cleaner + be closer to nix --extra-XXX flags
The text was updated successfully, but these errors were encountered:
My suspicion is that this is a bug in the nix-config-parser we've been developing. We already set --extra-conf "experimental-features = nix-command flakes" so it's possible the parser is somehow dropping part of the input in it's deduplication process. Could you try not passing that and just passing the extra-substitutors one?
@cole-h maybe this is something you'd be interested in looking at?
maybe a duplicate of #425 but how to add several lines to nix.conf ?
I would like a better example in README/builtin help: I tried
sh ./nix-rust-installer.sh install --extra-conf "experimental-features = nix-command flakes" --extra-conf "extra-substituters = XXX"
but it fails.
I've tried
sh ./nix-rust-installer.sh install --extra-conf 'experimental-features = nix-command flakes\nextra-substituters = XXX' but only 'experimental-features = nix-command flakes' got written to /etc/nix/nix.conf, the line after
\n` got ignored.Supporting several --extra-conf would be cleaner + be closer to nix
--extra-XXX
flagsThe text was updated successfully, but these errors were encountered: