| 23 Feb 2024 |
maralorn | The easiest way right now is to run nom-build on the system closure expression right before running nixos-rebuild. | 09:00:37 |
maralorn | I think to really use nom in nixos-rebuild we need to add a tiny bit of behavior to nom. | 09:01:31 |
maralorn | I will get to it sometime this year. | 09:01:50 |
Philip Taron (UTC-8) | In reply to @maralorn:maralorn.de I think to really use nom in nixos-rebuild we need to add a tiny bit of behavior to nom. What're you thinking? | 16:20:55 |
maralorn | If I remember correctly nixos-rebuild calls a few nix commands which are currently not supported by the nom drop in. | 16:24:48 |
maralorn | I fix would be trivial, but I never dared to approach that because it requires adding nom specific plumbing directly in the nixpkgs code. Although at this point I think nom has so much traction in the community that opt-in nom support in nixos-rebuild would probably be accepted. | 16:27:19 |
maralorn | * A fix would be trivial, but I never dared to approach that because it requires adding nom specific plumbing directly in the nixpkgs code. Although at this point I think nom has so much traction in the community that opt-in nom support in nixos-rebuild would probably be accepted. | 16:27:25 |
Philip Taron (UTC-8) | It looks like there's just one place that nix-build is called in nixos-rebuild. I'll see if I can substitute it in my own overlay. | 16:28:22 |
Philip Taron (UTC-8) | (Thank you for nom, btw. Beautiful piece of work.) | 16:29:26 |