nix run fails with CMake Error #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi friends!
Right now, running the command
nix run github:ALUGatUCI/peterfetchgives the error:@KingRocco21 I am unable to reproduce this. Can you share the full build logs from
nix log /nix/store/n9chq0sq59aba2a75dx9nhj08w7mw67k-peterfetch-unstable.drvas mentioned in the error.The build failures that @galacticaledge mentioned are unrelated to this and are due to the tests on his branch for
WeatherInfonot using a properly mockedHttpClient.Here is the output of nix log:
Here is the output of nix flake metadata:
Okay, I have been able to reproduce this. I had the local copy of the source tree already in my Nix store which is why I kept having a function source tree.
It seems that setting
inputs.self.submodules = trueis not sufficient to have Nix handle dependencies correctly. I will consider adjusting how dependencies are handled to resolve this by moving away from in-tree submodules. That will have to wait for the completion of @galacticaledge's work onWeatherInfoas well as my own work on the layout system.Until then, the only way to build the project will be do make a full local clone (i.e.
git clone https://github.com/ALUGatUCI/peterfetch --recursiveand build from inside it.