nvidia-container-toolkit: format
This commit is contained in:
parent
bc43141b48
commit
f91f9eacd6
|
@ -14,15 +14,18 @@ in
|
|||
buildGoModule rec {
|
||||
pname = "nvidia-container-toolkit";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NVIDIA";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "04284bhgx4j55vg9ifvbji2bvmfjfy3h1lq7q356ffgw3yr9n0hn";
|
||||
};
|
||||
|
||||
vendorSha256 = "17zpiyvf22skfcisflsp6pn56y6a793jcx89kw976fq2x5br1bz7";
|
||||
buildFlagsArray = [ "-ldflags=" "-s -w" ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{pkg,${pname}}
|
||||
ln -s $out/bin/nvidia-container-{toolkit,runtime-hook}
|
||||
|
|
Loading…
Reference in a new issue