forked from mirrors/nixpkgs
firefox-esr: fix build after 574a6d34d2
We're now using only newer versions that have ./configure in the root.
${pname} isn't the correct directory name for esr versions.
(cherry picked from commit ec4685cf70
)
This commit is contained in:
parent
aeab34ccd2
commit
8f9f2347d3
|
@ -81,13 +81,9 @@ common = { pname, version, sha256 }: stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure =
|
||||
''
|
||||
configureScript="$(realpath ./configure)"
|
||||
mkdir ../objdir
|
||||
cd ../objdir
|
||||
if [ -e ../${pname}-${version} ]; then
|
||||
configureScript=../${pname}-${version}/configure
|
||||
else
|
||||
configureScript=../mozilla-*/configure
|
||||
fi
|
||||
'';
|
||||
|
||||
preInstall =
|
||||
|
|
Loading…
Reference in a new issue