nix: install golangci-lint in devel shell

This way we don't need to depend on `make deps`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-04-14 15:28:42 +02:00
parent 801ec92c11
commit 234c2b0400
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 1 additions and 6 deletions

View File

@ -21,12 +21,6 @@ pipeline {
}
stages {
stage('Deps') {
steps { script {
nix.develop('make deps', pure: false)
} }
}
stage('Lint') {
steps { script {
nix.develop('make lint', pure: false)

View File

@ -49,6 +49,7 @@
default = mkShell {
GOFLAGS = "-trimpath"; # Drop -mod=vendor
inputsFrom = [ packages.${system}.node ];
buildInputs = with pkgs; [ golangci-lint ];
nativeBuildInputs = lib.optional stdenv.isDarwin [
(pkgs.xcodeenv.composeXcodeWrapper { version = "14.2"; })
];