diff --git a/snapcraft.yaml b/snapcraft.yaml index a581636d..c8af1c32 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -584,10 +584,11 @@ parts: nvidia-container: source: https://github.com/NVIDIA/libnvidia-container source-commit: 4c2494f16573b585788a42e9c7bee76ecd48c73d # v1.16.1 - # XXX: fails to build if using source-commit and source-depth - #source-depth: 1 + source-depth: 1 source-type: git plugin: make + build-environment: + - GIT_TAG: "1.16.1" # Enables source-depth: 1, should match git tag without "v" prefix. build-packages: - bmake - curl