Use harmonia-store-core to save on a lot of code#40
Use harmonia-store-core to save on a lot of code#40Ericson2314 wants to merge 1 commit intopdtpartners:mainfrom
harmonia-store-core to save on a lot of code#40Conversation
|
@Ericson2314 possibly dumb question — why that library in particular? To elaborate on why I'm asking — there's also the I vaguely remember NixOS/nix#13768, but it didn't seem to have progressed since, so not sure how much of an option it is/will be. But I've noticed that NixOps4's In that case, maybe it would make more sense to extend What do you think would make most sense here? |
|
My general plan is to use Re The varlink stuff is not dead, it just was the holidays, and I had other CA things to work on first. (CA needs to be on a correct foundations before dyn derivations is ready for production.) I very much intend to get back to it, so yes I hope that there will be no need for nix-ninja to actually link upstream C++ Nix. |
|
Oh, that sounds neat! And it's always nice to reduce the need for interacting with C++ - I've tried to figure out why it takes almost a second for my simple static website to rebuild on a text file change and trying to modify lockFlake to not do anything if I'm not sure how much spare time I can find (at least until I hopefully get that NGI grant, so I can focus solely on this), but if there's a list of low-hanging fruits that help move this forward, I can try taking stabs at them opportunistically. |
|
I believe that I have fixed tests, but I need to run them. |
270d3bd to
7eb100d
Compare
258b442 to
78aeebe
Compare
|
I continue to be extremely confused about the test failure. I have not been able to reproduce it locally, even when running the github action locally with act and using an old nix version. This could be a consequence of a strange kernel config option on the runner. |
84a5301 to
6d98334
Compare
|
We're adding code to skip the test in NixOS/nix#15444 |
We can get rid of nix-libstore this way. The old nix-libstore and harmonia-store-core store path types differently, so this required a fair bit of plumbing of the store path. As part of this, fix NixOS test failures. Putting packages in environment.systemPackages isn't correct, it should be done with nix.package. This happened to work with older nix, but doesn't anymore. Co-authored-by: Artemis Tosini <artemis.tosini@obsidian.systems> Co-authored-by: Amaan Qureshi <git@amaanq.com>
|
@artemist You should reopen this so I can approve it, and then we can merge. |
|
I don't think I can reopen this, so I'll make a new PR |
We can get rid of
nix-libstorethis way.The old nix-libstore and harmonia-store-core store path types differently, so this required a fair bit of plumbing of the store path.
As part of this, fix NixOS test failures. Putting packages in environment.systemPackages isn't correct, it should be done with nix.package. This happened to work with older nix, but doesn't anymore.