Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8fb56a487fe5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0a2f47b51b0b
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 6, 2020

  1. nvidia_x11.persistenced: fix build on master

    Phillip Cloud authored and Jonathan Ringer committed Nov 6, 2020
    Copy the full SHA
    0a2f47b View commit details
Showing with 9 additions and 1 deletion.
  1. +9 −1 pkgs/os-specific/linux/nvidia-x11/persistenced.nix
10 changes: 9 additions & 1 deletion pkgs/os-specific/linux/nvidia-x11/persistenced.nix
Original file line number Diff line number Diff line change
@@ -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";