!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

837 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.180 Servers

Load older messages


SenderMessageTime
23 Aug 2025
@fzakaria:one.ems.hostfzakariaif anyone has a good bug for me to track down; feel free to DM me it -- I will try to pick 2-3 this week like last week03:10:40
@pveierland:matrix.orgpveierlandWrote PostgreSQL functions for Nix base32 - sharing to save others from the fun :) https://github.com/pveierland/pg_nix_base3206:06:32
@ebeem:matrix.orgebeem-sama changed their profile picture.19:59:09
24 Aug 2025
@dramforever:matrix.orgdramforever

is this an intended feature?

$ nix run nixpkgs#busybox echo -v3
3
09:20:31
@k900:0upti.meK900Of what?09:37:08
@dramforever:matrix.orgdramforevernix09:44:08
@dramforever:matrix.orgdramforever * nix run 09:44:21
@dramforever:matrix.orgdramforever

nix run is eating the -v, as can be seen:

$ nix run busybox echo -- -v3        
-v3
09:45:05
25 Aug 2025
@fzakaria:one.ems.hostfzakaria Sergei Zimmerman (xokdvium): https://github.com/NixOS/nix/pull/13821 04:35:50
@emilazy:matrix.orgemily 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:one.ems.hostfzakariathe file parsing I have kept the same for now and this tackles mostly SCP04:40:26
@emilazy:matrix.orgemily I don't think Nix treats file://a/b as relative or file:/a/b as absolute currently 04:41:28
@emilazy:matrix.orgemily 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
@emilazy:matrix.orgemilyat least a doc/tests issue, since the URL described as relative isn't04:44:04
@fzakaria:one.ems.hostfzakariaI wrote two tests for now. If we file a bug I can augment the parser04:44:52
@fzakaria:one.ems.hostfzakaria
        // Relative path (becomes file:)
        {"relative/repo", "file://relative/repo"},
        // Already file: scheme
        {"file:/var/repos/x", "file:/var/repos/x"},
04:44:54
@xokdvium:matrix.orgSergei 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:matrix.redalder.orgmagic_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:one.ems.hostfzakariaso should it fail ?14:24:39
@fzakaria:one.ems.hostfzakariaor just force relative paths to become absolute ? Can we handle this in a separate PR after and discuss?14:24:52
@fzakaria:one.ems.hostfzakariafixGitUrl always returns a url14:27:53
@fzakaria:one.ems.hostfzakariai guess it depends on other functions to fail for it14:27:58
26 Aug 2025
@joerg:thalheim.ioMic92Nix 2.24 removal: https://github.com/NixOS/nixpkgs/pull/43703908:05:02
@fzakaria:one.ems.hostfzakariacool to see it's broken up now per component14:46:25
@fzakaria:one.ems.hostfzakariawhy does it have a patch though?14:46:33
27 Aug 2025
@joerg:thalheim.ioMic92because upstream projects haven't released / merged the build fixes yet08:34:47
@philiptaron:matrix.orgPhilip Taron (UTC-8)I opened https://github.com/NixOS/nixpkgs/pull/437584 to package Nix 2.31.0 in Nixpkgs.17:10:49
@philiptaron:matrix.orgPhilip Taron (UTC-8)I copied the pattern from https://github.com/NixOS/nixpkgs/pull/42396217:12:08
@connorbaker:matrix.orgconnor (he/him) (UTC-7) changed their display name from connor (he/him) (UTC-7) to connor (he/him) (UTC+1).18:33:57
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan @ nix.camp.18:44:34

Show newer messages


Back to Room ListRoom Version: 6