diff --git a/modules.json b/modules.json index de6c3aad..e4b14b94 100644 --- a/modules.json +++ b/modules.json @@ -71,6 +71,10 @@ "commit": "0b7a60667d2c29f2686211e952924a9693916a20", "path": "/nix/store/9f5s47qg1ldibsggzxx2k1w74z5p7fkl-replit-module-go-1.20" }, + "go-1.20:v2-20230911-b5aa5df": { + "commit": "b5aa5df636c4cd8cd1aea251e8dea4fc0aa51781", + "path": "/nix/store/rl2f3cf78kbr06bavn5ny0mh19dzrry8-replit-module-go-1.20" + }, "haskell-ghc9.0:v1-20230525-c48c43c": { "commit": "c48c43c6c698223ed3ce2abc5a2d708735a77d5b", "path": "/nix/store/ayihz2zdzc2vsv6l437srdynqrk8xvny-replit-module-haskell-ghc9.0" diff --git a/pkgs/modules/go/default.nix b/pkgs/modules/go/default.nix index efc178d8..45417378 100644 --- a/pkgs/modules/go/default.nix +++ b/pkgs/modules/go/default.nix @@ -15,8 +15,7 @@ in name = "go run"; language = "go"; - start = "${pkgs.go}/bin/go run $file"; - fileParam = true; + start = "${pkgs.go}/bin/go run $REPL_HOME"; }; replit.formatters.go-fmt = { diff --git a/pkgs/upgrade-maps/default.nix b/pkgs/upgrade-maps/default.nix index f6db2ee6..4cf33e3d 100644 --- a/pkgs/upgrade-maps/default.nix +++ b/pkgs/upgrade-maps/default.nix @@ -18,6 +18,8 @@ let "bun-0.7:v1-20230724-4274858" = { to = "bun-1.0:v1-20230911-f253fb1"; auto = true; }; "go" = { to = "go-1.19:v1-20230525-c48c43c"; auto = true; }; + "go-1.19:v1-20230525-c48c43c" = { to = "go-1.20:v1-20230623-0b7a606"; auto = true; }; + "go-1.20:v1-20230623-0b7a606" = { to = "go-1.20:v2-20230911-b5aa5df"; auto = true; }; "java-graalvm22.3:v1-20230525-c48c43c" = { to = "java-graalvm22.3:v2-20230623-0b7a606"; auto = true; }; "java-graalvm22.3:v2-20230623-0b7a606" = { to = "java-graalvm22.3:v3-20230707-3ef18cf"; auto = true; };