Merge pull request #106547 from alyssais/siteVersionDir

emacs: fix siteVersionDir path
This commit is contained in:
adisbladis 2020-12-11 00:19:21 +01:00 committed by GitHub
commit a9fe36cd0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -141,8 +141,7 @@ in stdenv.mkDerivation {
siteVersionDir=`ls $out/share/emacs | grep -v site-lisp | head -n 1`
rm -rf $out/var
rm -rf $siteVersionDir
rm -r $out/share/emacs/$siteVersionDir/site-lisp
'' + lib.optionalString withCsrc ''
for srcdir in src lisp lwlib ; do
dstdir=$out/share/emacs/$siteVersionDir/$srcdir