[Nix-dev] Making stdenv/setup.sh more verbose

Lluís Batlle i Rossell viric at viric.name
Fri Jan 20 15:10:09 CET 2012


On Fri, Jan 20, 2012 at 06:00:36PM +0400, Yury G.  Kudryashov wrote:
> Eelco Dolstra wrote:
> >>> +    mkdir -pv $out/bin
> >>> +    cp -v "$@" $out/bin
> > 
> > This actually made me wonder why we have an "installBin" function in
> > stdenv.  It doesn't appear to be used anywhere in Nixpkgs...
> Then we can remove this function.

It may be useful in writing short mkDerivations for those who have scripts in
nix expressions, instead of ~/bin or so.

I didn't know it, though.

And on -v or not -v... I don't have any strong opinion.


More information about the nix-dev mailing list