New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override package version help #25912
Comments
@ob7 use |
I figured I wouldn't need to pass the src in again since it uses the core_version variable to determine the source... |
Because the version number is only used to determine where to obtain the files, but not the actual contents of the files. Given that the expected hash is still the one given in the fetchurl call in bitcoin.nix, it finds that the expected files have already been downloaded and will not download them again. If you garbage-collect and then try to build this overridden version it will likely fail, because the downloaded files will not match the hash given in the derivation. So you'll still want to override src and pass in the correct sha256 value. |
I'm using the standard nixos channel, but sometimes the packages within there are outdated.
I'm trying to install bitcoin 0.14.1, the version currently in stable is 0.12.0.
So I am trying to override the version like so:
I'm using the same variable names that is within the bitcoin.nix file located at pkgs/applications/altcoins/bitcoin.nix
But it appears to make no difference ( other than it doing a bare build of bitcoin which takes a while ).... but the version it installs is still 0.12.0.
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: