Commit a52972db authored by Felix Buehler's avatar Felix Buehler
Browse files

heroic: migrate to prefetch-yarn-deps

parent 3832b75e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
, fetchFromGitHub
, fetchYarnDeps
, yarn
, fixup_yarn_lock
, prefetch-yarn-deps
, nodejs
, python3
, makeWrapper
@@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {

  nativeBuildInputs = [
    yarn
    fixup_yarn_lock
    prefetch-yarn-deps
    nodejs
    python3
    makeWrapper
@@ -62,7 +62,7 @@ in stdenv.mkDerivation rec {

    export HOME=$(mktemp -d)
    yarn config --offline set yarn-offline-mirror $offlineCache
    fixup_yarn_lock yarn.lock
    fixup-yarn-lock yarn.lock
    yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
    patchShebangs node_modules/