mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 05:44:13 +00:00
nvidia-docker: unbreak the runc symlink
This commit is contained in:
parent
5f4b6ea5dd
commit
1e1eb8ba6e
@ -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 = [
|
||||
|
@ -24213,7 +24213,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