| 25 Jan 2026 |
QuadRadical (Ping) | * Even the Eurostar from London is somewhat affected, some trains have been cancelled or delayed | 11:40:36 |
delroth | oof | 11:57:50 |
Arian | Meh Belgian rail system on strike is probably still more organized than German rail system on a normal day | 12:18:30 |
neobrain | Given a flake with multiple checks, how does one actually run one specific check? nix flake check seems to unconditionally run them all | 13:05:56 |
Psentee | I think you can address them like packages or other outputs, nix flake check '.#check_name', but it's been a while since I used flakes so I might be wrong | 13:07:03 |
neobrain | nope, error: unexpected fragment 'nixosSystemAcceptsLib' in flake reference '.#nixosSystemAcceptsLib' | 13:07:40 |
Unhooked Spirits | I think it's "nix build .#system.checks.name" | 13:08:00 |
Unhooked Spirits | But you have to know the system | 13:08:07 |
neobrain | Ah yeah that works, thanks! I tried without system.checks before and then it tried to go through pkgs instead :D | 13:09:28 |
kfiz | Just tested. Doesn't work for me with this:
#! /usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#hello nixpkgs#cowsay --command bash
hello | cowsay
| 13:59:37 |
kfiz | Interesting. How do you run your scripts? | 14:01:00 |
kfiz | * 0x4fbb09 it/its ⛯✇ΘΔ: Interesting. How do you run your scripts? | 14:01:33 |
0x4fbb09 it/its ⛯✇ΘΔ | oh wait did i confuse 2 features together, i have
#!/usr/bin/env nix-shell
#!nix-shell -i fish -p fish validator-nu ripgrep
| 14:05:56 |
0x4fbb09 it/its ⛯✇ΘΔ | which runs the rest of the shell in fish, with validator-nu and ripgrep in PATH | 14:06:11 |
0x4fbb09 it/its ⛯✇ΘΔ | right, i did, that's not the same thing | 14:06:42 |
0x4fbb09 it/its ⛯✇ΘΔ | well i think it is, but just the older cli. in practice that's the same | 14:07:23 |
KFears (they/them) | There are gotchas between the old CLI and new CLI, and also in the shebang invocation thing... | 14:11:45 |
KFears (they/them) | Last I checked, the impl was pretty horrifying, like it was an if gate in the CLI command code that checked if this is invocation from the shebang with means I don't remember, and then it like, parsed the next line as the command invocation but with a few special variables set which modified behavior, and then ran the rest | 14:14:00 |
KFears (they/them) | And the code had like, ifs nested 4 layers deep, and also it was written in the nix-build command code, because apparently nix-shell isn't a separate command, but instead nix-build code switches between different modes with a bunch of flags based on whether the argv0 is nix-build or nix-shell, and otherwise they use the same function for impl which is like 400 lines long and has ifs nested 4 layers deep | 14:15:58 |
KFears (they/them) | I previously thought old CLI salvageable, but this was one of the two reasons I gave up on the idea of improving it to get somewhere good | 14:17:25 |
KFears (they/them) | The second reason was nix-env | 14:17:31 |
KFears (they/them) | In reply to @kfears:matrix.org And the code had like, ifs nested 4 layers deep, and also it was written in the nix-build command code, because apparently nix-shell isn't a separate command, but instead nix-build code switches between different modes with a bunch of flags based on whether the argv0 is nix-build or nix-shell, and otherwise they use the same function for impl which is like 400 lines long and has ifs nested 4 layers deep Err it might not be the nix-build file and command that is used for nix-shell, but nix-env file and command | 14:18:23 |
KFears (they/them) | I don't quite remember | 14:18:29 |
isabel | seeing the nix.dev link i thought ohh it would be cool to make lix.dev but thats taken by a ai thing 😭 | 14:36:16 |
| dadada changed their profile picture. | 20:33:50 |
| dadada changed their profile picture. | 20:38:54 |
| dadada changed their profile picture. | 21:17:31 |
| 26 Jan 2026 |
neobrain | more annoyingly, apparently lix dot dev already ranks higher in bing/ddg search results than lix.systems despite being barely a week old :( | 07:54:50 |
neobrain | * more annoyingly, apparently lix dot dev already ranks higher in bing/ddg search results for "lix documentation" than lix.systems despite being barely a week old :( | 07:55:00 |
neobrain | (and the latter doesn't even come second but some web3 thing does) | 07:56:29 |