[nix] move spago to nix, upgrade packages in package.json and some cleanup

Status Job ID Name Coverage
  Test
failed #1718
test

 
Name Stage Failure
failed
test Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace