File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 4747 chmod +x "$ldlld"
4848 fi
4949 '' ) ;
50+ passthru = ( oA . passthru or { } ) // {
51+ toolchainVersionAttrs = args ;
52+ } ;
5053 } ) ) // {
5154 targetPlatforms = [ "x86_64-linux" ] ;
5255 badTargetPlatforms = [ ] ;
9396 sha256 = "sha256-sqSWJDUxc+zaz1nBWMAJKTAGBuGWP25GCftIOlCEAtA=" ;
9497 } ;
9598 nightly = {
96- date = "2026-01-19 " ;
99+ date = "2026-02-27 " ;
97100 channel = "nightly" ;
98- sha256 = "sha256-Ye65U/qzilPLte800N5oxFOY96shgG8bST8dbrF6Qh0 =" ;
101+ sha256 = "sha256-5twI9QsrPl0ryOZ4POGYAivSeI08jgmWnv0wVvzbjcE =" ;
99102 } ;
100103 "1.89" = {
101104 date = "2025-08-07" ;
191194 # nothing as well.
192195 rustup-like-wrapper = name : pkgs . writeShellScriptBin name
193196 ( let
194- clause = name : toolchain :
195- "+${ name } ) base=\" ${ toolchain . rust } \" ; shift 1; ;;" ;
197+ clause = name : toolchain : ''
198+ +${ name } ) base="${ toolchain . rust } "; shift 1; ;;
199+ +${ name } -${ toolchain . rust . toolchainVersionAttrs . date } ) base="${ toolchain . rust } "; shift 1; ;;
200+ '' ;
196201 clauses = lib . strings . concatStringsSep "\n "
197202 ( lib . mapAttrsToList clause toolchains ) ;
198203 in ''
You can’t perform that action at this time.
0 commit comments