!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
@validitymaiden:matrix.orgvaliditymaiden *

# 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:11:07
@charles:computer.surgeryCharles * ``` three backticks to do code blocks, code must not be on the same line as the three backticks ``` 23:11:16
@validitymaiden:matrix.orgvaliditymaiden *
# 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:11:22
@charles:computer.surgeryCharlesyeah weird that looks fine to me23:11:42
@validitymaiden:matrix.orgvaliditymaidenthanks for that lol23:11:44
@charles:computer.surgeryCharleshave you tried turning it off and on again23:12:01
@charles:computer.surgeryCharles does nix config show show the expected experimental features? 23:12:30
@validitymaiden:matrix.orgvaliditymaideni actually did lol. i restarted my macbook just to see23:12:32
@aidalgol:matrix.orgaidalgolOh, this is on macOS? I might be less helpful, then.23:12:56
* @charles:computer.surgeryCharles doesn't know macos either23:13:06
@validitymaiden:matrix.orgvaliditymaidenyeah i'm running Darwin Kernel Version 24.3.023:13:34
@validitymaiden:matrix.orgvaliditymaidenSequoia 15.3.123:13:55
@charles:computer.surgeryCharles can you paste the output of nix-info? 23:14:20
@charles:computer.surgeryCharles curious if the System configuration file: line points to the path we expect (i.e. /etc/nix/nix.conf) 23:14:46
@validitymaiden:matrix.orgvaliditymaiden nix config show | grep exper experimental-features = nix-command 23:14:59
@validitymaiden:matrix.orgvaliditymaiden *
nix config show | grep exper
experimental-features = nix-command
23:15:15
@charles:computer.surgeryCharles okay so flakes isn't enabled for some reason 23:15:47
@validitymaiden:matrix.orgvaliditymaidennix-info isn't an available command23:15:59
@charles:computer.surgeryCharles but nix-command is??? 23:15:59
@charles:computer.surgeryCharlesoh maybe that's a nixos thing23:16:08
@aidalgol:matrix.orgaidalgol nix-shell -p nix-info --run "nix-info -m" 23:16:36
@charles:computer.surgeryCharlesyeah try that ^23:16:45
@aidalgol:matrix.orgaidalgol And then you can just paste the output verbatim, because -m makes it output markdown. 23:17:06
@validitymaiden:matrix.orgvaliditymaiden

`
emily@athena % nix-shell -p nix-info --run "nix-info -m" [127]

error:
… while evaluating an expression to select 'runCommandCC' on it
at «string»:1:42:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (nix-info) ]; } ""
| ^

   … while calling the 'import' builtin
     at «string»:1:18:
        1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (nix-info) ]; } ""
         |                  ^

   (stack trace truncated; use '--show-trace' to show the full trace)

   error: experimental Lix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override

~
emily@athena %
`

23:17:21
@validitymaiden:matrix.orgvaliditymaidenomg pasting from apple's terminal is bad23:17:35
@charles:computer.surgeryCharles oh it doesn't work because extra-nix-path = nixpkgs=flake:nixpkgs 23:18:14
@charles:computer.surgeryCharlescool23:18:15
@charles:computer.surgeryCharleslmao23:18:18
@aidalgol:matrix.orgaidalgolSomething seems very wrong.23:18:27
@aidalgol:matrix.orgaidalgol OK, just to get past this for now, add --extra-experimental-features flakes as an argument to that command. 23:18:54

Show newer messages


Back to Room ListRoom Version: 10