mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-06 07:53:06 +00:00
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:
parent
801ec92c11
commit
234c2b0400
@ -21,12 +21,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Deps') {
|
|
||||||
steps { script {
|
|
||||||
nix.develop('make deps', pure: false)
|
|
||||||
} }
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Lint') {
|
stage('Lint') {
|
||||||
steps { script {
|
steps { script {
|
||||||
nix.develop('make lint', pure: false)
|
nix.develop('make lint', pure: false)
|
||||||
|
|||||||
@ -49,6 +49,7 @@
|
|||||||
default = mkShell {
|
default = mkShell {
|
||||||
GOFLAGS = "-trimpath"; # Drop -mod=vendor
|
GOFLAGS = "-trimpath"; # Drop -mod=vendor
|
||||||
inputsFrom = [ packages.${system}.node ];
|
inputsFrom = [ packages.${system}.node ];
|
||||||
|
buildInputs = with pkgs; [ golangci-lint ];
|
||||||
nativeBuildInputs = lib.optional stdenv.isDarwin [
|
nativeBuildInputs = lib.optional stdenv.isDarwin [
|
||||||
(pkgs.xcodeenv.composeXcodeWrapper { version = "14.2"; })
|
(pkgs.xcodeenv.composeXcodeWrapper { version = "14.2"; })
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user