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 gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial gnused graphviz bazaar
] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] ); ] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
preCheck = "patchShebangs ."; preCheck = ''
patchShebangs .
export LOGNAME=${LOGNAME:-foo}
'';
postInstall = '' postInstall = ''
mkdir -p $out/nix-support mkdir -p $out/nix-support
@ -138,8 +141,6 @@ in rec {
done done
''; # */ ''; # */
LOGNAME = "foo";
meta.description = "Build of Hydra on ${system}"; meta.description = "Build of Hydra on ${system}";
}); });