Giter VIP home page Giter VIP logo

Comments (3)

ckiee avatar ckiee commented on June 26, 2024

Try this:

From 99b749e1c5e6d061b376d789c1756ce9b3241ad0 Mon Sep 17 00:00:00 2001
From: ckie <[email protected]>
Date: Fri, 10 Jun 2022 17:50:53 +0300
Subject: [PATCH] home/doom-emacs: maybe fix nix-community/nix-doom-emacs#141
 
---
 home/doom-emacs/default.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 
diff --git a/home/doom-emacs/default.nix b/home/doom-emacs/default.nix
index 1ca9ebb..1f46aab 100644
--- a/home/doom-emacs/default.nix
+++ b/home/doom-emacs/default.nix
@@ -10,7 +10,8 @@ lib.mkMerge [
       {
         enable = true;
         doomPrivateDir = ./doom.d;
-        emacsPackage = ((emacsPackagesFor emacsUnstable).emacsWithPackages (epkgs: with epkgs.melpaStablePackages; [ flycheck ]));
+        emacsPackage = emacsPackagesFor emacsUnstable;
+        extraPkgs = epkgs: [ epkgs.melpaStablePackages.flycheck ];
       };
   }
   (lib.mkIf isLinux {
--
2.36.0

If that still doesn't work you might need to overrideAttrs it a bit like some of these.

(naming your repository nixpkgs is incredibly confusing :P)

from nix-doom-emacs.

ratsclub avatar ratsclub commented on June 26, 2024

I'm facing the same problem but the solution above did not work for me... @remi-gelinas were you able to fix it?

from nix-doom-emacs.

thiagokokada avatar thiagokokada commented on June 26, 2024

I was taking a look on our code where we get the Emacs derivation to be used... And well, it is complicated:

This behavior may/may not explains the issue you're seeing, and also explain another issue that I saw when trying vterm module from Emacs. See: thiagokokada/nix-configs@4f845d4

I did this emacsPackagesOverlay because Emacs was build with the wrong source code it seems, and know that I took a look at the code this makes sense why it happened.

from nix-doom-emacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.