yazi: wrap ya with runtime dependencies (#553954)

This commit is contained in:
nixpkgs-ci[bot]
2026-08-18 15:00:53 +00:00
committed by GitHub

View File

@@ -111,7 +111,8 @@ runCommand yazi-unwrapped.name
''
mkdir -p "$out/bin"
ln -s "${yazi-unwrapped}/share" "$out/share"
ln -s ${lib.getExe' yazi-unwrapped "ya"} "$out/bin/ya"
makeWrapper ${lib.getExe' yazi-unwrapped "ya"} "$out/bin/ya" \
--prefix PATH : ${lib.makeBinPath runtimePaths}
makeWrapper ${lib.getExe' yazi-unwrapped "yazi"} "$out/bin/yazi" \
--prefix PATH : ${lib.makeBinPath runtimePaths} \
${lib.optionalString (configHome != null) "--set YAZI_CONFIG_HOME ${configHome}"}