| 12 Sep 2022 |
mei 🌒& | and the standardized outputs are frankly a joke but the inputs part and the entrypoint spec is great and should've also been its own thing | 17:17:32 |
k0kada (he/him) | One thing that I really miss is having an input that doesn't propagate | 17:17:37 |
k0kada (he/him) | Like dev inputs | 17:17:41 |
mei 🌒& | the git tracking and source copying is absolutely stupid | 17:18:11 |
mei 🌒& | at least the impl, the idea has some merit | 17:18:27 |
mei 🌒& | like default.nix: import ./foo.nix, foo.nix empty staged file, unstaged changes with actual nix code | 17:19:11 |
mei 🌒& | and it still runs | 17:19:16 |
k0kada (he/him) | In reply to @k0kada:matrix.org Actually, maybe I should just add it to the module Well, another idea to do in NixCon Hackathon | 17:22:38 |
k0kada (he/him) | That or finally create a proper RetroArch module | 17:22:47 |
k0kada (he/him) | Or both :D | 17:22:55 |
mei 🌒& | i'd like nix to declare everything | 17:23:25 |
mei 🌒& | but rebuilds are so damn slow | 17:23:28 |
k0kada (he/him) | Yeah, it would be really nice if they could optimize the interpreter | 17:24:28 |
mei 🌒& | it's already had its insides squeezed | 17:24:50 |
k0kada (he/him) | I remember that I saw some years ago someone trying to do this, but I don't think they got really far | 17:24:55 |
mei 🌒& | there's tvix rewriting it | 17:24:59 |
k0kada (he/him) | In reply to @ckie:ckie.dev there's tvix rewriting it Did they write anything about this? | 17:25:26 |
mei 🌒& | https://tvl.fyi/blog/rewriting-nix | 17:25:37 |
k0kada (he/him) | In reply to @ckie:ckie.dev https://tvl.fyi/blog/rewriting-nix Ah ok, I saw this one | 17:26:07 |
k0kada (he/him) | In reply to @ckie:ckie.dev there's tvix rewriting it Read tweag for some reason instead of tvix | 17:26:19 |
k0kada (he/him) | In reply to @k0kada:matrix.org Ah ok, I saw this one This one is the one that I think they didn't got really far | 17:26:31 |
k0kada (he/him) | At least I remember looking at their repo and looking kinda of abandoned | 17:26:42 |
mei 🌒& | maybe I will try to poke it soon | 17:26:59 |
mei 🌒& | oh hey, there's a default.nix for the docs, lets hit that | 17:28:55 |
mei 🌒& | here, look | 17:29:47 |
mei 🌒& | abscurd | 17:29:48 |
mei 🌒& | 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 |
mei 🌒& | real 3m52.745s for a basically-noop eval | 17:29:58 |
k0kada (he/him) | Ohhh, 4min is really bad | 17:31:02 |
k0kada (he/him) | I think my config takes 5~10s for a noop eval | 17:31:17 |