Merge pull request #103913 from catern/copysrc
emacs: properly include source code when withCsrc is true
This commit is contained in:
commit
eee54dba79
@ -145,7 +145,7 @@ in stdenv.mkDerivation {
|
||||
rm -rf $siteVersionDir
|
||||
'' + lib.optionalString withCsrc ''
|
||||
for srcdir in src lisp lwlib ; do
|
||||
dstdir=$siteVersionDir/$srcdir
|
||||
dstdir=$out/share/emacs/$siteVersionDir/$srcdir
|
||||
mkdir -p $dstdir
|
||||
find $srcdir -name "*.[chm]" -exec cp {} $dstdir \;
|
||||
cp $srcdir/TAGS $dstdir
|
||||
|
@ -52,9 +52,6 @@ least specific (the system profile)"
|
||||
(file-name-directory load-file-name)))) ; .../emacs/site-lisp/
|
||||
(version
|
||||
(file-name-as-directory
|
||||
(concat
|
||||
(number-to-string emacs-major-version)
|
||||
"."
|
||||
(number-to-string emacs-minor-version))))
|
||||
emacs-version))
|
||||
(src (file-name-as-directory "src")))
|
||||
(setq find-function-C-source-directory (concat emacs version src)))
|
||||
|
Loading…
Reference in New Issue
Block a user