ultrastardx: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:05:37 -07:00
parent 8910fea8d2
commit 8ee773a28e
No known key found for this signature in database

View File

@ -67,8 +67,8 @@ in stdenv.mkDerivation rec {
-i src/lib/ffmpeg-4.0/swscale.pas
'';
preBuild = with lib;
let items = concatMapStringsSep " " (x: "-rpath ${getLib x}/lib") sharedLibs;
preBuild =
let items = lib.concatMapStringsSep " " (x: "-rpath ${lib.getLib x}/lib") sharedLibs;
in ''
export NIX_LDFLAGS="$NIX_LDFLAGS ${items}"
'';