mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
parent
116953ffc9
commit
f36b72107c
@ -20,7 +20,10 @@ let
|
||||
|
||||
primus = if useNvidia then primusLib_ else primusLib_.override { nvidia_x11 = null; };
|
||||
primus_i686 = if useNvidia then primusLib_i686_ else primusLib_i686_.override { nvidia_x11 = null; };
|
||||
ldPath = lib.makeLibraryPath ([ primus primus.glvnd ] ++ lib.optionals (primusLib_i686 != null) [ primus_i686 primus_i686.glvnd ]);
|
||||
ldPath = lib.makeLibraryPath (lib.filter (x: x != null) (
|
||||
[ primus primus.glvnd ]
|
||||
++ lib.optionals (primusLib_i686 != null) [ primus_i686 primus_i686.glvnd ]
|
||||
));
|
||||
|
||||
in writeScriptBin "primusrun" ''
|
||||
#!${stdenv.shell}
|
||||
|
Loading…
Reference in New Issue
Block a user