Re: [Nix-dev] out is not an absolute path?

2016-01-20 Thread stewart mackenzie
Ah yes of course! Thank you Aszlig! ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] out is not an absolute path?

2016-01-20 Thread aszlig
On Thu, Jan 21, 2016 at 05:11:23AM +0800, stewart mackenzie wrote: > error: string ‘$out’ doesn't represent an absolute path You need to use something like basename "$out", because $out is a shell variable, not a Nix attribute or string interpolation (if it it would be, there still wouldn't be an

[Nix-dev] out is not an absolute path?

2016-01-20 Thread stewart mackenzie
I've got a small annoying problem: This code: https://github.com/sjmackenzie/fractalide/blob/master/build-support/component-lookup/default.nix#L12 generates this output: error: string ‘$out’ doesn't represent an absolute path, at /home/stewart/dev/fractalide/fractalide/build-support/component-l