* Use stdenv.lib.

svn path=/nixpkgs/branches/syscall-tracing/; revision=29155
This commit is contained in:
Eelco Dolstra 2011-09-10 13:25:44 +00:00
parent 6787dddb04
commit f032df497e

View File

@ -2,8 +2,8 @@
a new stdenv with different behaviour, e.g. using a different C
compiler. */
{dietlibc, fetchurl, runCommand}:
{ dietlibc, fetchurl, runCommand }:
rec {
@ -363,7 +363,7 @@ rec {
traceSyscalls = stdenv: stdenv //
{ mkDerivation = args: pkgs.lib.overrideDerivation (stdenv.mkDerivation args)
{ mkDerivation = args: stdenv.lib.overrideDerivation (stdenv.mkDerivation args)
(args2: if args2 ? dontTrace then { } else {
realArgs = args2.args;
args = [ "-e" traceScript ];