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
|
@ -1,4 +1,4 @@
|
|||
{ symlinkJoin, emacsWithPackagesFromUsePackage, emacs29-pgtk, python3, texliveFull, makeWrapper, lib }:
|
||||
{ emacsWithPackagesFromUsePackage, emacs29-pgtk, python3 }:
|
||||
let
|
||||
emacs-linux = emacsWithPackagesFromUsePackage {
|
||||
package = emacs29-pgtk;
|
||||
|
@ -48,13 +48,4 @@ let
|
|||
override = _: prev: { use-package = prev.emacs; };
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "emacs";
|
||||
paths = [ texliveFull emacs-linux ];
|
||||
buildInputs = [ makeWrapper ];
|
||||
postBuild = ''
|
||||
mkdir -p $out/bin
|
||||
wrapProgram $out/bin/emacs \
|
||||
--set PATH ${lib.makeBinPath [ texliveFull ]}:$PATH
|
||||
'';
|
||||
}
|
||||
emacs-linux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue