{ pkgs }: with builtins; let inherit (pkgs) lib; in rec { importPathStore = p: "${append ../. "/${p}"}"; mkPathable = s: if s.type == "local" then toString (lib.path.append ../. s.outPath) else toString s.outPath ; mkNixPath = sources: lib.attrsets.mapAttrsToList (k: v: "${k}=${mkPathable v}") (removeAttrs sources [ "__functor" ]); }