| 17 Jan 2025 |
emily | I think it was there from the start | 16:58:36 |
emily | so 2.4? | 16:58:44 |
emily | I may be wrong though | 16:58:51 |
| @twig6943:matrix.org changed their profile picture. | 17:44:11 |
| 18 Jan 2025 |
trofi | Any chance to merge https://github.com/NixOS/nix/pull/12105? | 07:03:01 |
| 19 Jan 2025 |
| Reventlov left the room. | 09:36:49 |
| sinan changed their profile picture. | 14:02:51 |
| 21 Jan 2025 |
| oak 🏳️🌈♥️ changed their profile picture. | 22:35:44 |
| 20 Jan 2025 |
| Carter Zhang[M] changed their display name from Carter Zhang to Carter Zhang[M]. | 02:55:56 |
| 21 Jan 2025 |
| oak 🏳️🌈♥️ changed their profile picture. | 22:37:22 |
| 22 Jan 2025 |
| @nm0i:matrix.org left the room. | 13:28:06 |
| 23 Jan 2025 |
| alexb joined the room. | 09:58:10 |
Carter Zhang[M] | What environmental variables should be added after installing Nix on Debian GNU/Linux? | 11:51:12 |
Sandro 🐧 | the installer places a script to source in /etc/profile or so. Should be visible in the log | 13:11:55 |
Sandro 🐧 | * the installer places a script to source in /etc/profile or so. Should be visible in the logs | 13:11:57 |
| @viperml:ayats.org changed their profile picture. | 14:02:33 |
| @viperml:ayats.org changed their profile picture. | 14:03:09 |
| 24 Jan 2025 |
| soopyc (she/it) changed their profile picture. | 11:47:24 |
| @nulleric:matrix.org joined the room. | 14:56:07 |
| hexadecimal_dinosaur joined the room. | 19:06:34 |
| 25 Jan 2025 |
trofi | Does nix have a built-in to check if the path is/will-be in nix store? Right now nixpkgs tries to use regex against /nix/store like https://github.com/NixOS/nixpkgs/blob/e224f1b3db62680d7bae444717d0a733d372b556/lib/types.nix#L580 and fails miserably on strings built from CA derivations as they don't have the prefix: https://github.com/NixOS/nixpkgs/pull/375961#issuecomment-2613547575 | 06:35:28 |
| @aloisw:julia0815.de changed their profile picture. | 10:22:11 |
Ilan Joselevich (Kranzes) | We also have lib.isStorePath, not sure why the type isn't using it | 15:05:30 |
trofi | Ah, nice! That one seems to work. | 19:11:32 |
trofi | Tried to use it and it fails: isStorePath only returns true for exactly the store dirs, like /nix/store/foo, but not files within them like /nix/store/foo/bin/bar. | 19:16:30 |
| 26 Jan 2025 |
Ilan Joselevich (Kranzes) | Can you not just do lib.hasPrefix builtins.storeDir | 01:13:18 |
@aloisw:julia0815.de | That would match slightly more stuff (/nix/store itself and hidden files/subdirectories). Also it does not fix the issue at hand. | 07:14:54 |
trofi | No, CA derivations don't have it as a prefix:
nix-repl> hello.outPath
"/1121rp0gvr1qya7hvy925g5kjwg66acz6sn1ra1hca09f1z5dsab"
| 12:41:26 |
Ilan Joselevich (Kranzes) | So what's there to check that it's just /$sha256? | 13:14:27 |
trofi | "^/[A-Za-z0-9]{52}.*" | 13:18:42 |