diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix index 94ca0cdf0b6d..3b19adfa1719 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix @@ -69,7 +69,7 @@ self: let then null else super.project; # Compilation instructions for the Ada executables: - # https://www.nongnu.org/ada-mode/ada-mode.html#Ada-executables + # https://www.nongnu.org/ada-mode/ ada-mode = super.ada-mode.overrideAttrs (old: { # actually unpack source of ada-mode and wisi # which are both needed to compile the tools @@ -85,15 +85,18 @@ self: let nativeBuildInputs = [ buildPackages.gnat buildPackages.gprbuild - buildPackages.lzip + buildPackages.dos2unix + buildPackages.re2c ]; buildInputs = [ pkgs.gnatcoll-xref ]; - preInstall = '' + buildPhase = '' + runHook preBuild ./build.sh -j$NIX_BUILD_CORES + runHook postBuild ''; postInstall = (old.postInstall or "") + "\n" + ''