derivation { inherit foo-bar; buildPhase = '' use $foo-bar... ''; }
Apart ${foo-bar}. On Fri, Oct 10, 2014 at 11:18 PM, Bjørn Forsman <bjorn.fors...@gmail.com> wrote: > On 10 October 2014 22:56, Luca Bruno <lethalma...@gmail.com> wrote: > > Dash in package names are cool, because they map to the real package > name. > > However I just found a breaker: bash does not support variables with > dash. > > $foo-bar or ${foo-bar} or whatever does not work. > > I don't understand. Why/when do we need bash variable _identifiers_ > named like packages (with dashes)? And what values would those > "package name variables" contain? > > Best regards, > Bjørn Forsman > -- www.debian.org - The Universal Operating System
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev