mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
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.
This commit is contained in:
parent
45a2d9e177
commit
ec4685cf70
@ -81,13 +81,9 @@ common = { pname, version, sha256 }: stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
|
configureScript="$(realpath ./configure)"
|
||||||
mkdir ../objdir
|
mkdir ../objdir
|
||||||
cd ../objdir
|
cd ../objdir
|
||||||
if [ -e ../${pname}-${version} ]; then
|
|
||||||
configureScript=../${pname}-${version}/configure
|
|
||||||
else
|
|
||||||
configureScript=../mozilla-*/configure
|
|
||||||
fi
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preInstall =
|
preInstall =
|
||||||
|
Loading…
Reference in New Issue
Block a user