libnvidia-container: 1.3.3 -> 1.5.0

This commit is contained in:
Bernardo Meurer 2021-09-06 21:26:56 -07:00
parent 330aeaff79
commit f77daccd52
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -20,13 +20,13 @@ let
in
stdenv.mkDerivation rec {
pname = "libnvidia-container";
version = "1.3.3";
version = "1.5.0";
src = fetchFromGitHub {
owner = "NVIDIA";
repo = pname;
rev = "v${version}";
sha256 = "0rr6ngkzqgw250nilv36fz7fhsqxcgl4nhld2hnr0sr4ngirqcjp";
sha256 = "sha256-b9yQ1mEo1EkjXMguV0t98OvFEQO4h76EVu154MsB2II=";
};
patches = [
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
postPatch = ''
sed -i \
-e 's/^REVISION :=.*/REVISION = ${src.rev}/' \
-e 's/^REVISION ?=.*/REVISION = ${src.rev}/' \
-e 's/^COMPILER :=.*/COMPILER = $(CC)/' \
mk/common.mk