Skip to content

Commit

Permalink
squid: fix invalid url
Browse files Browse the repository at this point in the history
This resolves #380914.
  • Loading branch information
bzadm committed Feb 10, 2025
1 parent 618624a commit b657062
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/by-name/sq/squid/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ stdenv.mkDerivation (finalAttrs: {
version = "6.13";

src = fetchurl {
url = "http://www.squid-cache.org/Versions/v6/squid-${finalAttrs.version}.tar.xz";
url = "https://github.com/squid-cache/squid/releases/download/SQUID_${
builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version
}/squid-${finalAttrs.version}.tar.xz";
hash = "sha256-Iy4FZ5RszAEVZTw8GPAeg/LZzEnEPZ3q2LMZrws1rVI=";
};

Expand Down

0 comments on commit b657062

Please sign in to comment.