You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The npm scripts rely on the experimental CLI, and experimental features.
~/.../NixOS/nixos-homepage $ nix-shell
To bootstrap developing environment run:
npm install
To start developing run:
npm run dev
and go to the following URL in your browser:
http://localhost:4321
It will rebuild the website on each change.
[nix-shell:~/.../NixOS/nixos-homepage]$ npm run dev
> next@0.0.1 dev
> npm run prebuild && astro dev
> next@0.0.1 prebuild
> npm run prebuild:manuals && npm run prebuild:pills && npm run prebuild:demos
> next@0.0.1 prebuild:manuals
> nix build .#manuals -o ./result-manuals && mkdir -p ./public/manual && cp --no-preserve=mode,ownership -RL ./result-manuals/* ./public/manual/
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
I am unexpectedly interrupted with Nix interactive questions
[nix-shell:~/.../NixOS/nixos-homepage]$ npm run dev
> next@0.0.1 dev
> npm run prebuild && astro dev
> next@0.0.1 prebuild
> npm run prebuild:manuals && npm run prebuild:pills && npm run prebuild:demos
> next@0.0.1 prebuild:manuals
> nix --extra-experimental-features flakes --extra-experimental-features nix-command build .#manuals -o ./result-manuals && mkdir -p ./public/manual && cp --no-preserve=mode,ownership -RL ./result-manuals/* ./public/manual/
warning: Git tree '/Users/samuel/Projects/NixOS/nixos-homepage' is dirty
do you want to allow configuration setting 'extra-substituters' to be set to 'https://nixos-homepage.cachix.org https://nixos-nix-install-tests.cachix.org' (y/N)?
I expect that when running a dev command (npm run dev here) that it won't be interrupted by a couple interactive questions.
The text was updated successfully, but these errors were encountered:
The npm scripts rely on the experimental CLI, and experimental features.
Adding the missing experimental arguments
I am unexpectedly interrupted with Nix interactive questions
I expect that when running a dev command (
npm run dev
here) that it won't be interrupted by a couple interactive questions.The text was updated successfully, but these errors were encountered: