| 23 Mar 2026 |
llakala | * of course you can access it when its in an attrset via attr selection | 15:18:46 |
llakala | but i wasn't sure if you could access it when it's not selectable | 15:18:54 |
llakala | then a friend of mine had a great idea - inherit | 15:19:06 |
K900 | Oh that's disgusting | 15:19:23 |
llakala | let
"" = 5;
x = {
inherit "";
};
in x."" # 5
| 15:19:34 |
just1602 | That should error out | 15:19:33 |
llakala | this also works for accessing attributes with spaces in their names | 15:19:48 |
llakala | let
"foo bar" = 5;
x = {
inherit "foo bar";
};
in x."foo bar"
```
| 15:20:03 |
llakala | * let
"foo bar" = 5;
x = {
inherit "foo bar";
};
in x."foo bar"
| 15:20:10 |
llakala | the repl also has a neat bug here | 15:20:15 |
llakala | if you define "foo bar" = 1, then tab complete after typing foo, it writes out foo bar | 15:20:39 |
llakala | lol, "" = 1 also gets added to the list of symbols you can enter | 15:22:16 |
llakala | it just shows up as an empty line in the completion menu | 15:22:22 |
llakala |  Download image.png | 15:22:53 |
llakala | that's before | 15:22:57 |
llakala |  Download image.png | 15:23:16 |
llakala | and that's after | 15:23:18 |
piegames | Yes, these are all known glitches in the language unfortunately | 15:28:53 |
boop-north | I have somehow made my nix daemon not be on 24/7, my systemctl does not have the service file at all . I got it working by doing sudo nix daemon, could anyone help me with setting up the service again? | 16:17:27 |
boop-north | this happened when I was trying to run nix-shell using a systemctl service. | 16:18:30 |
whispers [& it/fae] | Redacted or Malformed Event | 16:22:06 |
whispers [& it/fae] | since recent updates, lix (by default) uses socket activation from template units with nix-daemon@.service, if that's what you mean | 16:23:21 |
whispers [& it/fae] | since recent updates (2.95), lix (by default) uses socket activation from template units with nix-daemon@.service, if that's what you mean | 16:23:33 |
whispers [& it/fae] | Redacted or Malformed Event | 16:23:53 |
whispers [& it/fae] | * see "Lix daemons are now fully socket-activated on systemd setups" at https://git.lix.systems/lix-project/lix/src/branch/release-2.95/doc/manual/src/release-notes/rl-2.95.md | 16:23:59 |
whispers [& it/fae] | since recent updates (2.95), lix (by default) uses socket activation from template units with nix-daemon@.service, if that's what you mean. it's not a bug | 16:24:52 |
K900 | That's normal on recent Lix | 16:26:46 |
K900 | It should be socket activated | 16:26:50 |
boop-north | How do I set that up, I keep getting a socket error whenever I try to do anything | 16:30:18 |
K900 | What does systemctl status nix-daemon.socket say? | 16:32:32 |