!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
1 Sep 2022
@k0kada:matrix.orgk0kada (he/him)
nix-repl> :b nixosConfigurations.nixos.config.home-manager.users.mon.programs.doom-emacs.package
20:54:29
@k0kada:matrix.orgk0kada (he/him)I should have commented the native PGTK emacs to be faster, but well, whatever20:55:42
@k0kada:matrix.orgk0kada (he/him)This is building wayyy too many things20:57:18
@k0kada:matrix.orgk0kada (he/him)This is suspect20:57:21
@k0kada:matrix.orgk0kada (he/him)Huh...20:57:23
@k0kada:matrix.orgk0kada (he/him)
$ nix build .#nixosConfigurations.nixos.config.home-manager.users.mon.programs.doom-emacs.package
warning: Git tree '/tmp/nixos-config' is dirty
error: builder for '/nix/store/fvqxnfrfn8i7lagp2bkrgxbls2jbxcxv-emacs-idris2-mode-0.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > idris2-warnings.el:77:2: Warning: docstring wider than 80 characters
       >
       > In toplevel form:
       > inferior-idris2.el:78:2: Warning: defvar `idris2-load-packages' docstring wider than 80 characters
       >
       > In idris2-eval-async:
       > inferior-idris2.el:308:2: Warning: docstring wider than 80 characters
       >
       > In idris2-get-idris2-version-string:
       > inferior-idris2.el:410:2: Warning: docstring wider than 80 characters
       For full logs, run 'nix log /nix/store/fvqxnfrfn8i7lagp2bkrgxbls2jbxcxv-emacs-idris2-mode-0.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/lfz4rda6nm1xm1kggjkbivj1w53irmql-install-repo.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jbradj5jzkppxvsipgkcx79ww3fidakz-straight-emacs-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vlz6xgqfzhj0nxvid1vb55vrqvvl4qvk-emacs-pgtk-native-comp-with-packages-20220828.0.drv' failed to build

Your system is cursed mon_aaraj

20:59:25
@k0kada:matrix.orgk0kada (he/him) I mean, it still doesn't build in my system, but it did try to build and I could even get a valid hash for idris2 21:00:09
@ckie:ckie.devmei 🌒&heh, seems my theory is panning out nicely21:00:22
@k0kada:matrix.orgk0kada (he/him) sha256-TxsGaG2fBRWWP9aas59kiNnUVD4ZdNlwwaFbM4+n81c= here the hash BTW 21:00:24
@k0kada:matrix.orgk0kada (he/him)But yeah, your issue is not related with NDE at all21:00:36
@k0kada:matrix.orgk0kada (he/him)Maybe there is something else in your config triggering this aarch64-darwin error21:00:56
@ckie:ckie.devmei 🌒&bad store path!21:00:57
@k0kada:matrix.orgk0kada (he/him)I just build the NDE BTW21:01:07
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
bad store path!
Yeah, another possibly explanation
21:01:32
@ckie:ckie.devmei 🌒&question is how it got there..21:01:39
@k0kada:matrix.orgk0kada (he/him)Let me try to build your whole NixOS config21:01:40
@k0kada:matrix.orgk0kada (he/him)To see if the issue is in your config itself21:01:48
@k0kada:matrix.orgk0kada (he/him)
nix build .\#nixosConfigurations.nixos.config.system.build.toplevel
warning: Git tree '/tmp/nixos-config' is dirty
error: a 'aarch64-darwin' with features {} is required to build '/nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
(use '--show-trace' to show detailed location information)
21:03:46
@k0kada:matrix.orgk0kada (he/him)The issue is in the rest of your config21:03:51
@k0kada:matrix.orgk0kada (he/him)Not related to NDE at all21:03:55
@ckie:ckie.devmei 🌒&ooh! 21:04:00
@k0kada:matrix.orgk0kada (he/him)This is why I said to create a minimal repro with just NDE...21:04:08
@ckie:ckie.devmei 🌒&unexpected twist, like a horror show!21:04:16
@k0kada:matrix.orgk0kada (he/him) *
$ nix build .\#nixosConfigurations.nixos.config.system.build.toplevel
warning: Git tree '/tmp/nixos-config' is dirty
error: a 'aarch64-darwin' with features {} is required to build '/nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
(use '--show-trace' to show detailed location information)
21:04:26
@k0kada:matrix.orgk0kada (he/him)And I have an idea of the issue21:04:55
@k0kada:matrix.orgk0kada (he/him)Well, I tried to do some investigation here, but have no clue lol21:08:35
@k0kada:matrix.orgk0kada (he/him)There is something there in your config that is cursed21:08:44
@k0kada:matrix.orgk0kada (he/him)But not related with NDE at all21:08:49
@ckie:ckie.devmei 🌒& perhaps cat yourself the /nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv? 21:09:06
@k0kada:matrix.orgk0kada (he/him)Yeah, I did a cat there21:09:16

Show newer messages


Back to Room ListRoom Version: 9