Merge pull request #140658 from alyssais/firefox-bin-https

firefox-bin: HTTPS for homepage and updateScript
This commit is contained in:
Sandro 2022-07-11 13:47:27 +02:00 committed by GitHub
commit 006ffd8252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -199,12 +199,12 @@ stdenv.mkDerivation {
inherit pname channel writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
baseUrl =
if channel == "devedition"
then "http://archive.mozilla.org/pub/devedition/releases/"
else "http://archive.mozilla.org/pub/firefox/releases/";
then "https://archive.mozilla.org/pub/devedition/releases/"
else "https://archive.mozilla.org/pub/firefox/releases/";
};
meta = with lib; {
description = "Mozilla Firefox, free web browser (binary package)";
homepage = "http://www.mozilla.org/firefox/";
homepage = "https://www.mozilla.org/firefox/";
license = licenses.mpl20;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = builtins.attrNames mozillaPlatforms;

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchsvn, fetchFromGitHub, fpc }:
{ lib, stdenv, fetchsvn, fetchFromGitHub, fpc, openssl }:
let
flreSrc = fetchFromGitHub {
@ -36,6 +36,9 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ fpc ];
buildInputs = [ openssl ];
NIX_LDFLAGS = [ "-lcrypto" ];
patchPhase = ''
patchShebangs \