about summary refs log tree commit diff
path: root/tools/emacs-pkgs/nix-util (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-17 r/3622 refactor(tools/emacs-pkgs): move sly-from-depot to tvl.elsterni1-34/+1
The function is depot specific and thus uses tvl-depot-path, so it belongs in `tvl.el`. Since non-sly-users won't need it, we tie its definition to loading the sly package. Change-Id: I8b104deab455d218d3df6a800e35cc104220a841 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4960 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-01-17 r/3621 refactor(tools/emacs-pkgs/nix-util): drop unused var nix-depot-pathsterni1-2/+0
Change-Id: Iffff21277a35e8da8125425412a4a3a3f5ffd1ce Reviewed-on: https://cl.tvl.fyi/c/depot/+/4942 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-01-15 r/3599 fix(tools/emacs-pkgs/nix-util): require missing dependenciessterni2-1/+5
We can't use cl-lib as that apparently doesn't contain lexical-let*. Change-Id: I8e65d20215ae5667bb92b71e6318ad9d66125320 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4941 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-01-04 r/3516 fix(emacs-pkgs/nix-util): Fix nix/sly-from-depot functionVincent Ambo1-6/+4
A formatting error broke this at some point (the let clauses were outside of the definition list). Change-Id: Iaa2dc9ad02d2f7e909ca9bf28705e782ad26060b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4765 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi>
2021-04-13 r/2503 feat(tools/emacs-pkgs): Add new builder for internal packagesVincent Ambo1-2/+2
Adds a new internal builder that makes it possible to override the `emacsPackages` passed to our Emacs packages, which in turn makes it possible to inject them into the emacsPackages fixpoint and use them with features like Emacs native compilation. Change-Id: I80dad57115c83cf5693ae6ba4e4cf3105d103d5e Reviewed-on: https://cl.tvl.fyi/c/depot/+/3003 Tested-by: BuildkiteCI Reviewed-by: adisbladis <adisbladis@gmail.com> Reviewed-by: grfn <grfn@gws.fyi>
2020-03-08 r/593 refactor: emacsPackagesNg -> emacsPackagesVincent Ambo1-1/+1
The former is now just an alias for the latter anyways.
2020-02-21 r/559 chore: Rename pkgs->depot in all Nix file headersVincent Ambo1-1/+1
2020-01-27 r/467 fix(emacs-pkgs/nix-util): Don't leave sly build out-links aroundVincent Ambo1-1/+1
2020-01-20 r/428 fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSONVincent Ambo1-1/+1
2020-01-17 r/398 fix(emacs-pkgs/nix-util): Use lexical-let to allow variable captureVincent Ambo1-17/+17
The lambda that acts as the sentinel for building SBCL with packages needs to be able to capture variables if lexical binding is enabled, which is made possible by the lexical-let form.
2020-01-17 r/387 feat(emacs-pkgs/nix-util): Add nix/sly-from-depot functionVincent Ambo1-1/+37
Adds a function that can launch Sly with a pre-configured SBCL for a Lisp derivation in the depot. This makes it convenient to spin up development environments for Lisp libraries and programs by simply calling `M-x nix/sly-from-depot RET tools.something`. This relies on `nix-depot-path` being configured currently as I have not yet reliably added the depot to my NIX_PATH on all machines.
2019-12-19 r/198 fix(nix-util): Correctly enable lexical scope in this libraryVincent Ambo1-1/+1
2019-12-19 r/197 feat(emacs-pkgs): Introduce nix-util helper libraryVincent Ambo2-0/+74
Adds an Emacs library with so far a grand total of one helper function that can prefetch and insert a git repository at point. This is very useful for the various Go repo imports I am doing at the moment.