Commit Graph

288 Commits

Author SHA1 Message Date
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
Jethro Kuan
3791c991bf emacsPackages.emacsql-sqlite: build sqlite binary 2019-01-13 16:32:21 +08:00
Jethro Kuan
5da2848c1d emacsPackages.pdf-tools: 0.80 -> 0.90 2019-01-08 21:25:50 +08:00
adisbladis
9acc5d9b45
emacs-packages: Drop custom weechat package
It's several years out of date and we can instead rely on
autogenerated packages
2019-01-02 11:42:01 +00:00
Periklis Tsirakidis
136fb311c7 elpy: fix build dep 2018-09-09 17:14:59 +02:00
Periklis Tsirakidis
1b4f19ca73 Remove outdated external package emacs-find-file-in-project 2018-09-08 13:29:48 +02:00
Thomas Tuegel
4f5837668b
hindent: build Emacs package with latest Melpa recipe
The hindent Emacs package is built with the latest Melpa recipe, but the same
source version as in haskellPackages.
2018-07-26 15:36:43 -05:00
Jörg Thalheim
218298b30f
Merge branch 'master' into unused5 2018-07-21 15:41:22 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
dda95bae35 [bot] treewide: remove unused 'args@' in lambdas 2018-07-20 19:54:05 +00:00
Thomas Tuegel
a5f026f778
emacsPackagesNg.magit: find Git during build 2018-07-16 12:29:10 -05:00
Thomas Tuegel
d3cea48608
emacsPackagesNg: 2018-07-15 update
All package sets are simultaneously updated to accommodate changes to
package-build. Due to new restrictions in package-build, all packages using
`melpaBuild` must now provide a recipe file, even those packages which are not
included in upstream MELPA.
2018-07-15 20:52:41 -05:00
Philipp Middendorf
a81fea3224 pdf-tools: 0.80 -> HEAD
To fix #41916, this commit upgrades the emacs package “pdf-tools” to
the HEAD revision, since there’s no official release containing the fix.
2018-06-17 21:54:37 +02:00
adisbladis
149a0dc1ff
emacsPackages.emacs-libvterm: init at unstable-2017-11-24 2018-05-16 14:02:49 +08:00
Thomas Tuegel
1d3f24be2b
emacsPackagesNg: lower priority of elpaPackages
Lowering the priority of melpaStablePackages (#36423) leaves elpaPackages ahead
of melpaPackages; the former carries outdated dependencies which should be
overridden by melpaPackages.

See also: #36423
2018-03-25 07:56:15 -05:00