warning: unknown experimental feature 'flake' #29

Closed
opened 2024-05-16 20:32:46 +00:00 by ztr-pen · 2 comments
ztr-pen commented 2024-05-16 20:32:46 +00:00 (Migrated from github.com)

Trying to get started on Nixos 24.05 (unstable) on existing linux system. Running command:
nix --extra-experimental-features nix-command --extra-experimental-features flake new -t github:auxolotl/templates#system NixFiles

Returns warning:
warning: unknown experimental feature 'flake'
error: 'new' is not a recognised command
Did you mean one of key or nar?

The system is already flake enabled in configuration.nix.

Trying to get started on Nixos 24.05 (unstable) on existing linux system. Running command: `nix --extra-experimental-features nix-command --extra-experimental-features flake new -t github:auxolotl/templates#system NixFiles` Returns warning: `warning: unknown experimental feature 'flake'` `error: 'new' is not a recognised command` `Did you mean one of key or nar?` The system is already flake enabled in configuration.nix.
TheCodedProf commented 2024-05-17 00:19:44 +00:00 (Migrated from github.com)

Super sorry about that. I've updated the commands to use the correct feature name (flakes)

Super sorry about that. I've updated the commands to use the correct feature name (flakes)
ztr-pen commented 2024-05-17 07:05:09 +00:00 (Migrated from github.com)

Thanks @TheCodedProf

The correct command includes "flakes flake" with correct command being:

nix --extra-experimental-features nix-command --extra-experimental-features flakes flake new -t github:auxolotl/templates#system NixFiles

I have created a pull request on the readme.MD for this update.

Thanks @TheCodedProf The correct command includes "flakes flake" with correct command being: `nix --extra-experimental-features nix-command --extra-experimental-features flakes flake new -t github:auxolotl/templates#system NixFiles` I have created a pull request on the readme.MD for this update.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: auxolotl/templates#29
No description provided.