NixOS / nixos-homepage

Sources for nixos.org
https://nixos.org
285 stars 305 forks source link

Lots of warnings and... OpenJDK ? #1445

Open nat-418 opened 1 month ago

nat-418 commented 1 month ago

Working with the nix-shell based development workflow, I get a huge amount of warnings and then stuff like OpenJDK gets pulled. I don't really understand why this is happening.

$ 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 --extra-experimental-features flakes --extra-experimental-features nix-command .#manuals -o ./result-manuals && mkdir -p ./public/manual && cp --no-preserve=mode,ownership -RL ./result-manuals/* ./public/manual/

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)? N
do you want to permanently mark this value as untrusted (y/N)? N
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
do you want to allow configuration setting 'extra-trusted-public-keys' to be set to 'nixos-homepage.cachix.org-1:NHKBt7NjLcWfgkX4OR72q7LVldKJe/JOsfIWFDAn/tE= nixos-nix-install-tests.cachix.org-1:Le57vOUJjOcdzLlbwmZVBuLGoDC+Xg2rQDtmIzALgFU=' (y/N)? N
do you want to permanently mark this value as untrusted (y/N)? N
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
trace: lib.zip is deprecated, use lib.zipAttrsWith instead
trace: warning: lib.strings.isCoercibleToString is deprecated in favor of either isStringLike or isConvertibleWithToString. Only use the latter if it needs to return true for null, numbers, booleans and list of similarly coercibles.
trace: warning: lib.readPathsFromFile is deprecated, use a list instead
trace: warning: replaceChars is a deprecated alias of replaceStrings, replace usages of it with replaceStrings.
trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
trace: lib.crossLists is deprecated, use lib.cartesianProductOfSets instead
trace: warning: literalExample is deprecated, use literalExpression instead, or use literalMD for a non-Nix description.
trace: warning: lib.sources.pathIsDirectory has been moved to lib.filesystem.pathIsDirectory.
trace: warning: lib.sources.pathIsRegularFile has been moved to lib.filesystem.pathIsRegularFile.
trace: warning: lib.sources.pathType has been moved to lib.filesystem.pathType.
trace: warning: lib.zip is a deprecated alias of lib.zipAttrsWith.
trace: warning: lib.zipWithNames is a deprecated alias of lib.zipAttrsWithNames.
trace: warning: lib.strings.isCoercibleToString is deprecated in favor of either isStringLike or isConvertibleWithToString. Only use the latter if it needs to return true for null, numbers, booleans and list of similarly coercibles.
trace: warning: lib.readPathsFromFile is deprecated, use a list instead.
trace: warning: lib.replaceChars is a deprecated alias of lib.replaceStrings.
trace: warning: lib.nixpkgsVersion is a deprecated alias of lib.version.
trace: warning: lib.crossLists is deprecated, use lib.cartesianProductOfSets instead.
trace: warning: lib.literalExample is deprecated, use lib.literalExpression instead, or use lib.literalMD for a non-Nix description.
trace: warning: lib.sources.pathIsDirectory has been moved to lib.filesystem.pathIsDirectory.
trace: warning: lib.sources.pathIsRegularFile has been moved to lib.filesystem.pathIsRegularFile.
trace: warning: lib.sources.pathType has been moved to lib.filesystem.pathType.

> next@0.0.1 prebuild:pills
> nix build --extra-experimental-features flakes --extra-experimental-features nix-command .#pills -o ./result-pills && mkdir -p ./public/guides/nix-pills && cp --no-preserve=mode,ownership -RL ./result-pills/* ./public/guides/nix-pills/

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)? N
do you want to permanently mark this value as untrusted (y/N)? N
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
do you want to allow configuration setting 'extra-trusted-public-keys' to be set to 'nixos-homepage.cachix.org-1:NHKBt7NjLcWfgkX4OR72q7LVldKJe/JOsfIWFDAn/tE= nixos-nix-install-tests.cachix.org-1:Le57vOUJjOcdzLlbwmZVBuLGoDC+Xg2rQDtmIzALgFU=' (y/N)? N
do you want to permanently mark this value as untrusted (y/N)? N
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it

> next@0.0.1 prebuild:demos
> nix build --extra-experimental-features flakes --extra-experimental-features nix-command .#demos -o ./result-demos && mkdir -p ./public/demos && cp --no-preserve=mode,ownership -RL ./result-demos/* ./public/demos/

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)?