Nix error: building nix env: exit status 1

Link to replit: https://replit.com/@WrigglySplash/Milton-Reimagined

Hey, I keep getting the error: nix error: building nix env: exit status 1
I am not sure if anyone else is running into the same problem. I tried checking if nix was even working and it never responded to any input commands.

Never mind, I just deleted everything in the Replit.nix file except for:

pkgs.nodejs-18_x
pkgs.nodePackages.typescript-language-server
pkgs.yarn
pkgs.replitPackages.jest

And it now magically works. Maybe one of the packages wasn’t too happy or something?

If you restore the previous contents and run this in the shell, it’ll fix it

sed -i s/telnet/inetutils/g replit.nix
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.