!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
12 Sep 2022
@k0kada:matrix.orgk0kada (he/him)Unless, of course, I am using macOS17:31:49
@ckie:ckie.devckie (they/them)i am not sure how to profile this17:31:50
@k0kada:matrix.orgk0kada (he/him)macOS+nix is painful17:32:07
@k0kada:matrix.orgk0kada (he/him)I just use it because everything else is even worse17:32:17
@ckie:ckie.devckie (they/them) maybe i can give nix a tracy integration 17:32:40
@ckie:ckie.devckie (they/them)

okay then..

ckie@cookiemonster ~/git/depot/tvix/docs -> nix-build -E 'with import <nixpkgs>{}; callPackage ./.{}'
these 7 derivations will be built:
  /nix/store/iafxs9q0hl90whn3iknkd60vb66hmr5n-numeric.csl.drv
  /nix/store/jdrjzfp0ypib6a546dl1nir75jqmr9zs-hyphens.sed.drv
  /nix/store/mkm3qpqnklxlc1p9d6033f7dxk72lsy2-plantuml-1.2022.6.drv
  /nix/store/w5rw0jnhak0mkby2ckjbwzp0025ahs8b-hyphens.lua.sed.drv
  /nix/store/yxqcqkq6zc2p4k48ikbapqf03f3i4rfi-fmtutil.sed.drv
  /nix/store/nw4ysxi7513xczpsgkfmb7f11g19kcb4-texlive-combined-2021.drv
  /nix/store/jw8lghsjfds2d492fc5ywcaigjpi6mzv-tvix-doc-0.1.drv
these 1078 paths will be fetched (357.13 MiB download, 818.90 MiB unpacked):
17:35:26
@k0kada:matrix.orgk0kada (he/him)
$ time sudo nixos-rebuild switch
building the system configuration...
leaving systemd-boot 250.4 in place (250.4 is not newer)
activating the configuration...
setting up /etc...
reloading user units for thiagoko...
setting up tmpfiles
sudo nixos-rebuild switch  1.07s user 0.29s system 35% cpu 3.817 total
17:37:16
@ckie:ckie.devckie (they/them)wow.. i want that17:37:28
@k0kada:matrix.orgk0kada (he/him)This was just after a build so it is not exactly fair17:37:32
@k0kada:matrix.orgk0kada (he/him)Probably on cold cache it would take longer17:37:43
@ckie:ckie.devckie (they/them)mine was too17:37:57
@ckie:ckie.devckie (they/them)just a commit rev change17:38:05
@ckie:ckie.devckie (they/them)wow, all of that and I just got this puny little .html17:39:00
@k0kada:matrix.orgk0kada (he/him)On macOS, with a much smaller config (since my config in macOS is just Home-Manager), it takes 30s+17:39:13
@k0kada:matrix.orgk0kada (he/him)And it is why I hate macOS17:39:17
@ckie:ckie.devckie (they/them)never mind, it also has one very fancy cool diagram17:39:23
@ckie:ckie.devckie (they/them)huh17:39:46
@ckie:ckie.devckie (they/them)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.devckie (they/them)mhm17:42:27
@ckie:ckie.devckie (they/them)ryzen 5 3600, decent ram17:42:40
@ckie:ckie.devckie (they/them)but there are 10 hosts and their eval depends on one another17:42:59
@ckie:ckie.devckie (they/them) * but there are 10 hosts and their evals depends on one another17:43:03
@ckie:ckie.devckie (they/them) * 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.devckie (they/them) 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.devckie (they/them)
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.devckie (they/them)mkShell is kind of special, here's a different one19:01:20

Show newer messages


Back to Room ListRoom Version: 9