Skip to content

Commit

Permalink
deps: go: 1.20.7 -> 1.20.8
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
  • Loading branch information
katexochen committed Mar 6, 2024
1 parent 3eac02f commit 73c5ede
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
, ...
}: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {
inherit system;
overlays = [ (import ./overlays/nixpkgs.nix) ];
};
inherit (pkgs) lib;
treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
in
Expand Down
11 changes: 11 additions & 0 deletions overlays/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
final: prev: {
# Drop when the update reaches the unstable channel:
# https://nixpk.gs/pr-tracker.html?pr=293563
go = prev.go.overrideAttrs (finalAttrs: prevAttrs: {
version = "1.21.8";
src = final.fetchurl {
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
hash = "sha256-3IBs91qH4UFLW0w9y53T6cyY9M/M7EK3r2F9WmWKPEM=";
};
});
}

0 comments on commit 73c5ede

Please sign in to comment.