22 Feb 2025 |
KFears (no longer human) | Thanks for going through all that trouble! It might be some Forgejo API quirks. I'll go look for more info and see where it makes sense to report and document this 🙂 | 02:00:41 |
Whovian9369 | Not a problem, and happy to help! | 02:24:27 |
Whovian9369 | I wanted to make sure that someone at least had eyes on this in case it was an actual {L,N}ix issue and not "idk, Forgejo is just weird sometimes." | 02:25:24 |
| @vess:tchncs.de changed their profile picture. | 14:53:41 |
| @vess:tchncs.de left the room. | 15:34:23 |
| Miguel Frias Mosquea joined the room. | 22:31:04 |
validitymaiden | i've noticed that after an installation of lix, lix shell doesn't work as it needs flakes but i installed saying yes to using flakes. is this intentional? I suppose I could make a flakes file but i wanted to make sure i was using the program correctly | 22:46:12 |
Charles | afaik there is no lix command, do you mean nix shell ? | 22:49:07 |
Charles | * afaik there is no lix command (yet?), do you mean nix shell ? | 22:49:17 |
Charles | Do you have both nix-command and flakes experimental features enabled? | 22:52:20 |
validitymaiden | yes, that was my mistake. I meant to say nix shell | 22:53:09 |
Charles | In reply to @charles:computer.surgery Do you have both nix-command and flakes experimental features enabled? These things are generally configured in nix.conf which is documented here: https://docs.lix.systems/manual/lix/stable/command-ref/conf-file.html | 22:54:31 |
validitymaiden | this is prior to any configuration. i've never enabled flakes before but i've used channels; at least insofar as to installing home-manager | 22:55:20 |
validitymaiden | I'll check this out, thanks | 22:55:30 |
Charles | Check your nix.conf and make sure those two experimental-features are enabled | 22:56:03 |
validitymaiden | I believe i do: experimental-features = nix-command flakes is present in /etc/nix/nix.conf | 22:57:47 |
validitymaiden | i'm starting to think i forgot to instantiate a new shell | 22:58:36 |
validitymaiden | no, that wasn't it. i'm checking my env against what is in the nix profile | 22:59:49 |
Charles | What exactly is the command you're running and what exactly is the error message output | 23:00:53 |
validitymaiden | emily@athena % nix shell nixpkgs/nixos-20.03#hello error: experimental Lix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override | 23:01:18 |
aidalgol | I think you need to restart the nix daemon to apply config file changes. | 23:03:08 |
Charles | Also 20.03 is ancient lol where'd you get that from | 23:07:52 |
validitymaiden | restarted the daemon but the error persists | 23:08:26 |
validitymaiden | well, i wanted to get a better understanding of the nix ecosystem so i did a fresh install of lix and went to the 'Nix Resources` page and started with the official Nix ecosystem documentation | 23:09:16 |
aidalgol | Next idea: change experimental-features to extra-experimental-features | 23:09:45 |
Charles | or maybe paste your nix.conf here | 23:10:07 |
Charles | extra- might work but it won't tell us why | 23:10:22 |
validitymaiden | `# Generated by https://install.lix.systems/.
See /nix/nix-installer --version for the version details.
build-users-group = nixbld experimental-features = nix-command flakes bash-prompt-prefix = (nix:$name)\040 max-jobs = auto substituters = https://cache.nixos.org https://cache.lix.systems trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= extra-nix-path = nixpkgs=flake:nixpkgs `
| 23:10:35 |
Charles | do you have experimental-features = ... more than once in your nix.conf ? | 23:10:34 |
Charles | ```
three backticks to do code blocks
``` | 23:11:00 |