add a link on every pill to this repo, possibly in the footer: "having trouble? check issues or create one nix-shell graphviz.nix.Once I found this issue, I was actually happy with all I learnt. Add a chapter/section earlier on pinning nixpkgs and expanding on requirements that support reproducibility.2-star solution: warnĪdd a link from that section to this issue: Currently broken: check #107 3-star solution: fixĪpply fix straight without much explanation. To one familiar with the wisdom of the crowds and Social Architecture, red alerts should fire off all over right now in the nix community. Just don't anything but let's not fool ourselves, this is pretty much the gate to the community for new-joiners and it's broken. These are just thoughts from a noob but with a steer from legitimate community members, I feel I could help with a 2- maybe 3-star solution which should still be better than 1-star nothing in the short term. My understanding of how to fix it is explained below. Please increment the counter, I am another victim :) So does anyone know what is missing to make the example work with the current nixpkgs version? The comment #107 (comment) by seems to provide some hints. The pills could indeed be versioned in such a way that it is made clear with which version of nixpkgs they were produced and henceforth offer no guarantee of working with other versions.Īs a newcomer to the nix community I would be happy to help with updating the documentation so that it works with a recent version. Even better would be to be able to reproduce the example with the current or a recent version of nixpkgs. Being able to reproduce an example with a previous version is useful and much better than not being able to reproduce the example at all. Thanks a lot Your post allowed me to reproduce the example.Īs a general feedback, I would prefer updating the pill so that it works with the current version of nixpkgs since my intent in learning nix is to work with it in its current state and to evolve along with it. nix-build has a -check option will attempt to rebuild the derivation and verify that the package produced the same build outputs.Īlso this determinism is dependent on what's included in the expression, the line pkgs = import dev/random), so side-effectful things can cause non-determinism. There's limits to getting binary reproducibility as someone can find a source of randomness (e.g. Wasn't Nix supposed to be reproducible? This thread seems to prove that Nix is not even close to being reproducible.Ĭan someone explain this? What exactly are the limits to Nix's reproducibility? If you want read to png's, libpng needs to be added to buildInputs. This is not present in the nix-pills example, but it's also not meant to serve as an exhaustive way to build graphviz. To the original post, the configure step needs to pick up libpng for it to compile and link against it to enable the ability to read png's.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |