Commit ce9d9ba5 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nvidia-x11: minor cleanups

parent 6f193b01
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -121,14 +121,11 @@ stdenv.mkDerivation {

  installFlags = [ "PREFIX=$(out)" ];

  postInstall = ''
    ${lib.optionalString (!withGtk2) ''
  postInstall = lib.optionalString (!withGtk2) ''
    rm -f $out/lib/libnvidia-gtk2.so.*
    ''}
    ${lib.optionalString (!withGtk3) ''
  '' + lib.optionalString (!withGtk3) ''
    rm -f $out/lib/libnvidia-gtk3.so.*
    ''}

  '' + ''
    # Install the desktop file and icon.
    # The template has substitution variables intended to be replaced resulting
    # in absolute paths. Because absolute paths break after the desktop file is