about summary refs log tree commit diff
path: root/tools/eaglemode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eaglemode/default.nix')
-rw-r--r--tools/eaglemode/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/eaglemode/default.nix b/tools/eaglemode/default.nix
index 879235b62e05..eade62c02898 100644
--- a/tools/eaglemode/default.nix
+++ b/tools/eaglemode/default.nix
@@ -22,7 +22,7 @@ rec {
   #
   # Commands are basically little Perl scripts with a command standard library
   # available. They receive the user's selected target from Eagle Mode.
-  mkCommand =
+  mkCommand = lib.makeOverridable (
     {
       # Name of the command.
       name
@@ -60,7 +60,8 @@ rec {
         else (if builtins.isPath code
              then builtins.readFile code
              else throw "code must be a string (literal code) or path to file")}
-    '');
+    '')
+  );
 
   # etcDir creates a directory layout suitable for use in the EM_USER_CONFIG_DIR
   # environment variable.