Merge pull request #204072 from veehaitch/gh-runner-config

Sandro 51da4132 47ecb22f

Changed files
+7 -1
pkgs
development
tools
continuous-integration
github-runner
+7 -1
pkgs/development/tools/continuous-integration/github-runner/default.nix
···
, fetchFromGitHub
, fetchurl
, git
+
, glibc
, icu
, libkrb5
, lib
···
substituteInPlace $out/lib/run.sh --replace '"$DIR"/bin' '"$DIR"/lib'
substituteInPlace $out/lib/config.sh --replace './bin' $out'/lib' \
--replace 'source ./env.sh' $out/bin/env.sh
-
+
'' + lib.optionalString stdenv.isLinux ''
+
# Make binary paths absolute
+
substituteInPlace $out/lib/config.sh \
+
--replace 'ldd' '${glibc}/bin/ldd' \
+
--replace '/sbin/ldconfig' '${glibc}/bin/ldconfig'
+
'' + ''
# Remove uneeded copy for run-helper template
substituteInPlace $out/lib/run.sh --replace 'cp -f "$DIR"/run-helper.sh.template "$DIR"/run-helper.sh' ' '
substituteInPlace $out/lib/run-helper.sh --replace '"$DIR"/bin/' '"$DIR"/'