Re:Spectrum OS: a declarative, reproducible, compartmentaliz...
by iammisc on Wednesday September 15, 2021 @12:01AM
(#28535127)
Nix needs a shell language integrated into nix. Nix should be usable as an os shell. That would make complex scripting so much easier than the weird passasfile bizarreness
[ Parent
| on HN ]
Re:Spectrum OS: a declarative, reproducible, compartmentaliz...
by rgoulter on Wednesday September 15, 2021 @03:56AM
(#28536468)
What's the "weird passasfile bizarreness"?
Re:Spectrum OS: a declarative, reproducible, compartmentaliz...
by mikepurvis on Wednesday September 15, 2021 @02:28PM
(#28542569)
Per https://nixos.org/manual/nix/stable/#sec-advanced-attributes:
> passAsFile: A list of names of attributes that should be passed via files rather than environment variables.
Looks like it's basically just a hack for envvars that do/might exceed whatever bash's internal limits are for them.