mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-04-09 02:14:08 +00:00
fix build for 21.11
This commit is contained in:
parent
530098c902
commit
a7512754f0
1 changed files with 2 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
|||
{ pkgs ? import <nixpkgs> {} }: let
|
||||
vendorSha256 = "sha256-nqA2zzCsWXCllpsss0tjjo4ivi3MVuEM3W6dEZc5KAc=";
|
||||
|
||||
buildGoModule = if pkgs.lib.versionOlder pkgs.go.version "1.17" then pkgs.buildGo117Module else pkgs.buildGoModule;
|
||||
sops-install-secrets = pkgs.callPackage ./pkgs/sops-install-secrets {
|
||||
inherit buildGoModule;
|
||||
inherit vendorSha256;
|
||||
};
|
||||
in rec {
|
||||
|
|
Loading…
Add table
Reference in a new issue