Loading pkgs/development/coq-modules/mathcomp/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ let mathcomp_ = package: let mathcomp-deps = lib.optionals (package != "single") (map mathcomp_ (lib.head (lib.splitList (lib.pred.equal package) packages))); pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}"; pkgpath = if package == "single" then "." else package; pname = if package == "single" then "mathcomp" else "mathcomp-${package}"; pkgallMake = '' echo "all.v" > Make Loading @@ -92,6 +92,8 @@ let then patchShebangs etc/buildlibgraph fi '' + '' # handle mathcomp < 2.4.0 which had an extra base mathcomp directory test -d mathcomp && cd mathcomp cd ${pkgpath} '' + lib.optionalString (package == "all") pkgallMake; Loading Loading
pkgs/development/coq-modules/mathcomp/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ let mathcomp_ = package: let mathcomp-deps = lib.optionals (package != "single") (map mathcomp_ (lib.head (lib.splitList (lib.pred.equal package) packages))); pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}"; pkgpath = if package == "single" then "." else package; pname = if package == "single" then "mathcomp" else "mathcomp-${package}"; pkgallMake = '' echo "all.v" > Make Loading @@ -92,6 +92,8 @@ let then patchShebangs etc/buildlibgraph fi '' + '' # handle mathcomp < 2.4.0 which had an extra base mathcomp directory test -d mathcomp && cd mathcomp cd ${pkgpath} '' + lib.optionalString (package == "all") pkgallMake; Loading