Skip to content

Commit

Permalink
fix go-1.21 historical module
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantm authored and blast-hardcheese committed Oct 11, 2024
1 parent 78d7030 commit 404022f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ or
```
nix build .#custom-bundle-squashfs
```

## Adding modules to historical modules

pkgs/historical-modules/default.nix provides a list of modules that are still active but we no longer maintain and build.

To add a new historical module, you need to pick a commit of the nix modules repo that has that module in it. This commit's src code will be used to build this module.
6 changes: 3 additions & 3 deletions pkgs/historical-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ let
}
{
moduleId = "go-1.21";
commit = "b5aa5df636c4cd8cd1aea251e8dea4fc0aa51781";
commit = "00fa9ccbbd30ded08a8ab54259490102f21905b7";
overrides = {
# /nix/store/q6j9za8smkdbnlybg63qq5lmj7zbambr-replit-module-go-1.20
# .runners["go-run"].displayVersion = "1.20.4";
# /nix/store/vjdwykj1l3hkr5hzjdr4m1m2mq8vxj0i-replit-module-go-1.21
# .runners["go-run"].displayVersion = "1.21.13";
displayVersion = "1.21";
};
}
Expand Down

0 comments on commit 404022f

Please sign in to comment.