mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
nv-fabricmanager: remove with statements
This commit is contained in:
parent
9a6897925d
commit
460c91c5ae
@ -3,7 +3,7 @@ nvidia_x11: sha256:
|
|||||||
{ stdenv, lib, fetchurl, patchelf }:
|
{ stdenv, lib, fetchurl, patchelf }:
|
||||||
|
|
||||||
let
|
let
|
||||||
sys = with lib; concatStringsSep "-" (reverseList (splitString "-" stdenv.system));
|
sys = lib.concatStringsSep "-" (lib.reverseList (lib.splitString "-" stdenv.system));
|
||||||
bsys = builtins.replaceStrings ["_"] ["-"] sys;
|
bsys = builtins.replaceStrings ["_"] ["-"] sys;
|
||||||
fmver = nvidia_x11.version;
|
fmver = nvidia_x11.version;
|
||||||
in
|
in
|
||||||
@ -35,12 +35,12 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://www.nvidia.com/object/unix.html";
|
homepage = "https://www.nvidia.com/object/unix.html";
|
||||||
description = "Fabricmanager daemon for NVLink intialization and control";
|
description = "Fabricmanager daemon for NVLink intialization and control";
|
||||||
license = licenses.unfreeRedistributable;
|
license = lib.licenses.unfreeRedistributable;
|
||||||
platforms = nvidia_x11.meta.platforms;
|
platforms = nvidia_x11.meta.platforms;
|
||||||
mainProgram = "nv-fabricmanager";
|
mainProgram = "nv-fabricmanager";
|
||||||
maintainers = with maintainers; [ edwtjo ];
|
maintainers = with lib.maintainers; [ edwtjo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user