          options))
        genrepo
        (if (get-in package-systems [package-system :cli])
-         ((get-in package-systems [:constructor])
+         ((get-in package-systems [package-system :constructor])
           (:pkgsys-config all-options))
          (get-in package-systems [package-system :genrepo]))
        version-comparator

   :resolve-strat "thorough"
   :search-directory "."
   :search-strat "breadth-first"
   })

(def available-option-packs

                           "Must be an executable file which exists on the file system."]
                :required true]
               ["-u" "--subproc-out-format"
                "Whether to read `edn` or `json` from the exe's output"
                :default nil
                :default-desc "json"
                :validate [#(or (= "json" %)
                                (= "edn" %))
                           "Subproc output format may be either be 'edn' or 'json'"]]
               ]
              }})

