!9IQChSjwSHXPPWTa:lix.systems

Lix

1123 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms305 Servers

Load older messages


SenderMessageTime
24 Feb 2026
@k900:0upti.meK900The flake based CLI09:57:42
@neobrain:matrix.orgneobrainso nix-command?09:58:47
@neobrain:matrix.orgneobrain* so the same as nix-command?09:58:54
@k900:0upti.meK900Yes09:58:54
@neobrain:matrix.orgneobrain* so the same as the nix-command feature?09:58:59
@neobrain:matrix.orgneobrainI see, thanks :)09:59:24
@sternenseemann:systemli.orgsterni
In reply to @raitobezarius:matrix.org
it already managed that in the complicated cross contexts :p
hm in *Platform? neat
10:31:24
@raitobezarius:matrix.orgraitobezariusyeah10:31:38
@raitobezarius:matrix.orgraitobezariussome BSD stuff10:31:41
@raitobezarius:matrix.orgraitobezariusrelated to Python manual splicing optimizations IIRC10:31:54
@liyua:liyua.moeLiyua joined the room.10:47:08
@goldstein:tty5.devgoldstein

hi! does anyone know if dropping support for path literals in flake input urls is intentional? code like

{
  inputs.a.url = ./a;
}

works on cppnix, but not on lix, and I’m wondering if that’s intentionally deprecated or just accidentally dropped

13:22:48
@goldstein:tty5.devgoldstein *

hi! does anyone know if dropping support for path literals in flake input urls is intentional? code like

{
  inputs.a.url = ./a;
  outputs = _: {};
}

works on cppnix, but not on lix, and I’m wondering if that’s intentionally deprecated or just accidentally dropped

13:23:04
@piegames:flausch.socialpiegamesUhm13:25:37
@piegames:flausch.socialpiegamesWhat's the error message?13:25:44
@goldstein:tty5.devgoldstein
error:
       … while evaluating flake attribute 'url'
         at /nix/store/x9y295jnchs4qlyxk9im7nqzfp1cr300-source/flake.nix:2:3:
            1| {
            2|   inputs.a.url = ./a;
             |   ^
            3|   outputs = _: {};

       error: expected a string but got a path at /nix/store/x9y295jnchs4qlyxk9im7nqzfp1cr300-source/flake.nix:2:3

13:26:20
@goldstein:tty5.devgoldstein *
error:
       … while evaluating flake attribute 'url'
         at /nix/store/x9y295jnchs4qlyxk9im7nqzfp1cr300-source/flake.nix:2:3:
            1| {
            2|   inputs.a.url = ./a;
             |   ^
            3|   outputs = _: {};

       error: expected a string but got a path at /nix/store/x9y295jnchs4qlyxk9im7nqzfp1cr300-source/flake.nix:2:3
13:26:30
@goldstein:tty5.devgoldstein
nix (Lix, like Nix) 2.95.0-pre20260223-dev_dirty

(no idea how to find out which specific commit it was, but I’m following main and have updated recently)

13:27:46
@goldstein:tty5.devgoldsteinpretty sure it’s just this check? https://git.lix.systems/lix-project/lix/src/commit/6b4de44461dbd872d12eca8721f24b8756f2ee99/lix/libexpr/flake/flake.cc#L17213:30:02
@goldstein:tty5.devgoldsteinalthough it was introduced way before the split, so not sure why cppnix doesn’t have the same problem13:31:40
@goldstein:tty5.devgoldsteinI think it was just allowed in cppnix post-split, see https://github.com/NixOS/nix/commit/3180671cabeb6a6010057770731e12761ed5666c do we want this to work in lix too? I can try to port this patch13:34:27
@goldstein:tty5.devgoldsteinalso, more generally: what’s the policy for reporting compatibility issues? I was doing an equivalent of nix crater run, so I have a bunch of fun stuff, but I’m not sure what is intentional and what isn’t. should I just report it on the issue tracker?13:44:32
@piegames:flausch.socialpiegamesFlakes are currently frozen until at least after the 2.95 release13:49:16
@piegames:flausch.socialpiegames
In reply to @goldstein:tty5.dev
also, more generally: what’s the policy for reporting compatibility issues? I was doing an equivalent of nix crater run, so I have a bunch of fun stuff, but I’m not sure what is intentional and what isn’t. should I just report it on the issue tracker?
Opening issues is fine, if you have a bulk then Zulip or here are good too
13:49:50
@piegames:flausch.socialpiegamesWhat setup are you using for your runs?13:49:58
@goldstein:tty5.devgoldstein I’m currently writing a post, but it’s basically “get a random flake from the internet, remove flake.lock, run nix flake lock, try to evaluate some common outputs” 13:50:34
@goldstein:tty5.devgoldsteinI’ve checked ~7600 flakes this way and am currently sorting the results13:50:57
@piegames:flausch.socialpiegamesNice13:51:54
@piegames:flausch.socialpiegamesWould you be interested in contributing to https://git.lix.systems/lix-project/flaker13:52:04
@piegames:flausch.socialpiegamesBecause currently it only does parser diffing, not eval13:52:27

Show newer messages


Back to Room ListRoom Version: 10