Change:
sha512 = "ff748780492fc66b3e44c7e7641f16206e4c09514224c62d37efac2c59877bdf428a3670bfb50407166d7b505d4e2ea020626fd776b87f6abb6bc5d2e54c773f"; }; <del> patches = [ ./no-buildconfig.patch ./env_var_for_system_dir.patch ] ++ lib.optional stdenv.isi686 (fetchpatch { url = "https://hg.mozilla.org/mozilla-central/raw-rev/15517c5a5d37"; sha256 = "1ba487p3hk4w2w7qqfxgv1y57vp86b8g3xhav2j20qd3j3phbbn7"; }); </del> <ins> patches = [ ./no-buildconfig.patch ./env_var_for_system_dir.patch # https://bugzilla.mozilla.org/show_bug.cgi?id=1430274 # Scheduled for firefox 59 (fetchpatch { url = "https://bug1430274.bmoattachments.org/attachment.cgi?id=8943426"; sha256 = "12yfss3k61yilrb337dh2rffy5hh83d2f16gqrf5i56r9c33f7hf"; }) # https://bugzilla.mozilla.org/show_bug.cgi?id=1388981 # Should have been fixed in firefox 57 ] ++ lib.optional stdenv.isi686 (fetchpatch { url = "https://hg.mozilla.org/mozilla-central/raw-rev/15517c5a5d37"; sha256 = "1ba487p3hk4w2w7qqfxgv1y57vp86b8g3xhav2j20qd3j3phbbn7"; }); </ins> meta = { description = "A web browser built from Firefox source tree";

Discussion:
Edit: firefox doesn't produce any sound anymore. When I click on play, the lines starting from Sandbox get printed. videos on youtube play, but without sound. terminal output: install firefox 58.0.1 (or 58.0.2): launch from the console: try to play mentioned stream system: host os: multi-user?: sandbox: version: channels(mcd): channels(root): nixpkgs:
I have the same issue. In contrast, Firefox 57.0.4 works fine.
I found a work-around: use PulseAudio. The above will also set up an ALSA plugin which routes all audio to PulseAudio. Then of course PulseAudio needs to be configured to use the ALSA device you want.
Instead you can also try to run under .
It seems there is a patch upstream here: Enabling pulseaudio is not an option for me, so would love if this patch could be applied
Which Firefox package did you install? I think Mozilla disabled ALSA in their builds so should only have audio using PulseAudio, on the other end the package (built from source) has it enabled.
I used the package and experienced the issue. We'll see what castilma says.
i used
for me too, worked up until around the 58 release
So no, it's another issue. I can't build firefox right now, you could try the patch with something like this
sorry, still a noob with nix. where am i supposed to put that code?
Put it in a random .nix file and call on it.
I've tried the patch but it wouldn't apply. It failed on the first hunk.On Feb 15, 2018 6:33 PM, Michele Guerini Rocco <:Put it in a random .nix file and call nix-build on it. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
the hash you put was not the one nix received. after fixing that, I got the same error as emmanuelrosa:
It doesn't apply to our revision. I'm downloading the source to see what's different.
It was the wrong url apparently, the one in attachment works.
I that patch to nixpkgs expression, will PR if it compiles and works.

how long does a firefox build take? it's already 2 hours at it and now i realised it's only using 1 of my 2 cores. would it be faster, if I restart it with 2 cores?
For me It usually takes about 2.5 hours with 4 cores. I wouldn't interrupt it if I were you. The problem is that it also uses a LOT or ram and disk space and I would have to rebuild my system and reboot to disable tmpfs to build it.
Should be fixed by . The music from the OP and youtube plays fine and with sound.
my build with the patch worked, but /nix/store/d875x2p6axiws57is2bbzn148agf9h86-firefox-58.0.2 (downloaded substitute) gives me: that somehow has no sound again.
What's your ?
09.3023.
Hmm... that commit, , is to enable PulseAudio by default. The commit with the patch is .
so, from the commit dates, it means i have a nix that is to old? nix-channel --update gives me . is that normal?
It looks like the nixos-unstable channel has not caught up with the nixos-unstable branch. The commit you're looking for is in the nixos-unstable branch, but for some reason the archive nix-channel looks for is not there yet. Note: I just noticed you reported the issue on Hummingbird, which is the stable branch. The commit was merged to the master branch, so you won't see it on Hummingbird; It'll be on Impala.