mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
yazi: wrap ya with runtime dependencies (#553954)
This commit is contained in:
@@ -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}"}
|
||||
|
||||
Reference in New Issue
Block a user