From 056e2ce5036911716836b4fa7b54c536f6848295 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 16 Aug 2013 16:15:09 +0200 Subject: [PATCH] Don't mess with $LOGNAME in nix-shell --- release.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/release.nix b/release.nix index 867290b2..81e63611 100644 --- a/release.nix +++ b/release.nix @@ -122,7 +122,10 @@ in rec { gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial gnused graphviz bazaar ] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] ); - preCheck = "patchShebangs ."; + preCheck = '' + patchShebangs . + export LOGNAME=${LOGNAME:-foo} + ''; postInstall = '' mkdir -p $out/nix-support @@ -138,8 +141,6 @@ in rec { done ''; # */ - LOGNAME = "foo"; - meta.description = "Build of Hydra on ${system}"; });