1
0
Fork 0
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:
Jörg Thalheim 2022-05-15 08:07:37 +02:00
parent 530098c902
commit a7512754f0
No known key found for this signature in database

View file

@ -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 {