Unverified Commit 5c01bd9d authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

ci/eval/utils: refactor to use lib.init

parent 350a469f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ rec {
      splittedPath = lib.splitString "." packagePlatformPath;

      # ["python312Packages" "numpy" "aarch64-linux"] -> ["python312Packages" "numpy"]
      packagePath = lib.sublist 0 (lib.length splittedPath - 1) splittedPath;
      packagePath = lib.init splittedPath;

      # "python312Packages.numpy"
      name = lib.concatStringsSep "." packagePath;