3
0
Fork 0
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:
Vladimír Čunát 2016-03-26 08:26:45 +01:00 committed by Eelco Dolstra
parent aeab34ccd2
commit 8f9f2347d3

View file

@ -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 =