Errors in Icon-Shelf Project Packaging

Package Name: icon-shelf

Version: 0.1.18

Project Homepage: <>

Source Code: <>

Iconshelf.nix: <>

Build Issues:

When running nixos-rebuild switch, the following errors occur:

npm ERR! code EAI_AGAIN
npm ERR! syscall getaddrinfo
npm ERR! errno EAI_AGAIN
npm ERR! request to failed, reason: getaddrinfo EAI_AGAIN

npm ERR! Log files were not written due to an error writing to the directory: /homeless-shelter/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

It seems that there are issues with downloading the dependency yocto-queue from the npm registry. The error suggests that it may be related to DNS resolution or network connectivity problems.

Steps to Reproduce:

  1. Create iconshelf.nix like the one above.
  2. Run nixos-rebuild switch to build and switch to the new configuration.

Expected Behavior:

After running nixos-rebuild switch, the package should be built successfully, and the icon-shelf application should be available for use.

Actual Behavior:

The build process fails, and the package is not created due to the above-mentioned errors.

My knowledge of packaging is limited so any suggestions on how to resolve these issues would be greatly appreciated. Thank you for your time and assistance!

1 Like

Please refer to my solution here, it will solve it hopefully. I had the same issue:

1 Like

Thank you for your response. Your guidance allowed me to solve the initial problems, however, the emergence of new issues regarding other libraries has taken place, which I don’t currently have the time or knowledge to solve.

While my immediate requirement for the software has diminished, I maintain an interest in further discourses connected to it.

1 Like

Definitely, will be happy to for future discourse :grin: