Remove local eclint derivation (#537)
This commit is contained in:
parent
b3a371bed1
commit
c38de2dbc5
|
@ -123,8 +123,7 @@
|
||||||
devShells = forAllSystems ({ system, pkgs, ... }:
|
devShells = forAllSystems ({ system, pkgs, ... }:
|
||||||
let
|
let
|
||||||
toolchain = fenixToolchain system;
|
toolchain = fenixToolchain system;
|
||||||
eclint = import ./nix/eclint.nix { inherit pkgs; };
|
check = import ./nix/check.nix { inherit pkgs toolchain; };
|
||||||
check = import ./nix/check.nix { inherit pkgs eclint toolchain; };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
|
@ -161,8 +160,7 @@
|
||||||
checks = forAllSystems ({ system, pkgs, ... }:
|
checks = forAllSystems ({ system, pkgs, ... }:
|
||||||
let
|
let
|
||||||
toolchain = fenixToolchain system;
|
toolchain = fenixToolchain system;
|
||||||
eclint = import ./nix/eclint.nix { inherit pkgs; };
|
check = import ./nix/check.nix { inherit pkgs toolchain; };
|
||||||
check = import ./nix/check.nix { inherit pkgs eclint toolchain; };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
check-rustfmt = pkgs.runCommand "check-rustfmt" { buildInputs = [ check.check-rustfmt ]; } ''
|
check-rustfmt = pkgs.runCommand "check-rustfmt" { buildInputs = [ check.check-rustfmt ]; } ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, eclint, toolchain }:
|
{ pkgs, toolchain }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) writeShellApplication;
|
inherit (pkgs) writeShellApplication;
|
||||||
|
|
|
@ -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=";
|
|
||||||
}
|
|
Loading…
Reference in a new issue