| 15 Sep 2021 |
| Andreas Schrägle joined the room. | 15:23:09 |
baloo | @las it's not that I don't agree with that, but it does not look like we're going to have a release of nix soon | 15:24:13 |
baloo | * Las: it's not that I don't agree with that, but it does not look like we're going to have a release of nix soon | 15:24:27 |
baloo | adding patches to nix is the only leverage I have :( | 15:24:39 |
Las | TBF, Nix is supposed to be on a faster schedule now | 15:24:44 |
baloo | * adding patches to nixpkgs is the only leverage I have :( | 15:25:12 |
baloo | I'll be more than happy to drop those patches in favor of a release | 15:25:45 |
eyJhb | Unsure how this command works - https://github.com/NixOS/nix/blob/master/doc/manual/local.mk#L69, where it calls __dump-builtins, what does it actually do? | 16:09:06 |
eyJhb | Ie. what command would I run to do the same? | 16:09:41 |
Jan Tojnar | eyJhb: it is a subcommand of nix command: nix __dump-builtins | 17:26:57 |
eyJhb | In reply to @jtojnar:matrix.org eyJhb: it is a subcommand of nix command: nix __dump-builtins i just get unknown command when I do it, or rather that it isn't a known subcommand :/ | 17:27:53 |
Jan Tojnar | do you have unstable nix? | 17:28:11 |
eyJhb | Just use the one in my unstable nixpkgs, so the default there. Should I clone nix and do nix-build and use that? | 17:29:22 |
Jan Tojnar | nixUnstable attribute works | 17:30:05 |
Jan Tojnar | * the one from nixUnstable attribute works | 17:30:13 |
eyJhb | I Will try that tomorrow, thanks! :) | 18:05:19 |
| 16 Sep 2021 |
| Rev. CornWallace III (novus ordo seclorum) changed their display name from Corn Wallet to CornWallace. | 01:56:27 |
| 17 Sep 2021 |
| mkg20001 joined the room. | 00:10:47 |
| 19 Sep 2021 |
Las | Does anyone know if any of the builtins.unsafe* functions are actually unsafe? | 16:00:39 |
Las | Can you misuse them such that some property of Nix is broken? | 16:00:51 |
Alyssa Ross | I believe so | 16:02:06 |
Alyssa Ross | for example, with unsafeDiscardStringContext you can break the dependency calculation | 16:02:30 |
Las | But does that result in anything other than a borked package? | 16:05:01 |
Las | * But does that result in anything other than a borked output/derivation? | 16:05:06 |
Las | * But can that result in anything other than a borked output/derivation? | 16:05:12 |
Las | Could it e.g. be unsafe from a security perspective? | 16:05:39 |
Alyssa Ross | I don't think so, but nobody said unsafe meant insecure | 16:25:06 |
Las | Generally in Haskell and Rust, unsafe means that it can break the system. | 16:51:41 |
Las | i.e. you have no guarantees about the behavior if you pass in something wrong | 16:51:57 |
Las | * i.e. you have no guarantees about the behavior if you pass in something wrong. | 16:51:59 |