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:
Artur Manuel 2024-08-26 22:25:09 +01:00
commit 80729d5693
Failed to generate hash of commit
2 changed files with 7 additions and 11 deletions

View file

@ -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