diff --git a/src/platform/kevin/default.nix b/src/platform/kevin/default.nix index 0ff39d2..c87e3f7 100644 --- a/src/platform/kevin/default.nix +++ b/src/platform/kevin/default.nix @@ -88,6 +88,6 @@ in { ''; }); - ectool = final.nixpkgsOnBuildForHost.callPackage (import ../../util/ectool) { }; + ectool = final.nixpkgsOnBuildForHost.callPackage (import ../../util/ectool { boardName = "kevin"; }) { }; }); } diff --git a/src/util/ectool/default.nix b/src/util/ectool/default.nix index 430b40b..7caa5bd 100644 --- a/src/util/ectool/default.nix +++ b/src/util/ectool/default.nix @@ -1,8 +1,10 @@ +{ boardName +}: + { lib , stdenv , pkg-config , fetchFromGitHub -, boardName ? "kevin" }: let makeTarget = "build/${boardName}/util/ectool";