Browse Source

melpaBuild: keep original source file names without hash

nixos-19.03
Thomas Tuegel 7 years ago
parent
commit
1724a07e2e
  1. 7
      pkgs/build-support/emacs/generic.nix

7
pkgs/build-support/emacs/generic.nix

@ -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="."
;;
*)

Loading…
Cancel
Save