Files
nixpkgs/pkgs/development/python-modules/ifcopenshell
Sergei Trofimovich fa40906e25 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",
2024-10-09 08:49:38 +01:00
..