mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 00:54:40 +00:00
python3Packages.ifcopenshell.tests: fix the eval
Without the change the eval fails as: $ nix build --no-link -f. python3Packages.ifcopenshell.tests error: … while evaluating the attribute 'version' at pkgs/development/python-modules/ifcopenshell/default.nix:185:7: 184| tests = { 185| version = testers.testVersion { command = "IfcConvert --version"; }; | ^ 186| }; … from call site at pkgs/development/python-modules/ifcopenshell/default.nix:185:17: 184| tests = { 185| version = testers.testVersion { command = "IfcConvert --version"; }; | ^ 186| }; error: function 'testVersion' called without required argument 'package' at pkgs/build-support/testers/default.nix:66:5: 65| testVersion = 66| { package, | ^ 67| command ? "${package.meta.mainProgram or package.pname or package.name} --version",
This commit is contained in:
parent
ddcf7feb63
commit
fa40906e25
@ -41,6 +41,7 @@
|
||||
shapely,
|
||||
typing-extensions,
|
||||
## additional deps for tests
|
||||
ifcopenshell,
|
||||
lxml,
|
||||
mathutils,
|
||||
networkx,
|
||||
@ -182,7 +183,10 @@ buildPythonPackage rec {
|
||||
passthru = {
|
||||
updateScript = gitUpdater { rev-prefix = "ifcopenshell-python-"; };
|
||||
tests = {
|
||||
version = testers.testVersion { command = "IfcConvert --version"; };
|
||||
version = testers.testVersion {
|
||||
command = "IfcConvert --version";
|
||||
package = ifcopenshell;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user