From 80729d5693419283649f5d9714bfd00338484a52 Mon Sep 17 00:00:00 2001 From: Artur Manuel Date: Mon, 26 Aug 2024 22:25:09 +0100 Subject: [PATCH] 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. --- README.org | 5 +++++ package/default.nix | 13 ++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README.org b/README.org index ff6eab6..8dd2390 100644 --- a/README.org +++ b/README.org @@ -3,6 +3,11 @@ ****** 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? This is a Nix flake for my Emacs configuration, similar to [[https://github.com/nix-community/kickstart-nix.nvim][kickstart-nix.nvim]]. diff --git a/package/default.nix b/package/default.nix index e8ad13e..cc0e79f 100644 --- a/package/default.nix +++ b/package/default.nix @@ -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