Commit graph

302 commits

Author SHA1 Message Date
Vonfry
932ab304f0
emacsPackages.orgPackages: deprecated
org elpa is deprecated and moved into gnu elpa and nongnu elpa.

link: nix-community/emacs-overlay#191
2021-12-02 16:16:59 +08:00
Taeer Bar-Yam
dc79d3b0da emacsPackages: fix for missing passthru 2021-08-09 09:34:27 -04:00
adisbladis
24d0269574
emacs.pkgs.elpaPackages/nongnuPackages: Use custom elpa fetcher 2021-08-06 16:26:46 -05:00
adisbladis
9bd54f586e
emacs.pkgs: Propagate overriden scope to emacs package in set
This is the true fix for https://github.com/NixOS/nixpkgs/issues/130020.
2021-08-04 09:31:23 -05:00
sternenseemann
66f8529d91 emacsPackages.ada-mode: build tools needed at runtime
ada-mode includes extra binaries which are used by it at runtime. They
require gnat, gprbuild, gnatcoll-core and wisi's source checked out in
`../wisi-*`.
2021-08-03 14:58:49 +02:00
Vonfry
6acb016284
emacsPackages.nongnuPackages: init 2021-07-21 15:11:27 -05:00
Matthew Bauer
8bc10fbc56 Add gcc for emacs wrapper so native-comp works
On macos, we don’t have a gcc executable by default, which is required
for some reason when compiling site-start.
2021-06-23 23:02:11 -05:00
AndersonTorres
70a5cbc298 Rename emacs-modes to emacs/elisp-packages 2021-05-21 00:32:06 -03:00
adisbladis
ce30081651
emacs.pkgs.telega: Prefer telega from melpa stable
Telega uploads packages that are incompatible with stable tdlib
releases to melpa and ones that are compatible to melpa stable.

This makes the melpa packages very unreliable and we should prefer the
one from melpa stable.
2021-02-24 17:03:54 +01:00
adisbladis
1f18e81fd6
emacs-packages: Remove old FOR CONTRIBUTORS comment
It doesn't apply any more.
2021-02-24 15:46:08 +01:00
adisbladis
2b84cf6e18
emacs-packages: Make pkgs & lib overrideable
With these changes it's possible to override pkgs & lib by:
```
emacs.pkgs.override { pkgs = fooPkgs; }
```
and get them to coherently apply to all emacs packages.
2021-02-24 15:46:08 +01:00
adisbladis
c68c81fb01
emacsPackagesFor: Remove all pkgs inherits from call site 2021-02-24 15:40:58 +01:00
adisbladis
b673be8336
emacsPackagesFor: Internalise trivialBuild/melpaBuild
I want less strangeness that's not obviously overrideable.
2021-02-24 15:40:58 +01:00
adisbladis
9647372202
emacs.pkgs: Get rid of external from all-packages.nix
This was a strange construct that made these attrsets more difficult to work with.

It's simpler to just use pkgs.
2021-02-24 15:40:58 +01:00
Mauricio Collares
ca4db1bc79
emacs: add currently compiling package dirs to load-path
Co-authored-by: Tad Fisher <tadfisher@gmail.com>
2021-02-19 16:46:31 +01:00
adisbladis
6347f78fd9
emacsPackages*: Move to emacs*.pkgs
This makes it much easier to create customisations around emacs via
the a new convenience passthru attr:
- `emacs.pkgs`: What used to be emacsPackages is now `emacs.pkgs`

The previous versioned names `emacs*Packages` have been moved to
aliases.nix and are now considered deprecated in favour of `emacs*.pkgs`.
2021-01-13 17:04:55 +01:00
Pierre Allix
05fe6112c9 Fix small typo in a comment of emacs-packages 2020-12-22 12:56:57 +01:00
adisbladis
09f4fec63c
emacs-packages: Expose manually packaged packages through emacsPackages.manualPackages 2020-04-27 12:08:13 +01:00
Robert Helgesson
241e28e3d1
emacs: use runCommand to generate wrapper
This removes the unnecessary compiler build dependency. We also set

    preferLocalBuild = true;
    allowSubstitutes = false;

to not farm out the build on a remote builder or bother with trying to
find a binary substitution.
2019-09-18 22:32:19 +02:00
adisbladis
b6ccc1a6b0
emacs-packages: Make org packages overrideable 2019-08-18 11:10:06 +01:00
adisbladis
be74dec846
emacs-packages: Move manually created packages to it's own file
And let emacs-packages.nix only aggregate the attrsets
2019-08-07 18:04:23 +01:00
adisbladis
97a069609f
emacs-packages: Add overriding capability to emacsPackagesNg
This allows overriding the individual package sets composing
emacsPackagesNg.

Example:
```
myEmacsPackages = emacsPackagesNg.override {
  melpaPackages = {};
};
```
2019-08-07 18:04:22 +01:00
adisbladis
d490bcdf0f
emacs-packages.rtags: Inherit correct version 2019-08-07 18:04:22 +01:00
adisbladis
978b34622b
emacs-packages: Drop irony package
Use auto-generated melpa package
2019-08-07 18:04:22 +01:00
adisbladis
af70adbc89
emacs-packages: Drop elpy package
Use auto-generated melpa package
2019-08-07 18:04:22 +01:00
adisbladis
b00038c151
emacs-packages: Drop emacs-libvterm package
Use auto-generated melpa package
2019-08-07 18:04:22 +01:00
adisbladis
460e02a9c0
emacs-packages: Drop zmq package
Use generated melpa package instead
2019-08-07 18:04:21 +01:00
adisbladis
f7627be844
emacs-packages: Drop manually packaged pdf-tools
Use autogenerated package from melpa
2019-08-07 18:04:21 +01:00
adisbladis
48428ce6ec
emacs-packages: Drop shorten package
It's in the melpa generated package `circe`
2019-08-07 18:04:21 +01:00
adisbladis
7d1c5e84ca
emacs-packages: Drop redshank package
Use melpa generated package instead
2019-08-07 18:04:21 +01:00
adisbladis
1236d2d7f5
emacs-packages: Drop package lui
It's in the melpa generated package `circe`
2019-08-07 18:04:21 +01:00
adisbladis
6551f2aa5b
emacs-packages: Drop lcs package
It's in the melpa generated package `circe`
2019-08-07 18:04:21 +01:00
adisbladis
843eae6a51
emacs-packages: Drop emacsql-sqlite package
Use melpa generated package instead
2019-08-07 18:04:20 +01:00
adisbladis
334d3d90f6
emacsPackagesNg.evil-jumper: Drop package
It's now merged upstream in evil-mode
2019-08-07 18:04:20 +01:00
adisbladis
20ff3edcfa
emacs-packages: Drop stgit
Use autogenerated modules from melpa instead
2019-08-07 18:04:20 +01:00
adisbladis
1fc89fcad8
emacs-packages: Drop manually created nyan-mode derivation
Use autogenerated modules from melpa instead
2019-08-07 18:04:20 +01:00
adisbladis
6742c9976a
emacs-packages: Move shm
Use autogenerated modules from melpa instead
2019-08-07 18:04:20 +01:00
adisbladis
b88c30579a
emacs-packages.nix: Fix indent 2019-08-07 18:04:20 +01:00
adisbladis
47d3b98b4b
melpa-packages: Add ability to ovveride melpa JSON archive location
This enables using the melpa json generator in an overlay
2019-08-07 18:04:19 +01:00
Herwig Hochleitner
d65f1b20c3
emacs-modes: replace melpa-generated with json format
This approach has several differences with emacs2nix:

- the updater uses a downloaded recipes.json and archive.json for commit information, it uses a local checkout only for hashing the recipes
- the generated file is JSON
- the updater is written in emacs lisp
- prefetch errors are put into an error key in the JSON, for review + meta.broken attributes are generated from it

The updater re-uses the existing generated file to memoize prefetched content-sha256s for commits, thus prefetching should normally be quite fast.
2019-08-02 09:15:47 +01:00
Matthew Bauer
3b8e595810 zmq: add enableDrafts option
This is needed by emacs-zmq, and will be used by it.
2019-07-24 16:12:40 -04:00
Matthew Bauer
6399cdbe9c
Merge pull request #64612 from NixOS/add-emacs-zmq
emacs: add zmq package
2019-07-17 17:12:41 -04:00
Matthew Bauer
7fc87a4cbd emacs: add zmq package
This builds emacs-zmq.so automatically.

Fixes #59774
2019-07-10 22:13:26 -04:00
Frederik Rietdijk
25a77b7210 Merge staging-next into staging 2019-07-03 08:59:42 +02:00
Matthew Bauer
e7572af2ec emacs-irony: Remove server directory
This contains the build files and is not needed for irony-server.
Previously, the wrong directory was removed, adding elpa/ gets thje
correct one.
2019-07-01 13:37:22 -04:00
worldofpeace
cab7c6cbd9 treewide: use dontConfigure 2019-07-01 04:23:51 -04:00
Matthew Bauer
38f426787f emacsPackages.irony: add clang for Linux builds
libclang is needed as a library here. Adding it to fix building on
Linux. This worked on macOS because clang is already provided.
2019-06-19 13:27:08 -04:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer
72e67bd6ba emacs-irony: prebuild irony-server executable
This has melpaBuild compile the irony-server executable automatically.
This means each user of the irony executable doesn’t have to wait for
it to compile on each new use. This depends on this PR to work
correctly:

https://github.com/Sarcasm/irony-mode/pull/537
2019-06-10 22:39:27 -04:00
Matthew Bauer
62e61b9e4b emacsqlite: strip binary
Had gcc in closure which is not wanted. Use stripDebugList to make it
strip in share/.
2019-05-30 22:32:27 -04:00