diff options
author | Ivar Scholten <ivar.scholten@protonmail.com> | 2022-02-11 16:42:07 +0100 |
---|---|---|
committer | Ivar Scholten <ivar.scholten@protonmail.com> | 2022-02-11 16:42:07 +0100 |
commit | b2b54c980a6d0fe1df731e24fc2fc17aeb755efe (patch) | |
tree | 6a3f8221c1ce825542de13109c39f91ec18ba8c5 /pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh | |
parent | 1878b7b1b2fd3186e48511ba3a0ea8e3574664fc (diff) | |
download | nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.tar nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.tar.gz nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.tar.bz2 nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.tar.lz nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.tar.xz nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.tar.zst nixpkgs-b2b54c980a6d0fe1df731e24fc2fc17aeb755efe.zip |
dotnetbuildhelpers: move to pkgs/build-support/dotnet
Diffstat (limited to 'pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh')
-rwxr-xr-x | pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh b/pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh deleted file mode 100755 index 3f81cc73e80..00000000000 --- a/pkgs/build-support/dotnetbuildhelpers/patch-fsharp-targets.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Some project files look for F# targets in $(FSharpTargetsPath) -# so it's a good idea to add something like this to your ~/.bash_profile: - -# export FSharpTargetsPath=$(dirname $(which fsharpc))/../lib/mono/4.0/Microsoft.FSharp.Targets - -# In build scripts, you would add somehting like this: - -# export FSharpTargetsPath="${fsharp}/lib/mono/4.0/Microsoft.FSharp.Targets" - -# However, some project files look for F# targets in the main Mono directory. When that happens -# patch the project files using this script so they will look in $(FSharpTargetsPath) instead. - -echo "Patching F# targets in fsproj files..." - -find -iname \*.fsproj -print -exec \ - sed --in-place=.bak \ - -e 's,<FSharpTargetsPath>\([^<]*\)</FSharpTargetsPath>,<FSharpTargetsPath Condition="Exists('\'\\1\'')">\1</FSharpTargetsPath>,'g \ - {} \; |