Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of warnings and... OpenJDK ? #1445

Open
nat-418 opened this issue May 26, 2024 · 0 comments
Open

Lots of warnings and... OpenJDK ? #1445

nat-418 opened this issue May 26, 2024 · 0 comments

Comments

@nat-418
Copy link

nat-418 commented May 26, 2024

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  

> [email protected] dev
> npm run prebuild && astro dev


> [email protected] prebuild
> npm run prebuild:manuals && npm run prebuild:pills && npm run prebuild:demos


> [email protected] 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.

> [email protected] 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

> [email protected] 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)?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant