| 21 Jan 2024 |
hexa | * why can't they access the variables from the outer function arguments? | 19:14:55 |
K900 ⚡️ | They can, but the other arguments in the pattern are bound closer | 19:15:15 |
K900 ⚡️ | Because Nix is stupid | 19:15:19 |
K900 ⚡️ | nix-repl> fn = let a = 1; in { a ? a }: a
nix-repl> fn {}
error:
… from call site
at «string»:1:1:
1| fn {}
| ^
… while calling anonymous lambda
at «string»:1:16:
1| let a = 1; in { a ? a }: a
| ^
error: infinite recursion encountered
at «string»:1:22:
1| let a = 1; in { a ? a }: a
|
| 19:16:47 |
K900 ⚡️ | ` nix-repl> fn = let a = 1; b = 1; in { a, b ? a }: b
nix-repl> fn { a = 5; } 5
` is the more normal use case of this | 19:17:44 |
K900 ⚡️ | nix-repl> fn = let a = 1; b = 1; in { a, b ? a }: b
nix-repl> fn { a = 5; }
5
is the more normal use case of this | 19:17:48 |
| @autiboy:matrix.org left the room. | 23:09:18 |
| 22 Jan 2024 |
| IdeallyYes changed their display name from hopland to IdeallyYes. | 15:05:58 |
| 23 Jan 2024 |
| adamcstephens 🐝 joined the room. | 00:43:56 |
hexa | https://github.com/NixOS/nixpkgs/pull/283010 can someone review/backport? | 02:52:58 |
hexa | I'm currently too busy unfortunately | 02:53:06 |
hexa | cc Yureka (she/her), emily | 02:53:33 |
hexa | * https://github.com/NixOS/nixpkgs/pull/283010 can someone review/test/backport? | 02:53:42 |
hexa | also fixup the commit with release notes, the security advisory and the CVEs which were fixed | 02:54:16 |
hexa | also esr 😕 | 02:54:18 |
@yuka:yuka.dev | I wanted to test the binary that ofborg already built and pushed to cachix.... jokes on me, that binary is x86 😂 | 10:17:53 |
@yuka:yuka.dev | what do you usually test? | 10:23:23 |
@yuka:yuka.dev | besides "it starts" and "the nixos test passes" | 10:23:31 |
hexa | hwdec, webgl, cam, mic | 10:57:51 |
vcunat | IIRC you need NixOS on not-too-far commit for some of this to work well. I certainly recall messages about SW rendering when crossing to a different NixOS release. | 11:20:31 |
| lovesegfault changed their display name from lovesegfault (Old) to lovesegfault. | 19:28:48 |
| lovesegfault changed their profile picture. | 19:28:55 |
| lovesegfault changed their profile picture. | 19:29:10 |
| 24 Jan 2024 |
emily | In reply to @hexa:lossy.network cc Yureka (she/her), emily I somehow didn't notice the ping 👀
I am too tired now due to chromium (and M121 requiring the rust toolchain which I couldn't get to work). Might be able to pick it up tomorrow, if it's still there by then
| 02:39:12 |
hexa | I might get to it myself later today | 12:31:52 |
hexa | updated the PR and running the builds now | 14:52:36 |
hexa | meh, something about pgo changed and now we're not passing the profile data to the second build | 19:50:02 |
hexa | https://github.com/NixOS/nixpkgs/issues/283563 | 19:50:07 |
hexa | Running phase: configurePhase
Configuring with profiling data
configure flags: --prefix=/nix/store/6rf0axv3v460ha5nk2zw31fd2qs153ji-librewolf-unwrapped-121.0.1-1 --prefix=/nix/store/6rf0axv3v460ha5nk2zw31fd2qs153ji-librewolf-unwrapped-121.0.1-1 --disable-tests --disable-updater --enable-application=browser --enable-default-toolkit=cairo-gtk3-wayland --enable-system-pixman --with-distribution-id=org.nixos --with-libclang-path=/nix/store/mssp2qwwlk9vk3zi5p9p1yv3rljgs4fw-clang-17.0.6-lib/lib --with-system-ffi --with-system-icu --with-system-jpeg --with-system-libevent --with-system-libvpx --with-system-nspr --with-system-nss --with-system-png --with-system-webp --with-system-zlib --with-wasi-sysroot=/nix/store/k52zpbd317ig63fsbcn8d5wzx6kaiw2g-wasi-sysroot --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --enable-lto=cross --enable-linker=lld --disable-elf-hack --allow-addon-sideload --enable-alsa --disable-crashreporter --enable-ffmpeg --enable-necko-wifi --enable-negotiateauth --enable-jack --enable-jemalloc --enable-pulseaudio --enable-sndio --enable-webrtc --disable-debug --enable-optimize --enable-release --enable-debug-symbols --disable-strip --disable-install-strip --with-app-name=librewolf --with-app-basename=LibreWolf --with-branding=browser/branding/librewolf --with-distribution-id=io.gitlab.librewolf-community --with-unsigned-addon-scopes=app\,system --allow-addon-sideload
| 19:57:50 |
hexa | L2 indicates it found the profiling data | 19:58:00 |