Hi, I entered some random words into my nix environment, and now the code cant run

Hi, I did some research on this topic, however, have not figured out why the code won’t run. When I try, I receive an error ‘error: attribute ‘what’ missing, at /home/runner/Baseball-Sim/replit.nix:4:9’.

I believe, in boredom I entered “hi there what ” into the console and it has somehow added “what” as an attribute and I’m not sure how to remove it. I’m pretty sure that I could make a duplicate of the project and it might fix, but it doesn’t feel like this should be that big of an issue.

Once again, this is not an issue with the code, given I did not edit the code at all between having just ran it seconds before, and running it again seconds later. You shouldn’t need my code to solve this issue.

If you have any idea why this is happening, please let me know.

Can you please lik your repl? And I am pretty sure a simple modification to replit.nix will fix it.

1 Like

Can you remove those lines?

https://replit.com/@DavidThacker/QuestionableHardtofindBackend#Main.java

I recreated the same issue on this project, not sure if its public or not, and indeed I simply added “what” to “replit.nix”, so how would I remove it?

Go into replit.nix file and remove the line that has pkgs.what.

1 Like

Took me a minute, but I found it, thanks!

1 Like