forked from mirrors/nixpkgs
firefox: finish adding default for execdir
0c633ccf26
just wasn't complete. Now evaluation works for me again.
This commit is contained in:
parent
14aa936ec5
commit
4ea21ac6fb
|
@ -111,11 +111,11 @@ let
|
||||||
'' + ''
|
'' + ''
|
||||||
if [ ! -x "${browser}${browser.execdir or "/bin"}/${browserName}" ]
|
if [ ! -x "${browser}${browser.execdir or "/bin"}/${browserName}" ]
|
||||||
then
|
then
|
||||||
echo "cannot find executable file \`${browser}${browser.execdir}/${browserName}'"
|
echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${browserName}'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
makeWrapper "$(readlink -v --canonicalize-existing "${browser}${browser.execdir}/${browserName}")" \
|
makeWrapper "$(readlink -v --canonicalize-existing "${browser}${browser.execdir or "/bin"}/${browserName}")" \
|
||||||
"$out${browser.execdir or "/bin"}/${browserName}${nameSuffix}" \
|
"$out${browser.execdir or "/bin"}/${browserName}${nameSuffix}" \
|
||||||
--suffix-each MOZ_PLUGIN_PATH ':' "$plugins" \
|
--suffix-each MOZ_PLUGIN_PATH ':' "$plugins" \
|
||||||
--suffix LD_LIBRARY_PATH ':' "$libs" \
|
--suffix LD_LIBRARY_PATH ':' "$libs" \
|
||||||
|
|
Loading…
Reference in a new issue