I figure out, that if I use:
toString
result is persistant and resolves to a path given not to nix store content
in both cases.
2016-08-11 14:36 GMT+01:00 Tomasz Czyż :
> Hi,
>
> I wanted to use fetchgitPrivate, but instead of using agent, I thought I
> can pass
Hi,
I wanted to use fetchgitPrivate, but instead of using agent, I thought I
can pass ssh-key-path as nix path.
I'm using it like
{ ssh-key-path ? }:
{
...
ssh -i ${ssh-key-path}
...
}
I build with: ``nix-build my.nix -I ssh-key-path=/home/my/.ssh/key`` (key
group is changed to nixbld