about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/linphone
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-28 16:36:09 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-28 16:36:09 +0100
commitcf8daf63120adedbeaf5bc8c2f396be2496a741e (patch)
tree74930a51b68976b616f8c7a7a9c1c07e191ed39c /pkgs/applications/networking/instant-messengers/linphone
parent6fd4f635300303906fd4b068b196b8e1310b9e6d (diff)
Add an option ‘stdenv.userHook’ to set a global stdenv setup hook
This allows various applications.  It allows users to set global
optimisation flags, e.g.

  stdenv.userHook = ''NIX_CFLAGS_COMPILE+=" -funroll-loops"'';

But the impetus is as an alternative to issue #229, allowing impure
stdenv setup for people who want to use distcc:

  stdenv.userHook = "source /my/impure/setup-script.sh";

This is probably a bad idea, but at least now it's a bad idea in
people's configuration and not in Nixpkgs. :-)
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/linphone')
0 files changed, 0 insertions, 0 deletions