fix swift version

This commit is contained in:
Dan Vargas 2022-02-06 22:26:23 -07:00
parent 7d9009b714
commit bc80269ce2
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ let
pkg = pkgs.swift;
in piston.mkRuntime {
language = "swift";
version = "5.4.2"; # pkg.version attribute is missing, so pinning it to 5.4.2
version = (builtins.parseDrvName pkg.name).version;
aliases = [];
run = ''