3
0
Fork 0
forked from mirrors/nixpkgs

melpaBuild: keep original source file names without hash

This commit is contained in:
Thomas Tuegel 2016-01-16 16:47:22 -06:00
parent b81c8b9013
commit 1724a07e2e

View file

@ -32,8 +32,11 @@ stdenv.mkDerivation ({
unpackCmd = ''
case "$curSrc" in
*.el)
cp $curSrc $pname.el
chmod +w $pname.el
# keep original source filename without the hash
local filename=$(basename "$curSrc")
filename="''${filename:33}"
cp $curSrc $filename
chmod +w $filename
sourceRoot="."
;;
*)