Closed Thieso closed 3 months ago
It's likely because you try build the ROS packages against a "random" version of nixpkgs and not the version, that was used for populating the cache. Try adding
nixpkgs.follows = "ros-flake/nixpkgs";
to the inputs of your flake.
BTW, this was the reason why I submitted #359 yesterday :-) However, if I do the change, I still have to compile some packages. I'm not sure why. Maybe, it has something to do with #353.
Ah perfect thank you. Yes #359 is fully supported by me. I struggled a bit and created my example from the flake.nix
files in the issues.
Thanks for the help.
So after all, this does not fix the issue. It creates a different amount of packages to build, such that I assume the new package versions are used but it still builds >100 packages. Can someone confirm that the Cachix is working for them for a simple example?
There's definitely something wrong with the GitHub actions build, so probably many packages aren't being built.
Ah I see. I will try to take a look but sadly I am still a beginner in Nix.
Ok that works now again, Thank you
Hello,
I am trying to install a ros environment and as far as I understand I should not need to build all the packages when using the binary cache. However, when I use the
flake.nix
:and then start the shell with
nix develop
it starts building >100 packages which is not what I would expect. Am I doing something wrong?
Thanks for the help