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
__
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