Commit Graph

212 Commits

Author SHA1 Message Date
Stéphan Kochen b53ba5743b Merge pull request #9 from DeversiFi/feature/hangle-git-dependencies
feature: handle git dependencies
2022-01-25 20:03:21 +01:00
Adrian Gierakowski f957a93479 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)
2022-01-21 16:04:09 +00:00
Adrian Gierakowski dd30036316 bugfix: inject-build: storedBuildState handling
call restoreInstallState so that state written by previous invocations
to inject-build doesn't get lost

before this fix, all but the last one of the injected isolated builds
would be re-run when building main package
2022-01-21 15:48:22 +00:00
Stéphan Kochen e88f28c29a Fix build 2022-01-04 15:20:59 +01:00
Stéphan Kochen 645da1ae02 Account for mismatch in 'fetch-one' filename 2022-01-04 15:20:16 +01:00
Stéphan Kochen abd295cc50 Revert "Account for mismatch in 'fetch-one' filename"
This reverts commit 7122fcf881.
2022-01-04 15:01:48 +01:00
Stéphan Kochen 7122fcf881 Account for mismatch in 'fetch-one' filename 2022-01-04 14:39:51 +01:00
Joe DeVivo cface0f015 Move runHook preConfigure so it can patch deps 2022-01-04 13:44:26 +01:00
Stéphan Kochen e631ca97c8 Update UPGRADING.md 2021-12-14 09:56:05 +01:00
Stéphan Kochen 00b7adf473 Upgrade dependencies, require Yarn 3.1.0 2021-12-14 09:55:35 +01:00
Stéphan Kochen 16b661b7aa Upgrade self to Yarn 3.1.1 2021-12-14 09:50:25 +01:00
Stéphan Kochen d2c46886a6 Handle Yarn cache entries without checksums 2021-12-14 09:50:00 +01:00
Stéphan Kochen b6033729fe Revert "Remove --immutable-cache in yarn install command"
This reverts commit 2635212b77.
2021-12-14 09:39:33 +01:00
Stéphan Kochen 2635212b77 Remove --immutable-cache in yarn install command
Since Yarn 3.1.0, some cache items no longer have checksums, mostly
derived items like patched packages. Nixify skipped these, but that has
started causing `--immutable-cache` to complain about the missing
entries.

Instead, we will have to rely on the Nix sandbox for purity, so that
Yarn only does local operations (like patching) when to fill in these
missing cache entries.
2021-12-13 16:35:27 +01:00
Stéphan Kochen f6ce801fd9 Simple dependency upgrades 2021-09-01 20:44:02 +02:00
Stéphan Kochen a3b66846ab Add upgrade notes 2021-09-01 20:41:09 +02:00
Stéphan Kochen 2757cfd115 Upgrade to Yarn v3 2021-08-15 21:36:55 +02:00
Stéphan Kochen 47e5ae1b79 Add docs on changes 2021-04-30 15:53:18 +02:00
Stéphan Kochen 153254f62a Isolated builds of dependencies 2021-04-30 15:10:47 +02:00
Stéphan Kochen 0f378786d6 Upgrade dependencies 2021-04-30 15:10:32 +02:00
Stéphan Kochen 5c67dd53bc Pin Yarn dependencies to minimum supported version 2021-04-30 15:09:44 +02:00
Stéphan Kochen e54893e726 Sort cache entry listing 2020-12-03 11:43:46 +01:00
Stéphan Kochen 60d9093d93 Fix 'argument list too long' during build 2020-12-02 16:23:02 +01:00
Stéphan Kochen 513b296d93 Upgrade GitHub Actions deps 2020-12-01 15:19:34 +01:00
Stéphan Kochen ce4172544a Don't generate default.nix if flake.nix exists 2020-12-01 15:15:02 +01:00
Stéphan Kochen 2bdaee06c6 Add Cachix to CI 2020-09-29 21:58:34 +02:00
Stéphan Kochen 4a9305989f Add missing nixpkgs in CI 2020-09-29 19:35:02 +02:00
Stéphan Kochen f171115983 Use nix-quick-install-action in CI 2020-09-29 19:28:07 +02:00
Stéphan Kochen 9e7a15a264 Use NODE_OPTIONS to set PnP require in wrapper
Fixes PnP in subprocesses.
2020-09-28 19:22:56 +02:00
Stéphan Kochen 48f6aac480 Link to related projects 2020-09-27 11:38:15 +02:00
Stéphan Kochen 00b404aad7 Passthru the nodejs derivation used 2020-09-27 11:34:42 +02:00
Stéphan Kochen c0a00b0637 Fix preloading missing some files 2020-08-30 08:59:50 +02:00
Stéphan Kochen 2de21df9ef More CI testing 2020-08-29 11:40:39 +02:00
Stéphan Kochen 05ab8b3d00 Slight rewording of buildInputs 2020-08-29 11:32:21 +02:00
Stéphan Kochen 2681282af5 Fix build on Node.js 10 2020-08-29 10:55:21 +02:00
Stéphan Kochen 8d911ac7b0 Add CI workflow 2020-08-29 10:51:05 +02:00
Stéphan Kochen bb89204596 Tweak TypeScript options 2020-08-29 10:30:46 +02:00
Stéphan Kochen 0abccd0d90 Upgrade dependencies 2020-08-29 10:26:13 +02:00
Stéphan Kochen 2b47f35eba Update readme for new Yarn release 2020-08-29 10:18:29 +02:00
Stéphan Kochen a1728424e5 Clarify Yarn installation 2020-08-28 08:47:01 +02:00
Stéphan Kochen 6af90d0f4d Small readme tweaks 2020-08-28 08:21:06 +02:00
Stéphan Kochen ffefd9863d Add a license 2020-08-27 18:50:30 +02:00
Stéphan Kochen d6d0d709d2 Add missing link to readme 2020-08-27 18:44:47 +02:00
Stéphan Kochen 239cad3af8 Tweak docs style 2020-08-27 18:00:00 +02:00
Stéphan Kochen 71aaede50d Tweak docs 2020-08-27 17:57:04 +02:00
Stéphan Kochen d3c6821257 Don't touch 'yarn dlx' installations 2020-08-27 17:20:56 +02:00
Stéphan Kochen 5f1a03eefc Fix node path in bin wrappers 2020-08-26 10:59:42 +02:00
Stéphan Kochen a1fe6181f1 Add some settings 2020-08-26 09:10:07 +02:00
Stéphan Kochen ccfc83af5d Docs, and rebuild dist 2020-08-25 22:48:31 +02:00
Stéphan Kochen fcba68fd6f Preload cache into Nix store 2020-08-25 22:37:26 +02:00