| 12 Sep 2022 |
k0kada (he/him) | Unless, of course, I am using macOS | 17:31:49 |
ckie (they/them) | i am not sure how to profile this | 17:31:50 |
k0kada (he/him) | macOS+nix is painful | 17:32:07 |
k0kada (he/him) | I just use it because everything else is even worse | 17:32:17 |
ckie (they/them) | maybe i can give nix a tracy integration | 17:32:40 |
ckie (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 (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 (they/them) | wow.. i want that | 17:37:28 |
k0kada (he/him) | This was just after a build so it is not exactly fair | 17:37:32 |
k0kada (he/him) | Probably on cold cache it would take longer | 17:37:43 |
ckie (they/them) | mine was too | 17:37:57 |
ckie (they/them) | just a commit rev change | 17:38:05 |
ckie (they/them) | wow, all of that and I just got this puny little .html | 17:39:00 |
k0kada (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 (he/him) | And it is why I hate macOS | 17:39:17 |
ckie (they/them) | never mind, it also has one very fancy cool diagram | 17:39:23 |
ckie (they/them) | huh | 17:39:46 |
ckie (they/them) | i wonder how that happened | 17:39:57 |
k0kada (he/him) | In reply to @ckie:ckie.dev mine was too Ohh, I see. This is really painful | 17:42:10 |
k0kada (he/him) | Do you have a NVMe SSD? | 17:42:23 |
ckie (they/them) | mhm | 17:42:27 |
ckie (they/them) | ryzen 5 3600, decent ram | 17:42:40 |
ckie (they/them) | but there are 10 hosts and their eval depends on one another | 17:42:59 |
ckie (they/them) | * but there are 10 hosts and their evals depends on one another | 17:43:03 |
ckie (they/them) | * but there are 10 hosts and their evals depend on one another | 17:43:05 |
k0kada (he/him) | TIL: using builtins.trace to print user friendly messages is a bad idea :D | 18:58:46 |
k0kada (he/him) | Who would know right? /s | 18:58:50 |
ckie (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 (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 (they/them) | mkShell is kind of special, here's a different one | 19:01:20 |