| 24 Nov 2023 |
nbp | 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 | it was highly effective? | 15:49:00 |
hexa | 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 | I have not yet finished downloading everything … 🙄 | 15:49:34 |
hexa | also nix.settings.builders-use-substitutes = true | 15:50:07 |
nbp | well it is not always on | 15:50:19 |
hexa | yeah, but you don't want to download everything to your local machine, just to then push it to your builder | 15:50:51 |
hexa | well at least for things that can be substituted, which is probably not much on a linux stdenv rebuild | 15:51:08 |
hexa | so nvm | 15:51:13 |
nbp | hum … it does not use the extra computer :/ | 16:02:33 |
hexa | looks like it links when using NIX_LDFLAGS with a list | 16:52:30 |
hexa | 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 | 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 | * I think you need to reference the full configuration in --builders, unless you reference a host from /etc/nix/machines | 16:53:27 |
hexa | $ nm -D result/bin/.firefox-wrapped| grep _S_initialize
$
| 17:03:54 |
hexa | 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 | https://github.com/NixOS/nixpkgs/pull/269680 | 17:26:18 |
vcunat | 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 | In reply to @hexa:lossy.network
$ nm -D result/bin/.firefox-wrapped| grep _S_initialize
$
the only test I did | 17:41:28 |
hexa | I had to change locations in between | 17:41:42 |
hexa | I can try whether webgl works now, just have to grab the output | 17:41:56 |
hexa | nope, probably broken for other reasons | 17:45:49 |
vcunat | But it doesn't crash anymore at least? | 17:47:54 |
hexa | I was unable to reproduce with the 23.05 binary on unstable | 17:48:08 |
vcunat | That one was crashing for me within minutes of my normal usage, repeatedly. | 17:49:05 |
vcunat | Let me try. I'm building it already. | 17:49:29 |
hexa | ok, thanks | 17:50:04 |
vcunat | It'll probably have 16 threads for itself, but even so it will surely take some time to build. | 17:52:09 |
vcunat | But if 119 had working webgl on 23.05 and this way 120 still won't have it working... | 17:53:08 |
vcunat | https://webglsamples.org/aquarium/aquarium.html running for me | 18:36:44 |