!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

208 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs44 Servers

Load older messages


SenderMessageTime
12 Sep 2022
@ckie:ckie.devmei πŸŒ’&never mind, it also has one very fancy cool diagram17:39:23
@ckie:ckie.devmei πŸŒ’&huh17:39:46
@ckie:ckie.devmei πŸŒ’&i wonder how that happened17:39:57
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
mine was too
Ohh, I see. This is really painful
17:42:10
@k0kada:matrix.orgk0kada (he/him)Do you have a NVMe SSD?17:42:23
@ckie:ckie.devmei πŸŒ’&mhm17:42:27
@ckie:ckie.devmei πŸŒ’&ryzen 5 3600, decent ram17:42:40
@ckie:ckie.devmei πŸŒ’&but there are 10 hosts and their eval depends on one another17:42:59
@ckie:ckie.devmei πŸŒ’& * but there are 10 hosts and their evals depends on one another17:43:03
@ckie:ckie.devmei πŸŒ’& * but there are 10 hosts and their evals depend on one another17:43:05
@k0kada:matrix.orgk0kada (he/him) TIL: using builtins.trace to print user friendly messages is a bad idea :D 18:58:46
@k0kada:matrix.orgk0kada (he/him)Who would know right? /s18:58:50
@ckie:ckie.devmei πŸŒ’& k0kada: i haven't gotten to the gh response yet but i still wonder why we can't just have a mkDoomEmacs flake output like nixpkgs 19:00:52
@ckie:ckie.devmei πŸŒ’&
nix-repl> (builtins.getFlake "nixpkgs").outputs.legacyPackages.x86_64-linux.mkShell
{ __functionArgs = { ... }; __functor = Β«lambda @ /nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source/lib/trivial.nix:430:19Β»; override = { ... }; }
19:00:54
@ckie:ckie.devmei πŸŒ’&mkShell is kind of special, here's a different one19:01:20
@ckie:ckie.devmei πŸŒ’&
nix-repl> (builtins.getFlake "nixpkgs").outputs.legacyPackages.x86_64-linux.mkNvidiaContainerPkg
copying '/nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source'Β«lambda @ /nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source/pkgs/top-level/all-packages.nix:20393:26Β»
19:01:21
@ckie:ckie.devmei πŸŒ’&image.png
Download image.png
19:01:46
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
nix-repl> (builtins.getFlake "nixpkgs").outputs.legacyPackages.x86_64-linux.mkShell
{ __functionArgs = { ... }; __functor = Β«lambda @ /nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source/lib/trivial.nix:430:19Β»; override = { ... }; }
We can, just not as a package
19:01:52
@ckie:ckie.devmei πŸŒ’&i mean that says legacypackage19:02:01
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
i mean that says legacypackage
Well, we can, but this is kinda looks like we are abusing legacyPackages
19:03:07
@k0kada:matrix.orgk0kada (he/him)legacyPackages was created only for nixpkgs, it wasn't supposed to be used outside it19:03:40
@ckie:ckie.devmei πŸŒ’&it seems flakes are missing what we need19:03:55
@k0kada:matrix.orgk0kada (he/him)Also, override is meant to be used in exactly those cases IMO19:04:00
@ckie:ckie.devmei πŸŒ’&it seems very wrong to me is all19:04:14
@ckie:ckie.devmei πŸŒ’&you're making your doom emacs with nde19:04:26
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
it seems flakes are missing what we need
We can use lib to expose functions
19:04:28
@ckie:ckie.devmei πŸŒ’&you're not changing nde's doom emacs19:04:30
@k0kada:matrix.orgk0kada (he/him)It is just that it isn't official19:04:34
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
you're making your doom emacs with nde
I am not making my doom-emacs NDE
19:04:58
@k0kada:matrix.orgk0kada (he/him)We are making the default doom-emacs config NDE19:05:12

Show newer messages


Back to Room ListRoom Version: 9