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

Florian Friesdorf flo at chaoflow.net
Fri Jan 20 15:16:21 CET 2012


On Fri, 20 Jan 2012 18:00:36 +0400, "Yury G.  Kudryashov" <urkud.urkud at gmail.com> wrote:
> Eelco Dolstra wrote:
> 
> > Hi,
> > 
> > On 20/01/12 07:01, Michael Raskin wrote:
> > 
> >>> Review the attached patch, please.
> >> 
> >> Looks like a strict improvement..
> > 
> > I disagree.  What useful information do most of these communicate?  E.g.
> > if a
> > mkdir succeeds, why do I have to be informed about it?  It's only
> > interesting if it fails.
> > 
> > Rob actually just suggested to make the unpackPhase less verbose, i.e.
> > drop the
> > "-v" flag in "tar" and "cp".  But maybe that should be optional.
> I prefer to see what happens during the build even if everything succeeds. 
> E.g., I don't like if a build script creates a directory behind the scenes 
> (i.e., without any output).

The compile itself is also rather noisy. Can we:
a) generate as much output as possible
b) catch the output and toggle it by category beyond stdout/stderr

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120120/748895ea/attachment.bin 


More information about the nix-dev mailing list