[Nix-dev] Using string as path to eg. builtins.readFile

Bas van Dijk v.dijk.bas at gmail.com
Tue Jun 21 01:39:27 CEST 2016


On 19 June 2016 at 15:58, 4levels <4levels at gmail.com> wrote:
> builtins.readFile "./keys/${name}"

Hi Erik, try this:

  builtins.readFile (./keys + "/${name}")


More information about the nix-dev mailing list