mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
melpaBuild: keep original source file names without hash
This commit is contained in:
parent
b81c8b9013
commit
1724a07e2e
@ -32,8 +32,11 @@ stdenv.mkDerivation ({
|
|||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
case "$curSrc" in
|
case "$curSrc" in
|
||||||
*.el)
|
*.el)
|
||||||
cp $curSrc $pname.el
|
# keep original source filename without the hash
|
||||||
chmod +w $pname.el
|
local filename=$(basename "$curSrc")
|
||||||
|
filename="''${filename:33}"
|
||||||
|
cp $curSrc $filename
|
||||||
|
chmod +w $filename
|
||||||
sourceRoot="."
|
sourceRoot="."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user