Comments (3)
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.
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.
I was taking a look on our code where we get the Emacs derivation to be used... And well, it is complicated:
- https://github.com/nix-community/nix-doom-emacs/blob/master/default.nix#L110-L118: here we get an Emacs for building doom-emacs packages
- https://github.com/nix-community/nix-doom-emacs/blob/master/default.nix#L209-L220: here we get another Emacs for building the final derivation
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)
- all-the-icons font is not installed HOT 5
- `Invalid preview key: [67108896]` on `M-x consult-recent-file` HOT 4
- Bug: "Doom hasn't been initialized yet" HOT 3
- Enable imagemagick HOT 1
- Installation hangs when using pkgs.emacsPgtk HOT 15
- Avoid package compile HOT 6
- Build fails with error about libgenerated.nix HOT 5
- error: getting status of '/nix/store/bbi0bn9i9dslcrc1nasckhbkb8gqd66m-source/doom/doom.d': No such file or directory HOT 2
- No such file or directory, default.el HOT 1
- `init.el` module help doesn't seem to work HOT 4
- 23.05: Segfault HOT 3
- Build fail on nix unstable branch HOT 1
- How to use XDG paths for the package? HOT 1
- Fails if not run with su, always launches with emacs standard splash screen on NixOS under WSL
- Unable to run doom-emacs in home-manager wihtou flakes
- Unable to build with emacs version > 28 HOT 1
- error: function 'anonymous lambda' called without required argument 'version' when running `home-manager switch` HOT 1
- Recent Dependency update PRs failing tests HOT 1
- Can I combine the options from this derivation with home-manager options?
- High CPU && RAM usage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-doom-emacs.