!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

228 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
@ckie:ckie.devckie (they/them)abscurd17:29:48
@ckie:ckie.devckie (they/them)
ckie@cookiemonster ~/git/nixfiles -> time c eval build nodes.cookiemonster.config.system.build.
trace: warning: cookie.secrets.irlgmail-nix: runtime is deprecated
trace: warning: Enabling both boot.enableContainers & virtualisation.containers on system.state
 
trace: warning: Using config.services.logrotate.paths.nginx is deprecated and will become unsup
Please use services.logrotate.settings instead.
 
these 11 derivations will be built:
  /nix/store/1w8sy6f3jialx0aa6b64hj5chcrwx951-system-path.drv
  /nix/store/2xv62lrsjb0dcp7qm4r2zxm3462qdqs5-unit-accounts-daemon.service.drv
  /nix/store/prwrc12gyz37xq5wnapd5ycjnswchb1s-dbus-1.drv
  /nix/store/8rsf5r7ikl7zxyfh88krai1va5jy4mgs-unit-dbus.service.drv
  /nix/store/aj4j69pahwxrcyd48lh90gsqh56ldx19-unit-systemd-fsck-.service.drv
  /nix/store/ak26lnh7kxf949pp0sdxb2x1m1aj16ji-unit-polkit.service.drv
  /nix/store/bx1x9h3nan5clfyql62iy0ki6s0p6lnb-unit-dbus.service.drv
  /nix/store/kjk6kznzbdzb14q25s6l6hax46iigsm0-system-units.drv
  /nix/store/vs0f4fw5ww13bxn4vg7h4f083mbwdys7-user-units.drv
  /nix/store/f3d34xj8b6f75svaxxllwnapjakl29sd-etc.drv
  /nix/store/ss3ffafjjcxvxq062sanp8idar3grq6m-nixos-system-cookiemonster-22.11pre-git.drv
building '/nix/store/1w8sy6f3jialx0aa6b64hj5chcrwx951-system-path.drv'...
warning: collision between `/nix/store/w057vspjjm159cb318b0xd8m44gzm2ir-net-tools-2.10/bin/host
warning: collision between `/nix/store/w057vspjjm159cb318b0xd8m44gzm2ir-net-tools-2.10/bin/ifco
warning: collision between `/nix/store/w057vspjjm159cb318b0xd8m44gzm2ir-net-tools-2.10/bin/dnsd
warning: collision between `/nix/store/w057vspjjm159cb318b0xd8m44gzm2ir-net-tools-2.10/share/ma
man/man1/dnsdomainname.1.gz'
warning: collision between `/nix/store/w057vspjjm159cb318b0xd8m44gzm2ir-net-tools-2.10/share/ma
an1/hostname.1.gz'
created 8754 symlinks in user environment
gtk-update-icon-cache: Cache file created successfully.
building '/nix/store/prwrc12gyz37xq5wnapd5ycjnswchb1s-dbus-1.drv'...
building '/nix/store/2xv62lrsjb0dcp7qm4r2zxm3462qdqs5-unit-accounts-daemon.service.drv'...
building '/nix/store/ak26lnh7kxf949pp0sdxb2x1m1aj16ji-unit-polkit.service.drv'...
building '/nix/store/aj4j69pahwxrcyd48lh90gsqh56ldx19-unit-systemd-fsck-.service.drv'...
building '/nix/store/8rsf5r7ikl7zxyfh88krai1va5jy4mgs-unit-dbus.service.drv'...
building '/nix/store/bx1x9h3nan5clfyql62iy0ki6s0p6lnb-unit-dbus.service.drv'...
building '/nix/store/vs0f4fw5ww13bxn4vg7h4f083mbwdys7-user-units.drv'...
building '/nix/store/kjk6kznzbdzb14q25s6l6hax46iigsm0-system-units.drv'...
building '/nix/store/f3d34xj8b6f75svaxxllwnapjakl29sd-etc.drv'...
building '/nix/store/ss3ffafjjcxvxq062sanp8idar3grq6m-nixos-system-cookiemonster-22.11pre-git.drv'...
/nix/store/z54fd8xzi68hks2rs6afp4a18dkhkzb7-nixos-system-cookiemonster-22.11pre-git
 
 
real    3m52.745s
user    0m14.353s
sys 0m1.142s
17:29:51
@ckie:ckie.devckie (they/them)real 3m52.745s for a basically-noop eval17:29:58
@k0kada:matrix.orgk0kada (he/him)Ohhh, 4min is really bad17:31:02
@k0kada:matrix.orgk0kada (he/him)I think my config takes 5~10s for a noop eval17:31:17
@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

Show newer messages


Back to Room ListRoom Version: 9