mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
nvidia-docker: unbreak the runc symlink
(cherry picked from commit 1e1eb8ba6e
)
This commit is contained in:
parent
a6671578ff
commit
2b3eaf55af
@ -47,6 +47,14 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
preConfigure = ''
|
||||
# Ensure the runc symlink isn't broken:
|
||||
if ! readlink --quiet --canonicalize-existing "${isolatedContainerRuntimePath}/runc" ; then
|
||||
echo "${isolatedContainerRuntimePath}/runc: broken symlink" >&2
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
|
||||
checkFlags =
|
||||
let
|
||||
skippedTests = [
|
||||
|
@ -24197,7 +24197,7 @@ with pkgs;
|
||||
|
||||
nvidia-docker = mkNvidiaContainerPkg {
|
||||
name = "nvidia-docker";
|
||||
containerRuntimePath = "${docker}/libexec/docker/runc";
|
||||
containerRuntimePath = "${docker}/libexec/docker/docker";
|
||||
configTemplate = ../applications/virtualization/nvidia-docker/config.toml;
|
||||
additionalPaths = [ (callPackage ../applications/virtualization/nvidia-docker { }) ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user