Skip to content

Commit b0f12c5

Browse files
authored
Paket: use Packages storage (fsprojects#615)
I've been trying to get everything [building with .NET 6](fsprojects#606) and the related tooling, and have been getting CI build failures in the macOS builds, with errors that look like those described at fsprojects/Paket#3767 It looks like changing Paket to use 'packages' storage instead of 'symlink' avoids that issue, by putting the restored nuget packages directly into the local packages folder instead of symlinking them. (I don't know much about this Paket feature - the docs suggest its for reducing disk usage by avoid duplicates, which might not really be an issue for the builds?) On a related note, we also have this issue - fsprojects#578 - where you have to either run the build as admin on windows or set some extra OS options otherwise the package restore will fail. I think this change would avoid that as well. Note: Changing the paket storage to 'none' helped with package restore issue, but caused the 'docs' build to break for me because the Fornax tool couldn't find the libraries, whereas it works when set to 'packages'
1 parent 8ef5b24 commit b0f12c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paket.dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ group Docs
2929
source https://api.nuget.org/v3/index.json
3030

3131
framework: netstandard2.0
32-
storage: symlink
32+
storage: packages
3333

3434
nuget FSharp.Formatting ~> 4.0
3535
nuget Markdig

paket.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ NUGET
913913
System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
914914

915915
GROUP Docs
916-
STORAGE: SYMLINK
916+
STORAGE: PACKAGES
917917
RESTRICTION: == netstandard2.0
918918
NUGET
919919
remote: https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)