octoprint: fix octoprint-dashboard
alias definition
Without the change `tests` eval fails to discover `dashboard` as it's used before it's definition in the same overlay. The eval failed as: $ nix build --no-link -f. octoprint.tests.plugins.octoprint-dashboard error: attribute 'dashboard' missing 482| } // lib.optionalAttrs config.allowAliases { 483| octoprint-dashboard = self.dashboard; | ^ 484| } After the change the eval succeeds as: $ nix-instantiate -A octoprint.tests.plugins.dashboard /nix/store/gxzicbfnpfgvs2qnpdn22aica4vlncns-python3.11-octoprint-plugin-dashboard-1.18.3.drv
This commit is contained in:
parent
01962add7e
commit
d7e85937ee
1 changed files with 1 additions and 1 deletions
|
@ -480,5 +480,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} // lib.optionalAttrs config.allowAliases {
|
} // lib.optionalAttrs config.allowAliases {
|
||||||
octoprint-dashboard = self.dashboard;
|
octoprint-dashboard = super.dashboard;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue