Re: [Nix-dev] R package name can't be used in variable substitution?

2015-05-20 Thread Vladimír Čunát
On 05/20/2015 08:39 PM, Jeffrey David Johnson wrote: > Is there a restriction that single uppercase letters can't be used as > variable names? Yes, the substituteAll function only takes names starting with lower case. Vladimir smime.p7s Description: S/MIME Cryptographic Signature __

[Nix-dev] R package name can't be used in variable substitution?

2015-05-20 Thread Jeffrey David Johnson
I put together an example package that generates a bash script: # default.nix with import {}; stdenv.mkDerivation { name = "varSubTest"; src = ./.; inherit R; rByAnotherName = R; builder = ./builder.sh; } # builder.sh #!/usr/bin/env bash source $stdenv/setup mkdir -p $out/bin substituteA