I reworked this package to allow version override for beta users, and having been using it without issue since. @adisbladis in case you check pings here, but also in case anyone else wants to take a look I’d appreciate it. Been open since June, 2024.
nix-community:master
← fidgetingbits:overrides
opened 01:56AM - 21 Jun 24 UTC
Talon has a beta version that uses non-public URLs, so can't be published direct… ly in the flake. Otherwise, the beta versions do work fine in nix. This PR refactors the way the talon packages are built to allow the unwrapped version of talon to be overridden with a beta url, along the lines of this:
```
(final: prev: {
talon-unwrapped = prev.talon-unwrapped.overrideAttrs (oldAttrs: {
version = "0.4.0-359-g5c35";
src = builtins.fetchurl {
url = inputs.nix-secrets.talon-beta-url;
sha256 = "sha256:07ia3cnr1ayckcffr3zw6l9j3fz8ywxcxjw68ba647994s2n2zfa";
};
});
```
Most Talon nix users I've spoken to are on beta, so I wanted to make this available to everyone.
I also stopped hardcoding x86_64-linux everywhere because I plan to start testing this on aarch64 darwin as well, but will be a follow up.
Formatting is done using nixfmt-rfc-style so also a few changes