22 Feb 2025 |
validitymaiden | *
# 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 | * ```
three backticks to do code blocks, code must not be on the same line as the three backticks
``` | 23:11:16 |
validitymaiden | * # 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 | yeah weird that looks fine to me | 23:11:42 |
validitymaiden | thanks for that lol | 23:11:44 |
Charles | have you tried turning it off and on again | 23:12:01 |
Charles | does nix config show show the expected experimental features? | 23:12:30 |
validitymaiden | i actually did lol. i restarted my macbook just to see | 23:12:32 |
aidalgol | Oh, this is on macOS? I might be less helpful, then. | 23:12:56 |
| * Charles doesn't know macos either | 23:13:06 |
validitymaiden | yeah i'm running Darwin Kernel Version 24.3.0 | 23:13:34 |
validitymaiden | Sequoia 15.3.1 | 23:13:55 |
Charles | can you paste the output of nix-info ? | 23:14:20 |
Charles | curious if the System configuration file: line points to the path we expect (i.e. /etc/nix/nix.conf ) | 23:14:46 |
validitymaiden | nix config show | grep exper experimental-features = nix-command | 23:14:59 |
validitymaiden | * nix config show | grep exper
experimental-features = nix-command
| 23:15:15 |
Charles | okay so flakes isn't enabled for some reason | 23:15:47 |
validitymaiden | nix-info isn't an available command | 23:15:59 |
Charles | but nix-command is??? | 23:15:59 |
Charles | oh maybe that's a nixos thing | 23:16:08 |
aidalgol | nix-shell -p nix-info --run "nix-info -m" | 23:16:36 |
Charles | yeah try that ^ | 23:16:45 |
aidalgol | And then you can just paste the output verbatim, because -m makes it output markdown. | 23:17:06 |
validitymaiden | ` 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 | omg pasting from apple's terminal is bad | 23:17:35 |
Charles | oh it doesn't work because extra-nix-path = nixpkgs=flake:nixpkgs | 23:18:14 |
Charles | cool | 23:18:15 |
Charles | lmao | 23:18:18 |
aidalgol | Something seems very wrong. | 23:18:27 |
aidalgol | OK, just to get past this for now, add --extra-experimental-features flakes as an argument to that command. | 23:18:54 |