Don't mess with $LOGNAME in nix-shell

This commit is contained in:
Eelco Dolstra 2013-08-16 16:15:09 +02:00
parent a9c6f522e6
commit 056e2ce503

View file

@ -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}";
});