-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
What i did
- Being on Windows, I downloaded virtualbox and the nixos viritualbox image https://nixos.org/download/#nixos-virtualbox
- Booting up the image and activating git temporarily via
nix-shell -p git - Downloading the repo via
git clone https://git.vdx.hu/voidcontext/nixos-uconsole.git cd nixos-uconsole- Running the command in the README.md:
nix build .\#packages.aarch64-linux.\"sd-image-cm4-6.1-potatomania\" -L
Expected Behaviour
Nix builds an image that I can put on my sd-card, location `result/sd-image
Actual Result`
[nix-shell:~/git/nixos-uconsole]$ nix build .\#packages.aarch64-linux.\"sd-image-cm4-6.1-potatomania\" -L
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
[nix-shell:~/git/nixos-uconsole]$ nix build .\#packages.aarch64-linux.\"sd-image-cm4-6.1-potatomania\" -L --extra-experimental-features
error: flag '--extra-experimental-features' requires 1 argument(s), but only 0 were given
Try 'nix --help' for more information.
[nix-shell:~/git/nixos-uconsole]$ nix build .\#packages.aarch64-linux.\"sd-image-cm4-6.1-potatomania\" -L --extra-experimental-features nix-command
error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override
[nix-shell:~/git/nixos-uconsole]$ nix build .\#packages.aarch64-linux.\"sd-image-cm4-6.1-potatomania\" -L --extra-experimental-features nix-command --extra-experimental-features flakes
error:
… while calling the 'import' builtin
at /nix/store/1r9cs7jyb2jwjs558axv5mh62dx4jd9v-source/flake.nix:22:12:
21|
22| pkgs = import nixpkgs {inherit system overlays;};
| ^
23|
… in the condition of the assert statement
at «string»:66:13:
65| if node.flake or true then
66| assert builtins.isFunction flake.outputs;
| ^
67| result
(stack trace truncated; use '--show-trace' to show the full trace)
error: failed to extract archive (Write failed)
Question
What am I doing wrong and could we update the README.md command to make it more clear, what to do? I have some NixOS experience but was shyed away from using flakes. Probably something that I have to look into now.
voidcontext
Metadata
Metadata
Assignees
Labels
No labels