Skip to content

Commit

Permalink
genpolicy: fix hashes
Browse files Browse the repository at this point in the history
The hashes were incorrect. My guess is that we forgot to update them
when updating kata and didn't notice because we're not actually using
those files right now.
  • Loading branch information
Freax13 committed Jul 16, 2024
1 parent 272cfa8 commit be5142d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/by-name/kata/genpolicy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
settings = fetchurl {
name = "${pname}-${version}-settings";
url = "https://raw.githubusercontent.com/kata-containers/kata-containers/${version}/src/tools/genpolicy/genpolicy-settings.json";
hash = "sha256-Rlm1BOo0/yNHBf17p2Mk7ta6VbaGcrgezCk8mraFPtU=";
hash = "sha256-4uBxU71wwvS2vMVxSizTBmy+C+VXIeAHgcrATgaqgD4=";
downloadToTemp = true;
recursiveHash = true;
postFetch = "install -D $downloadedFile $out/genpolicy-settings.json";
Expand All @@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec {
rules = fetchurl {
name = "${pname}-${version}-rules";
url = "https://raw.githubusercontent.com/kata-containers/kata-containers/${version}/src/tools/genpolicy/rules.rego";
hash = "sha256-J4WIgEgCzm3vEji9f/0kF+gLdE8ziio4PAyRWUJjqZk=";
hash = "sha256-AAO0bsM1pcsafR6YHbqH9NbPMFPQty9o+jLSUmYfScs=";
downloadToTemp = true;
recursiveHash = true;
postFetch = "install -D $downloadedFile $out/genpolicy-rules.rego";
Expand Down

0 comments on commit be5142d

Please sign in to comment.