Git Product home page Git Product logo

Comments (8)

zimbatm avatar zimbatm commented on May 30, 2024 2

Fix in NixOS/nixpkgs#47330

from nixpkgs-mozilla.

zimbatm avatar zimbatm commented on May 30, 2024

See https://www.technipages.com/enable-disable-automatic-updates-in-firefox

It would be cool to ship firefox with a custom prefs.js that turns this off automatically.

from nixpkgs-mozilla.

garbas avatar garbas commented on May 30, 2024

this should be done in nixpkgs, since we use pkgs.firefox-bin-unwrapped.override to package firefox nightly

from nixpkgs-mozilla.

garbas avatar garbas commented on May 30, 2024

i actually think i did this at one point.

from nixpkgs-mozilla.

zimbatm avatar zimbatm commented on May 30, 2024

I found this in the unwrapped package:

$ cat usr/lib/firefox-bin-64.0a1/defaults/pref/channel-prefs.js 
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

pref("app.update.channel", "nightly");

from nixpkgs-mozilla.

zimbatm avatar zimbatm commented on May 30, 2024

the patchPhase in pkgs/applications/networking/browsers/firefox-bin/default.nix is supposed to change that:

  patchPhase = ''
    sed -i -e '/^pref("app.update.channel",/d' defaults/pref/channel-prefs.js
    echo 'pref("app.update.channel", "non-existing-channel")' >> defaults/pref/channel-prefs.js
  '';

Maybe it's better to set app.update.auto to false than changing the channel to some unknown one

from nixpkgs-mozilla.

zimbatm avatar zimbatm commented on May 30, 2024

This behaviour will be fixed in 18.09 and unstable as soon as the channels update. http://howoldis.herokuapp.com/

from nixpkgs-mozilla.

arximboldi avatar arximboldi commented on May 30, 2024

I am on 18.09 with latest nixpkgs-mozilla and I am having this problem. Did I do something wrong?
I installed nightly by adding something like this to the configuration.nix:

let
  mozilla = import (fetchFromGitHub {
    owner  = "mozilla";
    repo   = "nixpkgs-mozilla";
    rev    = "0d64cf67dfac2ec74b2951a4ba0141bc3e5513e8";
    sha256 = "0ngj2rk898rq73rq2rkwjax9p34mjlh3arj8w9npwwd6ljncarmh";
  });
in {
  environment.systemPackages = with pkgs; [
    latest.firefox-nightly-bin
  ];
}

from nixpkgs-mozilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.