diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41')
2 files changed, 14 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/default.nix b/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/default.nix index 8a4fa303937c..6475deb1026b 100644 --- a/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { ./fsharp-IsPathRooted-type-inference.patch ./fsharp-string-switchName.patch ./fsharp-path-overloads.patch + ./fsharp-GetFileNameWithoutExtension-type-inference.patch ]; configurePhase = '' diff --git a/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/fsharp-GetFileNameWithoutExtension-type-inference.patch b/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/fsharp-GetFileNameWithoutExtension-type-inference.patch new file mode 100644 index 000000000000..14e9444b1de3 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/compilers/fsharp41/fsharp-GetFileNameWithoutExtension-type-inference.patch @@ -0,0 +1,13 @@ +diff --git a/src/scripts/fssrgen.fsx b/src/scripts/fssrgen.fsx +index 0bee9b79e..e6ceda11e 100644 +--- a/src/scripts/fssrgen.fsx ++++ b/src/scripts/fssrgen.fsx +@@ -329,7 +329,7 @@ let StringBoilerPlate filename = + // END BOILERPLATE + " + +-let RunMain(filename, outFilename, outXmlFilenameOpt, projectNameOpt) = ++let RunMain(filename:string, outFilename, outXmlFilenameOpt, projectNameOpt) = + try + let justfilename = System.IO.Path.GetFileNameWithoutExtension(filename) + if justfilename |> Seq.exists (fun c -> not(System.Char.IsLetterOrDigit(c))) then |