stewart mackenzie <[email protected]> writes:

> Surely one should be able to pass text files over this medium?

Right now it's not, see the nix documentation:

"If a path in the Nix search path starts with http:// or https://, it is
interpreted as the URL of a tarball that will be downloaded and unpacked
to a temporary location. The tarball must consist of a single top-level
directory."

Also note that NIX_PATH (which is used with -I) might not be appropriate
for your use case, as it's explicitly documented as a list of
directories.

Maybe you can just use a separate argument and use `builtins.readFile`,
`builtins.fetchurl` or similar?

Attachment: signature.asc
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to