[Nix-dev] eval or in-place expression execution
Eelco Dolstra
eelco.dolstra at logicblox.com
Tue Jul 15 10:24:02 CEST 2014
Hi,
On 11/07/14 10:11, Sergey Mironov wrote:
> I agree, design is questionable, bu I keep automatic tests together
> with system being developed. Tests should know the original password
> so I store it as plain Nix string. But my main question relates to the
> fact that `import' can read the calculated path from /nix/store and
> `builtins.readFile' can not. Is it a bug or a feature?
"Import from derivation" is a somewhat questionable feature. But for
consistency, readFile should also support this.
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list