Unverified Commit 6003e8a0 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

doc/javascript: fix example usage of yarn hooks (#345201)

parents 99b17624 ab4dc6ca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -524,8 +524,8 @@ An example usage of the above attributes is:
  fetchYarnDeps,
  yarnConfigHook,
  yarnBuildHook,
  yarnInstallHook,
  nodejs,
  npmHooks,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -541,7 +541,7 @@ stdenv.mkDerivation (finalAttrs: {

  yarnOfflineCache = fetchYarnDeps {
    yarnLock = finalAttrs.src + "/yarn.lock";
    hash = "sha256-mo8urQaWIHu33+r0Y7mL9mJ/aSe/5CihuIetTeDHEUQ=";
    hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
  };

  nativeBuildInputs = [