!9IQChSjwSHXPPWTa:lix.systems

Lix

807 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-rooms235 Servers

Load older messages


SenderMessageTime
22 Feb 2025
@kfears:matrix.orgKFears (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:matrix.orgWhovian9369Not a problem, and happy to help! 02:24:27
@whovian9369:matrix.orgWhovian9369I 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@vess:tchncs.de changed their profile picture.14:53:41
@vess:tchncs.de@vess:tchncs.de left the room.15:34:23
@maikelfrias:matrix.orgMiguel Frias Mosquea joined the room.22:31:04
@validitymaiden:matrix.orgvaliditymaiden 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:computer.surgeryCharles afaik there is no lix command, do you mean nix shell? 22:49:07
@charles:computer.surgeryCharles * afaik there is no lix command (yet?), do you mean nix shell? 22:49:17
@charles:computer.surgeryCharles Do you have both nix-command and flakes experimental features enabled? 22:52:20
@validitymaiden:matrix.orgvaliditymaiden yes, that was my mistake. I meant to say nix shell 22:53:09
@charles:computer.surgeryCharles
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:matrix.orgvaliditymaiden 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:matrix.orgvaliditymaidenI'll check this out, thanks22:55:30
@charles:computer.surgeryCharles Check your nix.conf and make sure those two experimental-features are enabled 22:56:03
@validitymaiden:matrix.orgvaliditymaiden I believe i do: experimental-features = nix-command flakes is present in /etc/nix/nix.conf 22:57:47
@validitymaiden:matrix.orgvaliditymaideni'm starting to think i forgot to instantiate a new shell22:58:36
@validitymaiden:matrix.orgvaliditymaiden no, that wasn't it. i'm checking my env against what is in the nix profile 22:59:49
@charles:computer.surgeryCharlesWhat exactly is the command you're running and what exactly is the error message output23:00:53
@validitymaiden:matrix.orgvaliditymaiden 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:matrix.orgaidalgolI think you need to restart the nix daemon to apply config file changes.23:03:08
@charles:computer.surgeryCharlesAlso 20.03 is ancient lol where'd you get that from23:07:52
@validitymaiden:matrix.orgvaliditymaidenrestarted the daemon but the error persists23:08:26
@validitymaiden:matrix.orgvaliditymaidenwell, 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 documentation23:09:16
@aidalgol:matrix.orgaidalgol Next idea: change experimental-features to extra-experimental-features 23:09:45
@charles:computer.surgeryCharles or maybe paste your nix.conf here 23:10:07
@charles:computer.surgeryCharles extra- might work but it won't tell us why 23:10:22
@validitymaiden:matrix.orgvaliditymaiden

`# 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:computer.surgeryCharles do you have experimental-features = ... more than once in your nix.conf? 23:10:34
@charles:computer.surgeryCharles``` three backticks to do code blocks ```23:11:00

Show newer messages


Back to Room ListRoom Version: 10