!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

175 Members
A room about a number of weird animals (also known as Mozilla products): Firefox, Thunderbird, Spidermonkey, NSS, cacert. Also a little bit of fun times, small amounts of extreme, when building weird animals. But for bugs please file GitHub issues. | Release Schedule: https://whattrainisitnow.com | Crash-Stats: https://crash-stats.mozilla.org/search/?distribution_id=%3Dnixos&product=Firefox&product=Thunderbird51 Servers

Load older messages


SenderMessageTime
24 Nov 2023
@nbp:mozilla.orgnbp I saw all the tarball being downloaded, so I read the man page to learn about the --builders "ssh://beefy-machine x86_64-linux" trick 15:48:40
@hexa:lossy.networkhexait was highly effective?15:49:00
@hexa:lossy.networkhexa there is also the -j0 trick, so that you can keep doing on your local machine whatever it was you were doing 🙂 15:49:15
@nbp:mozilla.orgnbpI have not yet finished downloading everything … 🙄15:49:34
@hexa:lossy.networkhexa also nix.settings.builders-use-substitutes = true 15:50:07
@nbp:mozilla.orgnbpwell it is not always on15:50:19
@hexa:lossy.networkhexayeah, but you don't want to download everything to your local machine, just to then push it to your builder15:50:51
@hexa:lossy.networkhexawell at least for things that can be substituted, which is probably not much on a linux stdenv rebuild15:51:08
@hexa:lossy.networkhexaso nvm15:51:13
@nbp:mozilla.orgnbphum … it does not use the extra computer :/16:02:33
@hexa:lossy.networkhexalooks like it links when using NIX_LDFLAGS with a list16:52:30
@hexa:lossy.networkhexa
In reply to @nbp:mozilla.org
hum … it does not use the extra computer :/
I think you probably need to reference the bull configuration in --builders, unless you reference a host from /etc/nix/machines
16:53:16
@hexa:lossy.networkhexa
In reply to @nbp:mozilla.org
hum … it does not use the extra computer :/
* I think you need to reference the bull configuration in --builders, unless you reference a host from /etc/nix/machines
16:53:20
@hexa:lossy.networkhexa * I think you need to reference the full configuration in --builders, unless you reference a host from /etc/nix/machines 16:53:27
@hexa:lossy.networkhexa
$ nm -D result/bin/.firefox-wrapped| grep _S_initialize
$
17:03:54
@hexa:lossy.networkhexa
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index aadbb32d6e02..a0c151a99c11 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -506,6 +506,10 @@ buildStdenv.mkDerivation ({
     cd ..
   '';
 
+  NIX_LDFLAGS = lib.optionals stdenv.cc.isGNU [
+    "-L${stdenv.cc.cc.lib}/lib"
+  ];
+
   makeFlags = extraMakeFlags;
   separateDebugInfo = enableDebugSymbols;
   enableParallelBuilding = true;
17:04:13
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/26968017:26:18
@vcunat:matrix.orgvcunat
In reply to @hexa:lossy.network
https://github.com/NixOS/nixpkgs/pull/269680
If you've tested that it fixes the issue for you, I see no reason to wait.
17:40:25
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
$ nm -D result/bin/.firefox-wrapped| grep _S_initialize
$
the only test I did
17:41:28
@hexa:lossy.networkhexaI had to change locations in between17:41:42
@hexa:lossy.networkhexaI can try whether webgl works now, just have to grab the output 17:41:56
@hexa:lossy.networkhexanope, probably broken for other reasons17:45:49
@vcunat:matrix.orgvcunatBut it doesn't crash anymore at least?17:47:54
@hexa:lossy.networkhexaI was unable to reproduce with the 23.05 binary on unstable17:48:08
@vcunat:matrix.orgvcunatThat one was crashing for me within minutes of my normal usage, repeatedly.17:49:05
@vcunat:matrix.orgvcunatLet me try. I'm building it already.17:49:29
@hexa:lossy.networkhexaok, thanks17:50:04
@vcunat:matrix.orgvcunatIt'll probably have 16 threads for itself, but even so it will surely take some time to build.17:52:09
@vcunat:matrix.orgvcunatBut if 119 had working webgl on 23.05 and this way 120 still won't have it working...17:53:08
@vcunat:matrix.orgvcunathttps://webglsamples.org/aquarium/aquarium.html running for me18:36:44

Show newer messages


Back to Room ListRoom Version: 9