feature: handle git dependencies

- add git and cacert as deps to cacheDrvs
- use pkg.reference instead of version in package.json of isolated builds
  since it allow yarn to find the git repo (this will probably also fix
  oter type of deps)
This commit is contained in:
Adrian Gierakowski
2022-01-21 16:04:09 +00:00
committed by Stéphan Kochen
parent 383764ab9b
commit c999d4070c
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -245,6 +245,7 @@ export default async (project: Project, cache: Cache, report: Report) => {
`${isolatedProp} = optionalOverride (args.${overrideArg} or null) (mkIsolatedBuild { ${[
`pname = ${json(pkg.name)};`,
`version = ${json(pkg.version)};`,
`reference = ${json(devirtPkg.reference)};`,
`locators = [\n${locators}];`,
].join(` `)} });`
);