Lin Jian
42e92b1d77
emacsPackages.session-management-for-emacs: mkDerivation -> melpaBuild
2024-08-18 00:34:31 +08:00
Kira Bruneau
3637306b00
Merge pull request #335256 from r-ryantm/auto-update/emacsPackages.lsp-bridge
...
emacsPackages.lsp-bridge: 0-unstable-2024-08-06 -> 0-unstable-2024-08-12
2024-08-17 12:23:09 -04:00
R. Ryantm
01064da11b
emacsPackages.lsp-bridge: 0-unstable-2024-08-06 -> 0-unstable-2024-08-12
2024-08-16 22:04:33 +00:00
R. Ryantm
b20aec69df
emacsPackages.ligo-mode: 1.7.0-unstable-2024-08-01 -> 1.7.0-unstable-2024-08-14
2024-08-16 09:20:10 +00:00
github-actions[bot]
78b5f97cfb
Merge staging-next into staging
2024-08-16 00:02:47 +00:00
Lin Jian
966a8fcd03
emacsPackages.pdf-tools: respect old nativeBuildInputs
2024-08-16 06:53:52 +08:00
Lin Jian
5be4ecc1c4
emacs: make melpaBuild accept recipe content as a string
...
This is the first part of https://github.com/NixOS/nixpkgs/issues/334888 .
2024-08-16 04:39:35 +08:00
Lin Jian
4d80793850
Merge pull request #330589 from linj-fork/pr/emacs-builder-finaAttrs
...
emacs: teach elisp builders the finalAttrs pattern
2024-08-15 21:40:02 +08:00
github-actions[bot]
78a583fbf0
Merge staging-next into staging
2024-08-15 06:01:41 +00:00
Lin Jian
997df6b9aa
emacs: replace cd with pushd/popd in buildPhase of melpaBuild
...
It is better to not change the working directory.
One example showing the benefit is the rewriting[1] of lspce, where
the Rust build hook assumes the working directory is unchanged.
[1]: https://github.com/NixOS/nixpkgs/pull/334476
2024-08-15 02:42:33 +08:00
Lin Jian
9f592a2829
emacsPackages.osx-dictionary: remove unneeded dontUnpack
...
The default value is false.
2024-08-15 02:42:24 +08:00
Lin Jian
edce18da93
emacs.pkgs.libgit: remove fix because it has been removed from MELPA
...
9babd723f5
2024-08-15 02:42:17 +08:00
Lin Jian
385a514613
emacsPackages.notdeft: --replace -> --replace-fail
...
--replace of substituteInPlace is deprecated.
2024-08-15 00:47:56 +08:00
Lin Jian
6d0653579f
emacsPackages.notdeft: make the native binary overridable
...
Without this patch, users cannot override the source of the native
binary notdeft-xapian. This patch fixes that issue by rewriting
notdeft as a single derivation.
2024-08-15 00:44:54 +08:00
Martin Weinelt
0906206d42
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/top-level/python-packages.nix
2024-08-13 13:21:03 +02:00
adisbladis
454dc53473
Merge pull request #333235 from kilesduli/fix-emacs-ccache
...
emacs: fix missing ccache libary path
2024-08-13 21:07:08 +12:00
github-actions[bot]
0a1ac11214
Merge master into staging-next
2024-08-13 00:02:23 +00:00
Lin Jian
ed6b94f94c
Merge pull request #333433 from r-ryantm/auto-update/emacsPackages.ligo-mode
...
emacsPackages.ligo-mode: 1.7.1-unstable-2024-07-17 -> 1.7.0-unstable-2024-08-01
2024-08-13 07:40:58 +08:00
Lin Jian
aea7d0b73a
emacsPackages.ligo-mode: mark as broken on darwin
...
Source hash on darwin is different from that on linux.
2024-08-13 06:33:41 +08:00
R. Ryantm
02726a69c9
emacsPackages.consult-gh: 1.0-unstable-2024-08-02 -> 1.0-unstable-2024-08-11
2024-08-12 12:11:54 +00:00
Lin Jian
eddf581cf0
emacsPackages.ligo-mode: add AndersonTorres as a maintainer
2024-08-12 01:52:16 +08:00
github-actions[bot]
45080a9559
Merge master into staging-next
2024-08-10 18:01:08 +00:00
R. Ryantm
cde479b70d
emacsPackages.lsp-bridge: 0-unstable-2024-07-27 -> 0-unstable-2024-08-06
2024-08-10 05:51:49 +00:00
R. Ryantm
f0c65051a7
emacsPackages.ligo-mode: 1.7.1-unstable-2024-07-17 -> 1.7.0-unstable-2024-08-01
2024-08-09 12:07:29 +00:00
duli
9438548689
emacs: fix missing ccache libary path
...
If we only override stdenv with ccacheStdenv, we will miss libgcc.
However, both stdenv and ccacheStdenv can find libgcc in cc.cc.lib.
related issue: #303625
2024-08-08 22:25:47 +08:00
Vladimír Čunát
d4720e9c1e
Merge branch 'staging-next' into staging
...
There was a nontrivial conflict in pkgs/stdenv/linux/bootstrap-tools*
(reorganizing code vs. modifying it) I hope I really got it right.
2024-08-05 11:05:55 +02:00
adisbladis
1c357be1ea
Merge pull request #332218 from r-ryantm/auto-update/emacsPackages.font-lock-plus
...
emacsPackages.font-lock-plus: 208-unstable-2018-01-01 -> 208-unstable-2022-04-02
2024-08-05 15:51:47 +12:00
adisbladis
a66b2db0c5
Merge pull request #332344 from r-ryantm/auto-update/emacsPackages.consult-gh
...
emacsPackages.consult-gh: 0.12-unstable-2024-04-23 -> 1.0-unstable-2024-08-02
2024-08-05 15:51:33 +12:00
adisbladis
f09c58130b
Merge pull request #332216 from r-ryantm/auto-update/emacsPackages.voicemacs
...
emacsPackages.voicemacs: 0-unstable-2022-02-16 -> 0-unstable-2024-01-03
2024-08-05 15:49:59 +12:00
Lin Jian
bdd7734141
emacs: inherit files in melpaBuild to make nixf-tidy CI happy
2024-08-05 08:12:43 +08:00
Lin Jian
e64ccec7e7
emacs: make elpa2nix of elpaBuild consistent with melpaBuild
2024-08-05 08:12:43 +08:00
Lin Jian
5805cf21a8
emacs: remove unused parameters to make nixf-tidy-review bot happy
2024-08-05 08:12:43 +08:00
Lin Jian
5248f6f8ef
emacs: stop vendoring PR #234651
...
Previously, we vendor PR #234651 because we want to keep the old
behavior of filtering out packageRequires from the arguments we pass
to the underling stdenv.mkDerivation. Doing so raises the concern
about the complexity of PR #234651 .
Considering that passing packageRequires to stdenv.mkDerivation also
works well, we stop filtering it out and stop vendoring PR #234651 .
Now, this PR only uses the existing interface of stdenv.mkDerivation.
Even though the name of the build helper is still extendMkDerivation',
it is nothing new and has been used in Nixpkgs, such as
php.buildComposerProject[1].
[1]: f3834de378/pkgs/build-support/php/builders/v1/build-composer-project.nix (L108)
2024-08-05 08:12:39 +08:00
Lin Jian
37df73d3d8
emacs: teach elisp builders the finalAttrs pattern
...
This commit causes 0 rebuilds.
The performance overhead of eval time is as follows:
| package set | before | after | changed |
|--------------------------|--------|-------|---------|
| emacs.pkgs.elpaPackages | 1.925 | 1.935 | +0.35% |
| emacs.pkgs.melpaPackages | 8.312 | 8.558 | +3.0% |
The commands used here are
nix nixpkgs#hyperfine -- --warmup 2 --runs 10 'NIXPKGS_ALLOW_BROKEN=1 nix eval --include nixpkgs=$PWD --file . emacs.pkgs.melpaPackages --apply \'pkgSet: map (drv: drv.drvPath) (builtins.filter (p: p.type or null == "derivation") (builtins.attrValues pkgSet))\' --no-eval-cache >/dev/null'
nix nixpkgs#hyperfine -- --warmup 10 --runs 30 'NIXPKGS_ALLOW_BROKEN=1 nix eval --include nixpkgs=$PWD --file . emacs.pkgs.elpaPackages --apply \'pkgSet: map (drv: drv.drvPath) (builtins.filter (p: p.type or null == "derivation") (builtins.attrValues pkgSet))\' --no-eval-cache >/dev/null'
2024-08-05 08:05:45 +08:00
Lin Jian
84c2e0096d
emacs: stop generating autoload file for trivialBuild
...
When Emacs starts, package-activate-all finds autoload files and
loads them. However, the autoload file generated by trivialBuild is
never picked up by package-activate-all. In other words, this feature
never works. So let's remove it.
2024-08-05 07:59:56 +08:00
Lin Jian
cdf4aef5e2
emacs: handle propagatedBuildInputs correctly for genericBuild
...
Without this patch, if there is propagatedBuildInputs in the arguments
of genericBuild, it will override the value set by genericBuild. With
this patch applied, the argument and the value set by genericBuild are
merged instead.
2024-08-05 07:59:39 +08:00
Lin Jian
675dcef30a
emacs: remove redundant doCheck from genericBuild
...
The default value of doCheck is false.
2024-08-05 07:54:03 +08:00
Lin Jian
3b82c96f7e
emacs: fix name when pname is overridden
...
Before
nix-repl> (emacs.pkgs.magit.overrideAttrs (old: { pname = old.pname + "-patched"; })).name
"emacs-magit-20240522.204"
After
nix-repl> (emacs.pkgs.magit.overrideAttrs (old: { pname = old.pname + "-patched"; })).name
"emacs-magit-patched-20240522.204"
2024-08-05 07:53:54 +08:00
R. Ryantm
0475b29ace
emacsPackages.consult-gh: 0.12-unstable-2024-04-23 -> 1.0-unstable-2024-08-02
2024-08-04 22:10:42 +00:00
R. Ryantm
1556ff12b6
emacsPackages.font-lock-plus: 208-unstable-2018-01-01 -> 208-unstable-2022-04-02
2024-08-04 11:08:09 +00:00
R. Ryantm
51f7dd585c
emacsPackages.voicemacs: 0-unstable-2022-02-16 -> 0-unstable-2024-01-03
2024-08-04 11:04:43 +00:00
Lin Jian
c8eb14a6e7
Merge pull request #332079 from bbigras/copilot_el_aarch64
...
emacsPackages.copilot: add aarch64-linux to copilot.el
2024-08-04 06:33:36 +08:00
Bruno Bigras
bcbd1535e7
emacsPackages.copilot: add aarch64-linux to copilot.el
2024-08-03 17:24:13 -04:00
Lin Jian
23417302b9
emacs: bump emacs2nix to fix generating duplicated entries
...
Closes https://github.com/NixOS/nixpkgs/issues/119586
2024-08-03 01:14:16 +08:00
R. Ryantm
ebbc481ff5
emacsPackages.lspce: 1.1.0-unstable-2024-07-14 -> 1.1.0-unstable-2024-07-29
2024-08-01 10:10:35 +00:00
Lin Jian
6b3965ed80
emacs: move emacs and texinfo to nativeBuildInputs in genericBuild
2024-08-01 13:29:09 +08:00
Lin Jian
c7ce9ed473
emacs: remove unneeded code from genericBuild
...
I test this patch on x86_64-linux and aarch64-darwin systems. This
patch makes elisp-ffi and rime fail to build, which is their own
packaging issue and should be fixed on the their side. Build failure
of rime is only on darwin and the fix is easy.
The removed line was added[1] to fix a build failure on macos. So I
also test emacs.pkgs.withPackages on that system and it works well.
[1]: 8bc10fbc56
2024-08-01 13:29:09 +08:00
Lin Jian
2f62682564
emacs: remove one unneeded line from genericBuild
...
I test this patch on x86_64-linux and aarch64-darwin systems. This
patch does not cause package build failure.
e890823467
2024-08-01 13:28:58 +08:00
Lin Jian
18d131170b
emacs.pkgs.nongnuDevelPackages: init
2024-07-30 19:15:25 +08:00
Lin Jian
0315139cac
emacs: format generated code for elisp packages
2024-07-30 17:54:20 +08:00
Lin Jian
bb4d6cad3e
emacs: do formatting in the elisp update scripts
2024-07-30 17:54:20 +08:00
Lin Jian
38f4cf05ff
Merge pull request #331025 from linj-fork/pr/bump-emacs2nix
...
emacs2nix: bump
2024-07-30 16:22:16 +08:00
adisbladis
68eced7549
Merge pull request #331028 from r-ryantm/auto-update/emacsPackages.lsp-bridge
...
emacsPackages.lsp-bridge: 0-unstable-2024-07-14 -> 0-unstable-2024-07-27
2024-07-30 20:19:36 +12:00
R. Ryantm
e0f5880039
emacsPackages.lsp-bridge: 0-unstable-2024-07-14 -> 0-unstable-2024-07-27
2024-07-30 07:08:37 +00:00
Lin Jian
e161375bd5
emacs2nix: bump
...
This bump includes two[1] fixes[2].
[1]: 051cbe2724
[2]: 7d5bf92ac8
2024-07-30 14:55:09 +08:00
Lin Jian
662fc85dd9
Merge pull request #330993 from adisbladis/melpa-libgenerated-fetchers
...
emacs.pkgs.melpaPackages: Refactor internal melpaDerivation fetcher invocation
2024-07-30 12:42:48 +08:00
adisbladis
a2e8968589
Merge pull request #330763 from linj-fork/pr/move-elpaBuild
...
emacs: move elpaBuild together with other builders
2024-07-30 15:41:06 +12:00
adisbladis
d70672d92b
emacs.pkgs.melpaPackages: Use regex match to extract owner/repo from repo parameter
...
This should be a little bit more efficient, but also more readable.
2024-07-30 15:21:21 +12:00
adisbladis
6d1296e86e
emacs.pkgs.melpaPackages: Refactor internal melpaDerivation fetcher invocation
...
The previous behaviour resulted in the fetchers being recreated for every call to melpaDerivation, now we amortize that.
The performance impact is tiny but I think this is much more readable.
2024-07-30 15:21:21 +12:00
Andrey Kuznetsov
a93f967a09
emacsPackages.copilot: add aarch64-darwin to copilot.el
2024-07-29 23:32:28 +03:00
Lin Jian
dfac396c77
emacs: move elpaBuild together with other builders
2024-07-29 11:59:19 +08:00
Jörg Thalheim
5356420466
treewide: remove unused with statements from maintainer lists
...
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
-e 's!with lib.maintainers; \[ *\];![ ];!' \
-e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Anderson Torres
66d049701d
emacsPackages.idris2-mode: add AndersonTorres as maintainer
...
wuyoli's latest commit is at least one year old.
2024-07-28 14:13:31 -03:00
Anderson Torres
2014517409
emacsPackages.idris2-mode: get rid of rec
2024-07-28 14:13:31 -03:00
Anderson Torres
1c9f2a0404
emacsPackages.idris2-mode: updateScript
2024-07-28 13:34:02 -03:00
Lin Jian
4e31f2bd28
Merge pull request #330632 from linj-fork/pr/emacs-auto-manaulPackages
...
emacs: simplify manualPackages with packagesFromDirectoryRecursive
2024-07-28 23:38:54 +08:00
Lin Jian
6badbad9f0
Merge pull request #329008 from atorres1985-contrib/emacs-lisp
...
emacs updater: trivialBuild -> melpaBuild
2024-07-28 21:26:51 +08:00
Anderson Torres
23e718e21e
emacs updater: add emacs.async dependency in promise
2024-07-28 09:59:19 -03:00
Anderson Torres
2901fae0e4
emacs updater: trivialBuild -> melpaBuild
2024-07-28 09:59:19 -03:00
Lin Jian
429bbdb5ac
emacs: simplify manualPackages with packagesFromDirectoryRecursive
2024-07-28 20:36:07 +08:00
Vladimír Čunát
a5b2fe7374
Merge #328673 : staging-next 2024-07-20
2024-07-28 13:45:55 +02:00
Lin Jian
794f0392cd
Merge pull request #329237 from atorres1985-contrib/emacspackages-codeium
...
emacsPackages.codeium: rework
2024-07-28 16:52:34 +08:00
github-actions[bot]
384d08d20d
Merge master into staging-next
2024-07-28 06:01:00 +00:00
Anderson Torres
8475e10276
emacsPackages.icicles: init at 0-unstable-2023-07-27
2024-07-27 14:48:58 -03:00
Vladimír Čunát
adb4258ce2
emacs: add zlib dependency
...
libxml2 no longer propagates it, so some emacs variants are now
missing it (-nox, -macports). Example log:
https://hydra.nixos.org/build/267222140/nixlog/2/tail
2024-07-27 10:11:00 +02:00
Anderson Torres
e74f8c427e
emacsPackages.codeium: rework
...
- set codeium explicitly instead of relying on pkgs
- rename patch to a more descriptive <num>-<description>.patch format
- use lib.getExe' instead of hardcoding the binary path
- updateScript
2024-07-26 17:16:25 -03:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Aleksana
84a53ad8e2
Merge pull request #328741 from Sigmanificient/remove-unused-arguments-pkgs-app
...
pkgs/applications: remove unused arguments
2024-07-26 22:05:49 +08:00
Sigmanificient
2ee703dccb
pkgs/applications: remove unused arguments
2024-07-26 11:36:49 +02:00
K900
1410c766c8
Merge remote-tracking branch 'origin/master' into staging-next
2024-07-26 08:41:08 +03:00
Lin Jian
ba39fa11de
Merge pull request #329769 from r-ryantm/auto-update/emacsPackages.git-undo
...
emacsPackages.git-undo: 0-unstable-2019-12-21 -> 0-unstable-2022-08-07
2024-07-26 11:18:32 +08:00
Lin Jian
443648fe92
Merge pull request #329660 from r-ryantm/auto-update/emacsPackages.isearch-plus
...
emacsPackages.isearch-plus: 3434-unstable-2021-08-23 -> 3434-unstable-2023-09-27
2024-07-26 11:14:40 +08:00
R. Ryantm
8116333257
emacsPackages.el-easydraw: 1.2.0-unstable-2024-07-01 -> 1.2.0-unstable-2024-07-24
2024-07-25 17:48:54 +00:00
github-actions[bot]
12ea252962
Merge master into staging-next
2024-07-25 06:01:22 +00:00
Anderson Torres
8aa86c4650
emacsPackages.color-theme-solarized: remove color-theme dependency
2024-07-25 00:30:05 -03:00
R. Ryantm
ed8cd7826d
emacsPackages.git-undo: 0-unstable-2019-12-21 -> 0-unstable-2022-08-07
2024-07-25 00:51:36 +00:00
github-actions[bot]
7208220b63
Merge master into staging-next
2024-07-24 18:01:18 +00:00
Lin Jian
1855c9961e
Merge pull request #329005 from atorres1985-contrib/elisp-updatescript
...
emacsPackages: add updateScript's
2024-07-25 00:32:14 +08:00
Anderson Torres
56fd5c06a6
emacsPackages.notdeft: implement passthru.updateScript
2024-07-24 13:26:06 -03:00
Anderson Torres
d2c8847331
emacsPackages.emacs-conflict: implement passthru.updateScript
2024-07-24 13:26:06 -03:00
Lin Jian
9936c3abbd
Merge pull request #329668 from r-ryantm/auto-update/emacsPackages.isearch-prop
...
emacsPackages.isearch-prop: 0-unstable-2019-05-01 -> 0-unstable-2022-12-30
2024-07-25 00:19:38 +08:00
Lin Jian
a9d497cbbd
Merge pull request #329670 from atorres1985-contrib/elisp-updatescript-leungbk
...
emacsPackages: add updatescripts (packages maintained by @leungbk)
2024-07-25 00:15:48 +08:00
Anderson Torres
31aa073686
emacsPackages.youtube-dl: implement passthru.updateScript
2024-07-24 11:55:24 -03:00
Anderson Torres
bd9b636c50
emacsPackages.git-undo: implement passthru.updateScript
2024-07-24 11:55:24 -03:00
Anderson Torres
8957ac63a2
emacsPackages.evil-markdown: implement passthru.updateScript
2024-07-24 11:55:24 -03:00
R. Ryantm
b164b90ca6
emacsPackages.isearch-prop: 0-unstable-2019-05-01 -> 0-unstable-2022-12-30
2024-07-24 14:34:28 +00:00
R. Ryantm
fc0ff94b34
emacsPackages.isearch-plus: 3434-unstable-2021-08-23 -> 3434-unstable-2023-09-27
2024-07-24 14:02:57 +00:00
R. Ryantm
3d9a6577bf
emacsPackages.color-theme-solarized: 0-unstable-2017-10-24 -> 0-unstable-2023-02-09
2024-07-24 12:46:49 +00:00
github-actions[bot]
1d59cd3783
Merge master into staging-next
2024-07-24 06:00:58 +00:00
Lin Jian
32e336f4fa
Merge pull request #329321 from atorres1985-contrib/elisp-andersontorres
...
emacsPackages: add update scripts on those maintained by AndersonTorres
2024-07-24 13:37:10 +08:00
github-actions[bot]
d284ef371e
Merge master into staging-next
2024-07-23 12:01:18 +00:00
Bruno Bigras
25455e4474
copilot: 0-unstable-2023-12-26 -> 0-unstable-2024-05-01
2024-07-23 03:49:53 -04:00
github-actions[bot]
5b4db4db1c
Merge master into staging-next
2024-07-23 06:01:09 +00:00
Anderson Torres
5b14505bdc
emacsPackages.isearch-prop: add AndersonTorres as maintainer
2024-07-23 00:13:51 -03:00
Anderson Torres
64cde99372
emacsPackages.isearch-prop: implement passthru.updateScript
2024-07-23 00:13:14 -03:00
Anderson Torres
1fca32c0e5
emacsPackages.isearch-plus: implement passthru.updateScript
2024-07-23 00:13:02 -03:00
Anderson Torres
a46dcaad20
emacsPackages.sunrise-commander: implement passthru.updateScript
2024-07-23 00:13:02 -03:00
Anderson Torres
be8539760f
emacsPackages.color-theme-solarized: implement passthru.updateScript
2024-07-23 00:12:38 -03:00
Anderson Torres
20d9595d5c
emacsPackages.grid: implement passthru.updateScript
2024-07-23 00:12:38 -03:00
Lin Jian
672da6a40e
Merge pull request #329248 from atorres1985-contrib/emacs-lisp-adopt-rect-mark
...
emacsPackages.rect-mark: adopted by AndersonTorres
2024-07-23 08:20:15 +08:00
Anderson Torres
2923c0c14a
emacsPackages.rect-mark: adopted by AndersonTorres
...
- get rid of rec
- implement passthru.updateScript
2024-07-22 21:13:39 -03:00
Lin Jian
a82d89e5a3
Merge pull request #329249 from atorres1985-contrib/emacs-lisp-adopt
...
Adopt elisp packages
2024-07-23 08:08:52 +08:00
github-actions[bot]
09a27d5bc1
Merge master into staging-next
2024-07-23 00:02:18 +00:00
Anderson Torres
50eaa30130
emacsPackages.elisp-ffi: adopted by AndersonTorres
...
Also implement passthru.updateScript and set meta.homepage
2024-07-22 19:33:50 -03:00
Anderson Torres
c2ac76bfda
emacsPackages.voicemacs: adopted by AndersonTorres
...
Also implement passthru.updateScript
2024-07-22 18:16:26 -03:00
Anderson Torres
c675eb8ce9
emacsPackages.font-lock-plus: adopted by AndersonTorres
...
Also, implement passthru.updateScript.
2024-07-22 18:15:05 -03:00
Anderson Torres
bd8ac353db
emacsPackages.wat-mode: remove redundant commentary
...
It is a standard procedure to remove manual packages that were promoted to
MELPA.
Further, the issue remains open since its inception at 2022-07-01:
https://github.com/devonsparks/wat-mode/issues/1
2024-07-22 17:11:57 -03:00
Anderson Torres
034c174d85
emacsPackages.wat-mode: implement passthru.updateScript
2024-07-22 17:11:47 -03:00
Artturin
60e9cffe2c
Merge branch 'master' into staging-next
2024-07-22 22:53:31 +03:00
Lin Jian
00233f1da2
Merge pull request #328453 from linj-fork/pr/fix-emacs-builder
...
emacs: handle some arguments correctly for genericBuild and melpaBuild
2024-07-21 23:57:11 +08:00
Vladimír Čunát
94db461e53
Merge #328573 : emacs: add two parameters to genericBuild to control errors
...
...into staging-next
2024-07-21 09:05:30 +02:00
github-actions[bot]
6ff8a10a87
Merge master into staging-next
2024-07-21 06:01:25 +00:00
Anderson Torres
411b025148
emacsPackages.youtube-dl: use melpaBuild
...
- get rid of nested with
- remove samuelrivas
2024-07-21 01:01:42 -03:00
Anderson Torres
ebf9b608d7
emacsPackages.voicemacs: use melpaBuild
2024-07-21 01:01:37 -03:00
Anderson Torres
4902ab5e75
emacsPackages.pod-mode: use melpaBuild
2024-07-21 00:58:27 -03:00
Anderson Torres
0b364f0988
emacsPackages.idris2-mode: use melpaBuild
2024-07-21 00:58:27 -03:00
Anderson Torres
676868e812
emacsPackages.helm-words: use melpaBuild
2024-07-21 00:58:27 -03:00
Anderson Torres
98361e18c9
emacsPackages.grid: convert version string to Nix format
...
Just as a test - it works!
2024-07-21 00:58:27 -03:00
Anderson Torres
51cddfc4a5
emacsPackages.git-undo: use melpaBuild
...
- get rid of nested with
2024-07-21 00:58:27 -03:00
Anderson Torres
a12ddd7ffc
emacsPackages.evil-markdown: use melpaBuild
2024-07-21 00:58:15 -03:00
Anderson Torres
aac589487f
emacsPackages.emacs-conflict: use melpaBuild
2024-07-21 00:57:02 -03:00
Anderson Torres
d310c489e9
emacsPackages.color-theme-solarized: use melpaBuild
...
- get rid of nested with
- remove samuelrivas from maintainers
2024-07-21 00:57:02 -03:00
Anderson Torres
92b5736994
emacsPackages.acm-terminal: cleanup
...
- get rid of nested with
- change update script to unstableGitUpdater
2024-07-21 00:56:31 -03:00
adisbladis
1ef34d9368
Merge pull request #328577 from kira-bruneau/emacsPackages.lsp-bridge
...
emacsPackages.lsp-bridge: 0-unstable-2024-06-29 -> 0-unstable-2024-07-14
2024-07-21 13:03:14 +12:00
adisbladis
c459a12f66
Merge pull request #328580 from linj-fork/pr/melpaBuild-jam-mode-2
...
emacsPackages.jam-mode: trivialBuild -> melpaBuild
2024-07-21 13:02:23 +12:00
adisbladis
e6aab90e9d
Merge pull request #328579 from linj-fork/pr/melpaBuild-hsc3-mode
...
emacsPackages.hsc3-mode: trivialBuild -> melpaBuild
2024-07-21 13:01:05 +12:00
github-actions[bot]
be3262bae8
Merge master into staging-next
2024-07-21 00:02:58 +00:00
Lin Jian
48130878ae
Merge pull request #328551 from r-ryantm/auto-update/emacsPackages.lspce
...
emacsPackages.lspce: 1.1.0-unstable-2024-07-13 -> 1.1.0-unstable-2024-07-14
2024-07-21 04:57:04 +08:00
github-actions[bot]
e533bfc8da
Merge master into staging-next
2024-07-20 18:01:23 +00:00
Lin Jian
45f2e58881
emacs: add two parameters to genericBuild to control errors
...
This patch introduces two parameters, turnCompilationWarningToError
and ignoreCompilationError, to control errors in genericBuild, which
makes "nix build" be able to fail at elisp native compilation errors
or warnings. This feature can be used in CI to improve code quality.
Note that this patch keeps the old behavior by default. Hopefully one
day we can flip the default value of ignoreCompilationError to false
when enough packages are fixed.
Also note that these two parameters can be changed per package using
the overrideAttrs interface.
2024-07-20 22:44:02 +08:00
Lin Jian
eabd7cf0fc
emacs: log native compilation commands in genericBuild
2024-07-20 22:43:48 +08:00
Lin Jian
2bc61ad2ba
emacs: format genericBuild in preparation for adding more flags
2024-07-20 22:31:30 +08:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next
2024-07-20 16:12:24 +02:00
Lin Jian
742a358a93
emacsPackages.ott-mode: trivialBuild -> melpaBuild
...
Also fix homepage and license.
2024-07-20 12:26:51 +08:00
Lin Jian
77b84751b6
emacsPackages.jam-mode: trivialBuild -> melpaBuild
2024-07-20 12:17:37 +08:00
Lin Jian
78b1696696
emacsPackages.hsc3-mode: trivialBuild -> melpaBuild
...
In addition, get source from haskellPackages.hsc3.
2024-07-20 11:58:06 +08:00
Kira Bruneau
e4a86349e6
emacsPackages.lsp-bridge: 0-unstable-2024-06-29 -> 0-unstable-2024-07-14
2024-07-19 22:56:52 -04:00
Lin Jian
cb99559438
Merge pull request #328466 from linj-fork/pr/melpaBuild-isearch-plus
...
emacsPackages.isearch-plus: trivialBuild -> melpaBuild
2024-07-20 08:54:19 +08:00
Lin Jian
bf8c6da286
Merge pull request #328468 from linj-fork/pr/clean-isearch-prop
...
emacsPackages.isearch-prop: trivialBuild -> melpaBuild
2024-07-20 08:53:29 +08:00
Lin Jian
b5f4a4f8a2
Merge pull request #328470 from linj-fork/pr/melpaBuild-rect-mark
...
emacsPackages.rect-mark: trivialBuild -> melpaBuild
2024-07-20 08:53:04 +08:00
R. Ryantm
151fad4485
emacsPackages.lspce: 1.1.0-unstable-2024-07-13 -> 1.1.0-unstable-2024-07-14
2024-07-20 00:32:01 +00:00
github-actions[bot]
637b531dcf
Merge staging-next into staging
2024-07-19 18:01:40 +00:00
Lin Jian
c1114304a7
emacsPackages.rect-mark: trivialBuild -> melpaBuild
2024-07-19 23:57:25 +08:00
Lin Jian
643fd93591
emacsPackages.isearch-prop: trivialBuild -> melpaBuild
2024-07-19 23:50:00 +08:00
Lin Jian
a070ab32b7
emacsPackages.isearch-plus: trivialBuild -> melpaBuild
2024-07-19 23:45:18 +08:00
Lin Jian
ad0111043c
Merge pull request #328074 from atorres1985-contrib/emacswiki
...
emacswiki snippets: cleanup
2024-07-19 23:40:08 +08:00
Lin Jian
e15df4830d
Merge pull request #328417 from atorres1985-contrib/elisp-delete-perl-completion
...
emacsPackages: delete perl-completion
2024-07-19 23:19:31 +08:00
Lin Jian
619ef5d3dc
Merge pull request #326981 from atorres1985-contrib/lspce
...
lspce: 1.0.0-unstable-2024-02-03 -> 1.1.0-unstable-2024-07-13
2024-07-19 23:15:32 +08:00
Lin Jian
54d71f7a9c
emacs: handle three arguments correctly for genericBuild
...
Without this patch, if there are nativeBuildInputs,
propagatedUserEnvPkgs or postInstall in the arguments of genericBuild,
they will override the value set by genericBuild. With this patch
applied, the argument and the value set by genericBuild are merged
instead.
2024-07-19 23:07:32 +08:00
Lin Jian
32c4502005
Merge pull request #327984 from linj-fork/pr/melpaBuild-jam-mode
...
emacsPackages.font-lock-plus: trivialBuild -> melpaBuild
2024-07-19 22:53:39 +08:00
Lin Jian
a668ef0e60
Merge pull request #327973 from linj-fork/pr/texpresso-melpa
...
emacsPackages.texpresso: trivialBuild -> melpaBuild
2024-07-19 22:52:52 +08:00
Lin Jian
1476e32c1d
emacs: handle preUnpack and postUnpack correctly for melpaBuild
...
Without this patch, if there are preUnpack or postUnpack in the
arguments of melpaBuild, they will override the value set by
melpaBuild. With this patch applied, the argument and the value set
by melpaBuild are merged instead.
2024-07-19 22:42:31 +08:00
Lin Jian
647bee1fb8
emacs: factor out handledArgs for melpaBuild
2024-07-19 22:42:31 +08:00
Lin Jian
1c8266eb75
emacs: remove files and fileSpecs from handledArgs of elpaBuild
...
These two are not used nowadays.
2024-07-19 22:42:30 +08:00
Anderson Torres
92ebcc173e
emacsPackages.lspce: 1.0.0-unstable-2024-02-03 -> 1.1.0-unstable-2024-07-13
2024-07-19 10:15:33 -03:00
Anderson Torres
8c08052cc0
emacsPackages.lspce: rework
...
- detach Rust module to module.nix
- trivialBuild -> melpaBuild
- updateScript
- adopt (by AndersonTorres)
Co-authored-by: Lin Jian <me@linj.tech>
2024-07-19 10:13:57 -03:00
Anderson Torres
5af0c1343d
emacsPackages.sv-kalender: trivialBuild -> melpaBuild
2024-07-19 09:10:01 -03:00
Anderson Torres
3b26c3384f
emacsPackages.yes-no: trivialBuild -> melpaBuild
2024-07-19 09:10:01 -03:00
Anderson Torres
d3fe63d975
emacsPackages.control-lock: trivialBuild -> melpaBuild
2024-07-19 09:10:01 -03:00
github-actions[bot]
a6c20a7387
Merge staging-next into staging
2024-07-19 12:01:49 +00:00
Anderson Torres
9678f404a3
emacsPackages: delete perl-completion
...
The upstream is not updated since its inception.
2024-07-19 08:51:28 -03:00
Lin Jian
cae5d2c711
Merge pull request #327676 from linj-fork/pr/llvm-mode
...
emacsPackages.llvm-mode: use files to select needed files
2024-07-19 15:56:27 +08:00
github-actions[bot]
f6ed4c2f35
Merge staging-next into staging
2024-07-19 06:01:45 +00:00
adisbladis
20f734b347
Merge pull request #328070 from linj-fork/pr/improve-notdeft-compile
...
emacsPackages.notdeft: improve build process of notdeft-xapian
2024-07-19 15:23:06 +12:00
R. Ryantm
1a29188941
emacsPackages.ligo-mode: 1.7.1-unstable-2024-06-28 -> 1.7.1-unstable-2024-07-17
2024-07-18 22:55:33 +00:00
Martin Weinelt
983077457f
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
- pkgs/development/python-modules/uvcclient/default.nix
- pkgs/development/tools/rust/rust-analyzer/default.nix
2024-07-18 12:35:33 +02:00
Lin Jian
320b9df8d7
Merge pull request #327977 from linj-fork/pr/melpaBuild-urweb-mode
...
emacsPackages.urweb-mode: trivialBuild -> melpaBuild
2024-07-18 11:23:51 +08:00
Lin Jian
d342f3c65b
Merge pull request #327980 from linj-fork/pr/melpaBuild-prolog-mode
...
emacsPackages.prolog-mode: trivialBuild -> melpaBuild
2024-07-18 11:22:46 +08:00
Lin Jian
f1ea0704f4
emacsPackages.notdeft: improve build process of notdeft-xapian
...
Before, the upstream Makefile[1] is used, which does not work well
with nix:
- Hardening flags of nix are ignored.
- One binary of buildInput xapian is run at build time.
[1]: 1b7054dcfc/xapian/Makefile (L10)
2024-07-18 09:47:59 +08:00
Lin Jian
c110ea8d66
Merge pull request #327921 from linj-fork/pr/clean-matrix-client
...
emacsPackages.matrix-client: clean
2024-07-18 08:54:02 +08:00
Lin Jian
289065b387
emacsPackages.matrix-client: format using nixfmt-rfc-style
2024-07-18 08:52:24 +08:00
Lin Jian
5727c78caa
emacsPackages.matrix-client: clean
2024-07-18 08:52:22 +08:00
Lin Jian
840a72866f
Merge pull request #327920 from linj-fork/pr/clean-prisma-mode
...
emacsPackages.prisma-mode: clean
2024-07-18 08:48:33 +08:00
Lin Jian
53caec797a
emacsPackages.prisma-mode: format using nixfmt-rfc-style
2024-07-18 08:48:00 +08:00
Lin Jian
6372bdde7a
emacsPackages.prisma-mode: clean
2024-07-18 08:47:59 +08:00
Lin Jian
72db05f8d4
Merge pull request #327916 from linj-fork/pr/clean-codeium
...
emacsPackages.codeium: clean
2024-07-18 08:45:36 +08:00
Lin Jian
b198862ef4
Merge pull request #327927 from linj-fork/pr/clean-ebuild-mode
...
emacsPackages.ebuild-mode: clean
2024-07-18 08:44:12 +08:00
Lin Jian
e53b3dd3d8
Merge pull request #327946 from linj-fork/pr/clean-tsc
...
emacsPackages.tsc: clean
2024-07-18 08:42:21 +08:00
Lin Jian
bb1572d2e3
Merge pull request #328016 from linj-fork/pr/remove-adga-input
...
emacs.pkgs.agda-input: remove
2024-07-18 08:19:02 +08:00
Lin Jian
022264f578
Merge pull request #327907 from linj-fork/pr/clean-el-easydraw
...
emacsPackages.el-easydraw: clean
2024-07-18 08:17:40 +08:00
Lin Jian
72b5f58e5b
Merge pull request #328003 from linj-fork/pr/mepaBuild-notdeft
...
emacsPackages.notdeft: trivialBuild -> melpaBuild
2024-07-18 07:05:04 +08:00
Lin Jian
8b6b30c1b7
Merge pull request #327952 from linj-fork/pr/clean-copilot
...
emacsPackages.copilot: trivialBuild -> melpaBuild
2024-07-18 07:00:53 +08:00
Lin Jian
da42302a7c
Merge pull request #328015 from linj-fork/pr/melpaBuild-agda2-mode
...
emacsPackages.agda2-mode: trivialBuild -> melpaBuild
2024-07-18 06:55:49 +08:00
Lin Jian
08ccbb4528
emacsPackages.agda-input: remove
2024-07-18 06:53:50 +08:00
Lin Jian
2e4f6a752f
Merge pull request #327942 from linj-fork/pr/clean-elisp-ffi
...
emacsPackages.elisp-ffi: clean
2024-07-18 04:33:41 +08:00
Lin Jian
aeaafee692
emacsPackages.agda2-mode: format using nixfmt-rfc-style
2024-07-18 04:21:32 +08:00
Lin Jian
b60603aa3a
emacsPackages.agda2-mode: trivialBuild -> melpaBuild
...
This patch does not increase closure size:
> nix path-info -rSsh result/ | sort -hk3
/nix/store/7v6xff4kcrb696dyzbgywy3myv63fwsj-emacs-funcs.sh 1.2K 1.2K
/nix/store/bihw7p4zdqwyxmnc8h67c06lnjkvdan8-xgcc-13.3.0-libgcc 155.9K 155.9K
/nix/store/vf553z7mi2vqk8ca6kkfd9x5gy3nnz0p-libunistring-1.1 1.7M 1.7M
/nix/store/pq755f1pxaas9q7666wzdzxidcvf9frg-libidn2-2.3.7 352.7K 2.1M
/nix/store/m71p7f0nymb19yn1dascklyya2i96jfw-glibc-2.39-52 28.8M 31.0M
/nix/store/v9jyklnpicy1vzwcm41aj14qwsq5p22c-emacs-agda2-mode-2.6.4.3 804.6K 31.8M
2024-07-18 04:20:36 +08:00
Lin Jian
840872ae0c
emacsPackages.notdeft: format using nixfmt-rfc-style
2024-07-18 03:45:42 +08:00
Lin Jian
31be87128a
emacsPackages.notdeft: add license
2024-07-18 03:45:41 +08:00
Lin Jian
158362fe87
emacsPackages.notdeft: trivialBuild -> melpaBuild
2024-07-18 03:33:44 +08:00