Merge pull request #138279 from helsinki-systems/fix/agda2-mode
emacs.pkgs.*: fix to unblock channel
This commit is contained in:
commit
01643e3d36
6 changed files with 8 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, trivialBuild
|
||||
, fetchFromGitHub
|
||||
, emacs
|
||||
}:
|
||||
|
||||
trivialBuild rec {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
, trivialBuild
|
||||
, fetchFromGitHub
|
||||
, emacs
|
||||
, emacsPackages
|
||||
}:
|
||||
|
||||
trivialBuild rec {
|
||||
|
@ -20,7 +19,7 @@ trivialBuild rec {
|
|||
emacs
|
||||
] ++ propagatedUserEnvPkgs;
|
||||
|
||||
propagatedUserEnvPkgs = with emacsPackages; [
|
||||
propagatedUserEnvPkgs = with emacs.pkgs; [
|
||||
evil
|
||||
markdown-mode
|
||||
];
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, emacs
|
||||
, trivialBuild
|
||||
}:
|
||||
|
||||
trivialBuild {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, trivialBuild
|
||||
, emacs
|
||||
}:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, trivialBuild
|
||||
, emacs
|
||||
}:
|
||||
|
||||
|
|
Loading…
Reference in a new issue