about summary refs log tree commit diff
path: root/pkgs/applications/misc/rlaunch
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-10-14 01:16:16 +0300
committerArtturin <Artturin@artturin.com>2022-10-14 20:48:09 +0300
commit61c3058bcb4877cecd4fd2e15ac64b5052b6aab2 (patch)
tree50a3837d655c1e1948516e15d3dd611cc0279f0d /pkgs/applications/misc/rlaunch
parent96fa2023535f2768db28622b056140ee1e8d9d58 (diff)
all-packages.nix: remove `inherit (*xorg) *`'s
using inherits in callPackage args is discouraged and doesn't splice
correctly
Diffstat (limited to 'pkgs/applications/misc/rlaunch')
-rw-r--r--pkgs/applications/misc/rlaunch/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/misc/rlaunch/default.nix b/pkgs/applications/misc/rlaunch/default.nix
index 206c32987cca6..5622c94d427f8 100644
--- a/pkgs/applications/misc/rlaunch/default.nix
+++ b/pkgs/applications/misc/rlaunch/default.nix
@@ -1,9 +1,7 @@
 { lib
 , fetchFromGitHub
 , rustPlatform
-, libX11
-, libXft
-, libXinerama
+, xorg
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -21,7 +19,7 @@ rustPlatform.buildRustPackage rec {
 
   # The x11_dl crate dlopen()s these libraries, so we have to inject them into rpath.
   postFixup = ''
-    patchelf --set-rpath ${lib.makeLibraryPath [ libX11 libXft libXinerama ]} $out/bin/rlaunch
+    patchelf --set-rpath ${lib.makeLibraryPath (with xorg; [ libX11 libXft libXinerama ])} $out/bin/rlaunch
   '';
 
   meta = with lib; {