4 ms·
> Many projects have build instructions that depend on downloading stuff in a complex manner that cannot be easily abstracted/shaped to what Nix expects. The b
by ParetoOptimal 4y ago
> Many projects have build instructions that depend on downloading stuff in a complex manner that cannot be easily abstracted/shaped to what Nix expects.
The basic way to fix this with nix is:
1) download the thing with a fixed ouput derivation: a derivation who's source has the URL and checksum of the artifact
2) copy the artifact from the nix store where said build tool stores it
- rgoulter 4y agoIn nix expressions, sure; but bob uses YAML, and uses that to drive nix.
- deleted 4y ago[deleted]
- zuzuleinen 4y agoYes, basically you can list your packages in the yaml file and have them installed. But you can also add .nix expression files in the same bob.yaml that can be used to build your packages when a package is not found on Nixpkgs.