3
0
Fork 0
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:
Vladimír Čunát 2018-08-17 20:59:53 +02:00
parent 14aa936ec5
commit 4ea21ac6fb
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -111,11 +111,11 @@ let
'' + ''
if [ ! -x "${browser}${browser.execdir or "/bin"}/${browserName}" ]
then
echo "cannot find executable file \`${browser}${browser.execdir}/${browserName}'"
echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${browserName}'"
exit 1
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}" \
--suffix-each MOZ_PLUGIN_PATH ':' "$plugins" \
--suffix LD_LIBRARY_PATH ':' "$libs" \