elpa-packages: deprecate phases

launchpad/nixpkgs/master
Felix Buehler 3 years ago
parent a64e6a253b
commit 829ed287f0
  1. 2
      pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
  2. 2
      pkgs/build-support/emacs/elpa.nix

@ -66,7 +66,7 @@ self: let
# actually unpack source of ada-mode and wisi # actually unpack source of ada-mode and wisi
# which are both needed to compile the tools # which are both needed to compile the tools
# we need at runtime # we need at runtime
phases = "unpackPhase " + old.phases; # not a list, interestingly… dontUnpack = false;
srcs = [ srcs = [
super.ada-mode.src super.ada-mode.src
# ada-mode needs a specific version of wisi, check NEWS or ada-mode's # ada-mode needs a specific version of wisi, check NEWS or ada-mode's

@ -21,7 +21,7 @@ in
import ./generic.nix { inherit lib stdenv emacs texinfo writeText gcc; } ({ import ./generic.nix { inherit lib stdenv emacs texinfo writeText gcc; } ({
phases = "installPhase fixupPhase distPhase"; dontUnpack = true;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

Loading…
Cancel
Save