vendorHash: make it overridable

This commit is contained in:
Jörg Thalheim 2023-07-15 08:19:01 +02:00 committed by mergify[bot]
parent 5fc5cddafd
commit 62a7c95c8c
3 changed files with 9 additions and 9 deletions

View file

@ -1,8 +1,8 @@
{ pkgs ? import <nixpkgs> {} }: let
vendorSha256 = "sha256-C6YyhJZyspsTQWcogDe5ERAe69KtZEv73wO76oHa8QQ=";
{ pkgs ? import <nixpkgs> {}
, vendorHash ? "sha256-C6YyhJZyspsTQWcogDe5ERAe69KtZEv73wO76oHa8QQ="
}: let
sops-install-secrets = pkgs.callPackage ./pkgs/sops-install-secrets {
inherit vendorSha256;
inherit vendorHash;
};
in rec {
inherit sops-install-secrets;
@ -20,7 +20,7 @@ in rec {
# used in the CI only
sops-pgp-hook-test = pkgs.callPackage ./pkgs/sops-pgp-hook-test.nix {
inherit vendorSha256;
inherit vendorHash;
};
unit-tests = pkgs.callPackage ./pkgs/unit-tests.nix {};
} // (pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {