diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-06-04 14:26:48 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-06-04 15:22:50 +0200 |
commit | ce9d9ba554e35000863a30bbdc83722d9ffc711b (patch) | |
tree | dd1d080ed9f579a1bb8f76dd4c98773f6bdcf1fc /pkgs/os-specific | |
parent | 6f193b016287f7cef2f448583888edc081012243 (diff) |
nvidia-x11: minor cleanups
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/nvidia-x11/settings.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index 32a026ba879e0..97d6d362749da 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -121,14 +121,11 @@ stdenv.mkDerivation { installFlags = [ "PREFIX=$(out)" ]; - postInstall = '' - ${lib.optionalString (!withGtk2) '' - rm -f $out/lib/libnvidia-gtk2.so.* - ''} - ${lib.optionalString (!withGtk3) '' - rm -f $out/lib/libnvidia-gtk3.so.* - ''} - + postInstall = lib.optionalString (!withGtk2) '' + rm -f $out/lib/libnvidia-gtk2.so.* + '' + 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 |