Commit Graph
718424 Commits
Author SHA1 Message Date
Alexey LebedeffandLin Jian 5f9cbf9898 emacs: allow wrapped emacs to execute itself again
fixes #145302 #237855

emacsWithPackages wrapper script/`site-start.el` sanitize
EMACSLOADPATH, to make nested emacs invocations independent of the
package set specified in emacsWithPackages.

But there are valid use cases when one needs to call nested emacs with
the same package set. This includes built-in emacs functionality such
as async native compilations, and also external packages like
`emacs-async` and `esup`. In all of these cases
`invocation-directory`/`invocation-name` variables are being used to
launch nested emacs.

With this patch these variables will be populated to point to the
emacsWithPackages wrapper executable, so that executing
`(file-name-concat invocation-directory invocation-name)` will give a
fully functional emacs again.

`EMACSLOADPATH` sanitization was introduced by #106486, this behaviour
stays unchanged. The reasoning was to be able to run different emacs
executables without polluting their EMACSLOADPATH (as described here
https://github.com/NixOS/nixpkgs/pull/106486/commits/23d4bfb6661ca57a9e331a2cf4184232d38ac38b).
The only change is that invoking itself is again feasible (and that's
what emacs actually expects).

Co-authored-by: Lin Jian <me@linj.tech>
2024-12-06 13:12:47 +08:00
Lin JianandGitHub 47b7878e2c emacs30: add a patch to fix upstream bug 67916 (#361947) 2024-12-06 11:06:46 +08:00
Lin JianandGitHub e408a8ff1c emacs: elisp packages update (#361913) 2024-12-06 09:14:21 +08:00
github-actions[bot]andGitHub 3a5c0e6ce2 Merge master into staging-next 2024-12-06 00:15:39 +00:00
AleksanaandGitHub 47a92239db cargo-shuttle: 0.47.0 -> 0.49.0 (#361827) 2024-12-06 08:04:08 +08:00
nixpkgs-merge-bot[bot]andGitHub ad4171cd39 staruml: 6.2.2 -> 6.3.0 (#361340) 2024-12-06 00:02:37 +00:00
Nick CaoandGitHub d4297d0e0c julia_111{,-bin}: 1.11.1 -> 1.11.2, julia_19{,-bin}: drop (#361178) 2024-12-05 19:00:48 -05:00
Weijia WangandGitHub 21de726c19 mailpit: 1.21.0 -> 1.21.5 (#360646) 2024-12-06 00:36:59 +01:00
Weijia WangandGitHub 3416e72d65 gitoxide: 0.38.0 -> 0.39.0 (#360861) 2024-12-06 00:36:15 +01:00
surfaceflingerandGitHub 8e770757c6 jazz2: 2.9.1 -> 3.0.0 (#360909)
Diff: https://github.com/deathkiller/jazz2-native/compare/2.9.1...3.0.0
2024-12-05 18:35:58 -05:00
Gaétan LepageandGitHub 9e37dcaa58 protobuf: 29.0 -> 29.1 (#361908) 2024-12-06 00:35:36 +01:00
aucubandGitHub 092aef6491 pdfium-binaries: 6721 -> 6872 (#359931)
* pdfium-binaries: 6721 -> 6858

* pdfium-binaries: 6858 -> 6872
2024-12-05 18:27:19 -05:00
Philip TaronandGitHub 1551874a6a lynx: 2.9.0dev.12 -> 2.9.2 (#362192) 2024-12-05 15:25:17 -08:00
Weijia WangandGitHub 61194a6d4b maelstrom-clj: 0.2.3 -> 0.2.4 (#361932) 2024-12-06 00:16:50 +01:00
surfaceflingerandGitHub 77fb5441bf graphene-hardened-malloc: add updateScript (#360468)
* graphene-hardened-malloc: add updateScript

* graphene-hardened-malloc: 2024040900 -> 2024120400
2024-12-05 18:13:03 -05:00
Jeff SpiersandGitHub 979c64655b joplin-desktop: fix unpacking on x86_64-darwin with 7zz (#361912) 2024-12-05 23:53:56 +01:00
Philip TaronandGitHub 7016c90a7e tailscale: 1.76.6 -> 1.78.0 (#362225) 2024-12-05 14:48:07 -08:00
e4b06f587e sptlrx: 1.1.0 -> 1.2.2 (#360405)
Update pkgs/by-name/sp/sptlrx/package.nix

Co-authored-by: seth <getchoo@tuta.io>
2024-12-05 17:36:16 -05:00
Peder Bergebakken SundtandGitHub 07f1020592 python312Packages.gradio-pdf: 0.0.17 -> 0.0.19 (#361804) 2024-12-05 23:34:34 +01:00
Ashish SHUKLA 80cdb176ad tailscale: 1.76.6 -> 1.78.0
Changes: https://tailscale.com/changelog#2024-12-05
2024-12-05 22:29:23 +00:00
Cosima NeidahlandGitHub 7c0fc9cf18 famistudio: .NET 7 -> 8 (#361867) 2024-12-05 23:28:35 +01:00
Isaac ChuaandBjørn Forsman 839585c58c youtube-music: fix desktopName and startupWMClass 2024-12-05 23:10:51 +01:00
Emmanuel GengaandGitHub a58774a968 gqmqtt: init at 0.2.0-alpha (#360312)
gqmqtt: add updateScript
2024-12-05 17:04:58 -05:00
Sefa EyeogluandGitHub af327b3493 taterclient-ddnet: 9.0.0 -> 9.0.1 (#360538) 2024-12-05 22:55:33 +01:00
misuzuandGitHub a608963071 python312Packages.pyreadstat: 1.2.7 -> 1.2.8 (#360532) 2024-12-05 23:30:16 +02:00
misuzuandGitHub e80f051359 linuxPackages.r8125: 9.013.02 -> 9.014.01 (#361615) 2024-12-05 23:26:43 +02:00
misuzuandGitHub 2e0d114024 flirt: init at 0.2 (#362189) 2024-12-05 22:51:05 +02:00
misuzuandGitHub 8323395a04 oh-my-posh: 23.20.3 -> 24.11.4 (#362171) 2024-12-05 22:44:57 +02:00
misuzuandGitHub 14e7e223a1 komac: add shell completions (#362157) 2024-12-05 22:44:36 +02:00
nixpkgs-merge-bot[bot]andGitHub ce5e6aac3f stella: 7.0 -> 7.0b (#361408) 2024-12-05 20:37:53 +00:00
misuzuandGitHub 7cb3aa38e5 opentelemetry-collector-contrib: fix darwin builds (#362159) 2024-12-05 22:23:42 +02:00
David McFarlandandGitHub 9bb136edda dotnet: nixfmt output of nuget-to-nix (#361579) 2024-12-05 16:14:44 -04:00
R. Ryantm 96af88adc8 lynx: 2.9.0dev.12 -> 2.9.2 2024-12-05 20:12:41 +00:00
misuzuandGitHub 48733b509e nixos/prometheus-restic-exporter: add option to specify repository as a file (#344983) 2024-12-05 22:12:30 +02:00
Jakub RyškaandGitHub 9b37d566f2 nixos/asusd: correct suffix of asus/profile.conf to ron (#285904) 2024-12-05 22:10:11 +02:00
misuzuandGitHub 92951015e6 openseeface: init at 1.20.4-unstable-2024-09-21 (#289617) 2024-12-05 22:06:15 +02:00
misuzuandGitHub 76541074a2 komika-fonts: init at 0-unstable-2024-08-12 (#334261) 2024-12-05 21:55:51 +02:00
David Chocholatý 9751944f85 flirt: init at 0.2 2024-12-05 20:54:01 +01:00
David Chocholatý 8b5bc060a9 maintainers: Add adda 2024-12-05 20:54:01 +01:00
Philip TaronandGitHub b0749e8e6f linuxPackages.nvidiaPackages.latest: 560.35.03 -> 565.77 (#362162) 2024-12-05 11:48:40 -08:00
Philip TaronandGitHub 6dc317f692 python312Packages.azure-multiapi-storage: fix build (#362147) 2024-12-05 11:48:00 -08:00
RamsesandGitHub a390ec54d9 qemu: fix strictDeps (#358487) 2024-12-05 20:36:02 +01:00
Philip TaronandGitHub 21e9e52183 linuxPackages.nvidiaPackages.vulkan_beta: 550.40.80 -> 550.40.81 (#362164) 2024-12-05 11:27:58 -08:00
Kenichi KamiyaandSefa Eyeoglu a8fd645b08 komac: add shell completions
The feature was introduced in version v2.4.0

- https://github.com/russellbanks/Komac/releases/tag/v2.4.0
- https://github.com/russellbanks/Komac/commit/3fb35719526c6fe22ace24f56aa261ac4a7f6626

To enable cross compilation, we have to skip generating these in some cases.

https://github.com/NixOS/nixpkgs/blob/e19e156796ad04a533f9bbaba27f13289783c137/doc/hooks/installShellFiles.section.md?plain=1#L87-L110

Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-12-06 04:24:56 +09:00
John Garcia d0316395c3 oh-my-posh: 23.20.3 -> 24.11.4 2024-12-05 19:18:53 +00:00
Kiskae 915a9de5b3 linuxPackages.nvidiaPackages.latest: 560.35.03 -> 565.77 2024-12-05 20:06:33 +01:00
kirillrdyandGitHub e19e156796 fsautocomplete: 0.73.2 -> 0.75.0 (#360986) 2024-12-06 06:06:32 +11:00
Sefa EyeogluandGitHub 0bca244b37 qpwgraph: 0.7.9 -> 0.8.0 (#362057) 2024-12-05 20:02:13 +01:00
Fabian AffolterandGitHub 1371a1605d burpsuite: 2024.10.1 -> 2024.11.1 (#360758) 2024-12-05 20:00:50 +01:00
Wael NasreddineandGitHub fbc5b67ceb nanopb: 0.4.9 -> 0.4.9.1 (#362032) 2024-12-05 10:52:26 -08:00