the.bay.news

Nixpkgs should standardize on `srcHash`

NixOS Discourse
Nixpkgs should standardize on `srcHash`
In a recent post, I opined about how the standard version bump pattern is currently this: my-package = super.my-package.overrideAttrs (finalAttrs: prevAttrs: { version = "..."; src = prevAttrs.src.override { tag = "v${finalAttrs.version}"; hash = "..."; }; }); We’ve started to standardize on the whole finalAttrs.version thing, which is good — when a package uses that internally, the override simplifies to: my-package = super.my-package.overrideAttrs (prevAttrs: {...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.