nvidia_x11.persistenced: fix build on master
This commit is contained in:
parent
8fb56a487f
commit
0a2f47b51b
@ -1,6 +1,10 @@
|
||||
nvidia_x11: sha256:
|
||||
|
||||
{ stdenv, fetchFromGitHub, m4 }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, m4
|
||||
, libtirpc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nvidia-persistenced";
|
||||
@ -14,6 +18,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ m4 ];
|
||||
buildInputs = [ libtirpc ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
@ -27,6 +32,9 @@ stdenv.mkDerivation rec {
|
||||
$out/bin/nvidia-persistenced
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
|
||||
NIX_LDFLAGS = [ "-ltirpc" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.nvidia.com/object/unix.html";
|
||||
description = "Settings application for NVIDIA graphics cards";
|
||||
|
Loading…
Reference in New Issue
Block a user