mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
github-runner: fix wrong path in the config file
At runtime, we currently have errors like this: ``` Dec 09 13:58:02 ci1 dwx059sqrz6hh2v1ml8y70a22pkhaxdb-github-runner-12-unregister-runner.sh[2571025]: ldd: /nix/store/7zskpnpyzivfzkzz861bf8mmqm36qv6y-dotnet-runtime-wrapped-8.0.11/shared/Microsoft.NETCore.App/8.0.11//libcoreclr.so: No such file or directory Dec 09 13:58:03 ci1 fgpf4l2h5daz7yb663y0vs8f397ydwmz-github-runner-12-configure.sh[2571116]: ldd: /nix/store/7zskpnpyzivfzkzz861bf8mmqm36qv6y-dotnet-runtime-wrapped-8.0.11/shared/Microsoft.NETCore.App/8.0.11//libcoreclr.so: No such file or directory ```
This commit is contained in:
parent
20dc18a465
commit
2f8de5b0db
@ -243,7 +243,7 @@ buildDotnetModule rec {
|
||||
+ lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
substituteInPlace $out/lib/github-runner/config.sh \
|
||||
--replace 'command -v ldd' 'command -v ${glibc.bin}/bin/ldd' \
|
||||
--replace 'ldd ./bin' '${glibc.bin}/bin/ldd ${dotnet-runtime}/shared/Microsoft.NETCore.App/${dotnet-runtime.version}/' \
|
||||
--replace 'ldd ./bin' '${glibc.bin}/bin/ldd ${dotnet-runtime}/share/dotnet/shared/Microsoft.NETCore.App/${dotnet-runtime.version}/' \
|
||||
--replace '/sbin/ldconfig' '${glibc.bin}/bin/ldconfig'
|
||||
''
|
||||
+ ''
|
||||
|
Loading…
Reference in New Issue
Block a user