mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-07-17 14:35:25 +08:00
vendorHash: make it overridable
This commit is contained in:
parent
5fc5cddafd
commit
62a7c95c8c
3 changed files with 9 additions and 9 deletions
10
default.nix
10
default.nix
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue