forked from lix-project/hydra
Don't mess with $LOGNAME in nix-shell
This commit is contained in:
parent
a9c6f522e6
commit
056e2ce503
|
@ -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}";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue