From 8f9f2347d3c87a0ecd768a659a67b3c4c32d1cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 26 Mar 2016 08:26:45 +0100 Subject: [PATCH] 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 ec4685cf709ed10727f92bc30182f5c145e3f6bf) --- pkgs/applications/networking/browsers/firefox/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix index 9089af711b78..41f8cc155a8e 100644 --- a/pkgs/applications/networking/browsers/firefox/default.nix +++ b/pkgs/applications/networking/browsers/firefox/default.nix @@ -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 =