gitlab: migrate to prefetch-yarn-deps (#269307)

authored by Felix Bühler and committed by GitHub 631766b8 d77bda72

+3 -3
+3 -3
pkgs/applications/version-management/gitlab/default.nix
··· 1 1 { stdenv, lib, fetchurl, fetchpatch, fetchFromGitLab, bundlerEnv 2 2 , ruby_3_1, tzdata, git, nettools, nixosTests, nodejs, openssl 3 3 , gitlabEnterprise ? false, callPackage, yarn 4 - , fixup_yarn_lock, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config 4 + , prefetch-yarn-deps, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config 5 5 }: 6 6 7 7 let ··· 53 53 sha256 = data.yarn_hash; 54 54 }; 55 55 56 - nativeBuildInputs = [ rubyEnv.wrappedRuby rubyEnv.bundler nodejs yarn git cacert ]; 56 + nativeBuildInputs = [ rubyEnv.wrappedRuby rubyEnv.bundler nodejs yarn git cacert prefetch-yarn-deps ]; 57 57 58 58 patches = [ 59 59 # Since version 12.6.0, the rake tasks need the location of git, ··· 88 88 yarn config --offline set yarn-offline-mirror $yarnOfflineCache 89 89 90 90 # Fixup "resolved"-entries in yarn.lock to match our offline cache 91 - ${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock 91 + fixup-yarn-lock yarn.lock 92 92 93 93 yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive 94 94