From 3069e3d5647e5a2688309b03d6af4295c64bd06c Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 14 Dec 2023 11:17:47 +0000 Subject: [PATCH] nix: migrate from vendorSha256 to vendorHash --- nix/pkgs/authentik/goserver/default.nix | 2 +- nix/pkgs/crane.nix | 2 +- nix/pkgs/heptapod-runner/default.nix | 2 +- nix/pkgs/secretsync/default.nix | 2 +- nix/pkgs/vault-acme/default.nix | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/pkgs/authentik/goserver/default.nix b/nix/pkgs/authentik/goserver/default.nix index c49454e9fa..9cfe2e414e 100644 --- a/nix/pkgs/authentik/goserver/default.nix +++ b/nix/pkgs/authentik/goserver/default.nix @@ -4,6 +4,6 @@ pkgs.buildGoModule { pname = "authentik-server"; inherit src version; - vendorSha256 = "sha256:1jn30nca1g0853rj0wrmqc4x3pfvr2kf8kklnxzvqg471ywlhln4"; + vendorHash = "sha256:1jn30nca1g0853rj0wrmqc4x3pfvr2kf8kklnxzvqg471ywlhln4"; subPackages = "cmd/server"; } diff --git a/nix/pkgs/crane.nix b/nix/pkgs/crane.nix index 1a40bf5bbf..3e0f8076c3 100644 --- a/nix/pkgs/crane.nix +++ b/nix/pkgs/crane.nix @@ -14,6 +14,6 @@ pkgs.buildGoModule rec { sha256 = "sha256:07q4fjkjxn2qbqvj2him7p7rw1309yhc0mnlpnvfb2m9ias0infy"; }; - vendorSha256 = null; + vendorHash = null; doCheck = false; } diff --git a/nix/pkgs/heptapod-runner/default.nix b/nix/pkgs/heptapod-runner/default.nix index 5c1fa858f5..a17256f862 100644 --- a/nix/pkgs/heptapod-runner/default.nix +++ b/nix/pkgs/heptapod-runner/default.nix @@ -24,7 +24,7 @@ in ]; src = newSrc; - vendorSha256 = null; + vendorHash = null; patches = [ ./fix-shell-path.patch ]; diff --git a/nix/pkgs/secretsync/default.nix b/nix/pkgs/secretsync/default.nix index ed41bf2eef..af24b93372 100644 --- a/nix/pkgs/secretsync/default.nix +++ b/nix/pkgs/secretsync/default.nix @@ -9,7 +9,7 @@ let version = "0.0.1"; src = ./.; - vendorSha256 = "0n8dvdgn6izb4qcjdcsqjzximkkpf5i2xb4ap5aa2n8c36w2dn5h"; + vendorHash = "sha256:0n8dvdgn6izb4qcjdcsqjzximkkpf5i2xb4ap5aa2n8c36w2dn5h"; subPackages = [ "." ]; diff --git a/nix/pkgs/vault-acme/default.nix b/nix/pkgs/vault-acme/default.nix index ec7bc82da4..181b52b4fe 100644 --- a/nix/pkgs/vault-acme/default.nix +++ b/nix/pkgs/vault-acme/default.nix @@ -21,7 +21,7 @@ buildGoModule rec { patches = [ ./just-add-a-sleep.patch ]; - vendorSha256 = "sha256:1c58470n843yh9jd010xxaqzg9lrpaw9w969ygqb6h3x8k1my7jp"; + vendorHash = "sha256:1c58470n843yh9jd010xxaqzg9lrpaw9w969ygqb6h3x8k1my7jp"; subPackages = [ "cmd/acme"