5 ms·
Just let me a pin a single package to a version number, for the love of God.
by AprilArcus 4y ago
Just let me a pin a single package to a version number, for the love of God.
- kaba0 4y agoWhat does that version mean? What compile flags was it compiled with, which compiler, etc?
- grumbel 4y agoYou can do that with something like this: pkgs.yourpackage.overrideAttrs { prev: { src = fetchurl { url = "..."; sha256 = "..."; }; }} Bit annoying that you have to specific the full URL instead of just the 'version' number, but it'll work. With flakes you can just add a 'ref' or 'rev' to the URL: nix run "github:juser/software?ref=v0.4.1" If you want to override a package dependency across 'override'.