fix swift version
This commit is contained in:
parent
7d9009b714
commit
bc80269ce2
|
@ -3,7 +3,7 @@ let
|
||||||
pkg = pkgs.swift;
|
pkg = pkgs.swift;
|
||||||
in piston.mkRuntime {
|
in piston.mkRuntime {
|
||||||
language = "swift";
|
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 = [];
|
aliases = [];
|
||||||
|
|
||||||
run = ''
|
run = ''
|
||||||
|
@ -23,4 +23,4 @@ in piston.mkRuntime {
|
||||||
main = "file0.code";
|
main = "file0.code";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue