!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

173 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=Thunderbird49 Servers

Load older messages


SenderMessageTime
19 Jan 2024
@ThorHop:matrix.orghopland (nixpkgs-rolling when) changed their display name from hopland (meticulous montesquieu) to hopland (manners or stfu).05:11:59
@ThorHop:matrix.orghopland (nixpkgs-rolling when) changed their display name from hopland (manners or stfu) to hopland.05:14:37
21 Jan 2024
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/269817/files19:07:54
@hexa:lossy.networkhexawhy is a let required here?19:08:16
@k900:0upti.meK900 ⚡️ I think it's because ? can use other argument values 19:13:36
@k900:0upti.meK900 ⚡️ So a ? a is just instant infrec 19:13:58
@hexa:lossy.networkhexawhy can't they access the variables from the outer function scope?19:14:49
@hexa:lossy.networkhexa * why can't they access the variables from the outer function arguments?19:14:55
@k900:0upti.meK900 ⚡️They can, but the other arguments in the pattern are bound closer 19:15:15
@k900:0upti.meK900 ⚡️Because Nix is stupid 19:15:19
@k900:0upti.meK900 ⚡️
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:0upti.meK900 ⚡️ `
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:0upti.meK900 ⚡️
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@autiboy:matrix.org left the room.23:09:18
22 Jan 2024
@ThorHop:matrix.orghopland (nixpkgs-rolling when) changed their display name from hopland to IdeallyYes.15:05:58
23 Jan 2024
@adam:robins.wtf@adam:robins.wtf joined the room.00:43:56
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/283010 can someone review/backport?02:52:58
@hexa:lossy.networkhexaI'm currently too busy unfortunately02:53:06
@hexa:lossy.networkhexa cc Yureka (she/her), emily 02:53:33
@hexa:lossy.networkhexa * https://github.com/NixOS/nixpkgs/pull/283010 can someone review/test/backport?02:53:42
@hexa:lossy.networkhexaalso fixup the commit with release notes, the security advisory and the CVEs which were fixed02:54:16
@hexa:lossy.networkhexaalso esr 😕02:54:18
@yuka:yuka.dev@yuka:yuka.devI 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@yuka:yuka.devwhat do you usually test?10:23:23
@yuka:yuka.dev@yuka:yuka.devbesides "it starts" and "the nixos test passes"10:23:31
@hexa:lossy.networkhexa hwdec, webgl, cam, mic 10:57:51
@vcunat:matrix.orgvcunatIIRC 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:matrix.orglovesegfault changed their display name from lovesegfault (Old) to lovesegfault.19:28:48
@lovesegfault:matrix.orglovesegfault changed their profile picture.19:28:55
@lovesegfault:matrix.orglovesegfault changed their profile picture.19:29:10

Show newer messages


Back to Room ListRoom Version: 9