24 Aug 2025 |
dramforever | nix run is eating the -v , as can be seen:
$ nix run busybox echo -- -v3
-v3
| 09:45:05 |
25 Aug 2025 |
fzakaria | Sergei Zimmerman (xokdvium): https://github.com/NixOS/nix/pull/13821 | 04:35:50 |
emily | have you tested file://relative/repo or file:/var/repos/x with git(1) ? I don't think they behave how you expect | 04:37:22 |
fzakaria | the file parsing I have kept the same for now and this tackles mostly SCP | 04:40:26 |
emily | I don't think Nix treats file://a/b as relative or file:/a/b as absolute currently | 04:41:28 |
emily | file://relative/repo is the path /repo on the authority relative , and file:/a/b is I think RFC-compliant but does not work | 04:43:29 |
emily | at least a doc/tests issue, since the URL described as relative isn't | 04:44:04 |
fzakaria | I wrote two tests for now.
If we file a bug I can augment the parser | 04:44:52 |
fzakaria | // Relative path (becomes file:)
{"relative/repo", "file://relative/repo"},
// Already file: scheme
{"file:/var/repos/x", "file:/var/repos/x"},
| 04:44:54 |
Sergei Zimmerman (xokdvium) | In reply to @fzakaria:one.ems.host the file parsing I have kept the same for now and this tackles mostly SCP Either way that looks like a bug. file urls must contain absolute paths https://datatracker.ietf.org/doc/html/rfc8089#section-2 | 06:24:20 |
magic_rb | https://github.com/NixOS/nix/pull/13437 dumb question, cause from the description its not obvious. But this makes follows recursive right | 13:13:03 |
fzakaria | so should it fail ? | 14:24:39 |
fzakaria | or just force relative paths to become absolute ?
Can we handle this in a separate PR after and discuss? | 14:24:52 |
fzakaria | fixGitUrl always returns a url | 14:27:53 |
fzakaria | i guess it depends on other functions to fail for it | 14:27:58 |
26 Aug 2025 |
Mic92 | Nix 2.24 removal: https://github.com/NixOS/nixpkgs/pull/437039 | 08:05:02 |
fzakaria | cool to see it's broken up now per component | 14:46:25 |
fzakaria | why does it have a patch though? | 14:46:33 |
27 Aug 2025 |
Mic92 | because upstream projects haven't released / merged the build fixes yet | 08:34:47 |
Philip Taron (UTC-8) | I opened https://github.com/NixOS/nixpkgs/pull/437584 to package Nix 2.31.0 in Nixpkgs. | 17:10:49 |
Philip Taron (UTC-8) | I copied the pattern from https://github.com/NixOS/nixpkgs/pull/423962 | 17:12:08 |
| connor (he/him) (UTC-7) changed their display name from connor (he/him) (UTC-7) to connor (he/him) (UTC+1). | 18:33:57 |
| matthewcroughan changed their display name from matthewcroughan to matthewcroughan @ nix.camp. | 18:44:34 |
28 Aug 2025 |
| Matthew changed their display name from Matthew|away to Matthew. | 07:35:43 |
| sbc64 changed their profile picture. | 14:23:50 |
| Las changed their profile picture. | 20:37:39 |
| Las removed their profile picture. | 20:41:36 |
29 Aug 2025 |
| @luna-null:matrix.org left the room. | 02:40:20 |
fzakaria | John Ericson: the parsed url stuff has a few bugs i think | 03:26:05 |
fzakaria | after I rebased. | 03:26:07 |