mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-15 17:50:51 +00:00
13 lines
343 B
Nix
13 lines
343 B
Nix
{ sops-install-secrets, golangci-lint }:
|
|
sops-install-secrets.overrideAttrs (old: {
|
|
name = "golangci-lint";
|
|
nativeBuildInputs = old.nativeBuildInputs ++ [ golangci-lint ];
|
|
buildPhase = ''
|
|
HOME=$TMPDIR golangci-lint run --timeout 360s
|
|
'';
|
|
doCheck = false;
|
|
installPhase = ''
|
|
touch $out $unittest
|
|
'';
|
|
fixupPhase = ":";
|
|
})
|