revert: revert changes made by the previous commit
this is such a pain in the !@# and i cant be asked to make this work anymore, besides i can use flake templates.
This commit is contained in:
parent
c704b661ec
commit
80729d5693
2 changed files with 7 additions and 11 deletions
|
@ -3,6 +3,11 @@
|
||||||
****** opinionated opinionated emacs configuration (ft. flakes)
|
****** opinionated opinionated emacs configuration (ft. flakes)
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
*** Disclaimer
|
||||||
|
This config is bound to change for any reason if I feel like it that day.
|
||||||
|
|
||||||
|
You are fine to use it, but do know that it may change for any reason on my end.
|
||||||
|
|
||||||
*** What is this configuration?
|
*** What is this configuration?
|
||||||
|
|
||||||
This is a Nix flake for my Emacs configuration, similar to [[https://github.com/nix-community/kickstart-nix.nvim][kickstart-nix.nvim]].
|
This is a Nix flake for my Emacs configuration, similar to [[https://github.com/nix-community/kickstart-nix.nvim][kickstart-nix.nvim]].
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ symlinkJoin, emacsWithPackagesFromUsePackage, emacs29-pgtk, python3, texliveFull, makeWrapper, lib }:
|
{ emacsWithPackagesFromUsePackage, emacs29-pgtk, python3 }:
|
||||||
let
|
let
|
||||||
emacs-linux = emacsWithPackagesFromUsePackage {
|
emacs-linux = emacsWithPackagesFromUsePackage {
|
||||||
package = emacs29-pgtk;
|
package = emacs29-pgtk;
|
||||||
|
@ -48,13 +48,4 @@ let
|
||||||
override = _: prev: { use-package = prev.emacs; };
|
override = _: prev: { use-package = prev.emacs; };
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
symlinkJoin {
|
emacs-linux
|
||||||
name = "emacs";
|
|
||||||
paths = [ texliveFull emacs-linux ];
|
|
||||||
buildInputs = [ makeWrapper ];
|
|
||||||
postBuild = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
wrapProgram $out/bin/emacs \
|
|
||||||
--set PATH ${lib.makeBinPath [ texliveFull ]}:$PATH
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue