emacs.pkgs.agda2-mode: fix

This commit is contained in:
ajs124 2021-09-17 14:35:18 +02:00
parent fba54052cd
commit 3f7b8b9eac

View File

@ -4,18 +4,18 @@
trivialBuild rec {
pname = "agda-mode";
version = pkgs.haskellPackages.Agda.version;
version = haskellPackages.Agda.version;
dontUnpack = true;
# already byte-compiled by Agda builder
buildPhase = ''
agda=`${pkgs.haskellPackages.Agda}/bin/agda-mode locate`
agda=`${haskellPackages.Agda}/bin/agda-mode locate`
cp `dirname $agda`/*.el* .
'';
meta = {
inherit (pkgs.haskellPackages.Agda.meta) homepage license;
inherit (haskellPackages.Agda.meta) homepage license;
description = "Agda2-mode for Emacs extracted from Agda package";
longDescription = ''
Wrapper packages that liberates init.el from `agda-mode locate` magic.