Skip to content

Commit

Permalink
Set fake hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
bglgwyng committed Jan 23, 2025
1 parent 387e220 commit 3b24b4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/flake/overlays.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ self, inputs, ... }:
{ self, inputs, lib, ... }:
{
# Provide overlay to add `nix-snapshotter`.
flake.overlays.default = self: super: {
Expand All @@ -10,10 +10,11 @@
buildGoModule = args: super.buildGoModule (args // super.lib.optionalAttrs (args.pname != "k3s-cni-plugins" && args.pname != "k3s-containerd") {
vendorHash = {
"sha256-fs9p6ywS5XCeJSF5ovDG40o+H4p4QmEJ0cvU5T9hwuA=" = "sha256-htanp0VOMadzoIyPUT8kOTSb58sz5DHlVBVGbY13ejU=";
"sha256-q/cRKuqXuzPcLEYD+BH82ZAc+ZgGIqKWLsM1E4uQsok=" = "sha256-tJBi4b3OGrGbc49+LNx0PXwj9NuvBB55DNvIG1VCMh8=";
}.${args.vendorHash};
# Source https://patch-diff.githubusercontent.com/raw/k3s-io/k3s/pull/9319.patch
# Remove when merged
patches = (args.patches or []) ++ [
patches = (args.patches or [ ]) ++ [
./patches/k3s-nix-snapshotter.patch
];
});
Expand Down

0 comments on commit 3b24b4b

Please sign in to comment.