Remove local eclint derivation (#537)

This commit is contained in:
Luc Perkins 2023-06-28 10:40:44 -07:00 committed by GitHub
parent b3a371bed1
commit c38de2dbc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 21 deletions

View file

@ -123,8 +123,7 @@
devShells = forAllSystems ({ system, pkgs, ... }:
let
toolchain = fenixToolchain system;
eclint = import ./nix/eclint.nix { inherit pkgs; };
check = import ./nix/check.nix { inherit pkgs eclint toolchain; };
check = import ./nix/check.nix { inherit pkgs toolchain; };
in
{
default = pkgs.mkShell {
@ -161,8 +160,7 @@
checks = forAllSystems ({ system, pkgs, ... }:
let
toolchain = fenixToolchain system;
eclint = import ./nix/eclint.nix { inherit pkgs; };
check = import ./nix/check.nix { inherit pkgs eclint toolchain; };
check = import ./nix/check.nix { inherit pkgs toolchain; };
in
{
check-rustfmt = pkgs.runCommand "check-rustfmt" { buildInputs = [ check.check-rustfmt ]; } ''

View file

@ -1,4 +1,4 @@
{ pkgs, eclint, toolchain }:
{ pkgs, toolchain }:
let
inherit (pkgs) writeShellApplication;

View file

@ -1,16 +0,0 @@
{ pkgs }:
pkgs.buildGoModule
rec {
pname = "eclint";
version = "0.3.3";
src = pkgs.fetchFromGitHub {
owner = "greut";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9i2oAqFXflWGeBumE/5njaafBRhuRQSbA/ggUS72fwk=";
};
vendorSha256 = "sha256-XAyHy7UAb2LgwhsxaJgj0Qy6ukw9szeRC9JkRb+zc0Y=";
}