You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Thank you for all of the information you are providing in your blog and in this repo.
I am rather new to nix and stumbled into a weird problem. I was wondering if this happened to you or if this is a potential Nix bug.
If I try to group packages with pkgs.buildEnv and put those into contents = [ ] of buildLayeredImage. Running docker --gpus=all (from ubuntu 20.04) fails with the following error:
CI runtime create failed: runc create failed: unable to start container process: error during container
init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: mount error:
file creation failed: /mnt/docker/overlay2/9264fff237fb7d187a2669389670f00aa51d380173e095a53f1c992e5d715ed8/merged/lib/
firmware/nvidia/550.54.15/gsp_ga10x.bin: file exists: unknown.
However, if I replace buildEnv with symlinkJoin, it works.
Also, if I still use buildEnv, but build the docker image with buildImage rather than buildLayeredImage, it also works.
PS. This driver file: gsp_ga10x.bin, definitely does not exist in the docker image.
This happens also with the flake.nix provided in this repo (with a minimal image, no python, but packages are grouped with buildEnv).
What do you make of this?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi!
Thank you for all of the information you are providing in your blog and in this repo.
I am rather new to nix and stumbled into a weird problem. I was wondering if this happened to you or if this is a potential Nix bug.
If I try to group packages with
pkgs.buildEnv
and put those intocontents = [ ]
ofbuildLayeredImage
. Runningdocker --gpus=all
(from ubuntu 20.04) fails with the following error:However, if I replace
buildEnv
withsymlinkJoin
, it works.Also, if I still use
buildEnv
, but build the docker image withbuildImage
rather thanbuildLayeredImage
, it also works.PS. This driver file:
gsp_ga10x.bin
, definitely does not exist in the docker image.This happens also with the
flake.nix
provided in this repo (with a minimal image, no python, but packages are grouped withbuildEnv
).What do you make of this?
Thank you!
The text was updated successfully, but these errors were encountered: