mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 16:57:40 +03:00
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
@ -480,5 +480,5 @@ in
|
||||
};
|
||||
};
|
||||
} // lib.optionalAttrs config.allowAliases {
|
||||
octoprint-dashboard = self.dashboard;
|
||||
octoprint-dashboard = super.dashboard;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user