Hi,
I am a NixOS user which want to try my luck to learn F# and build a full-stack web app using this language. I have looked into the SAFE stack and try it on my nixos. However, I need some enlightenment about how to build derivation for easy deployment (as this is one of the advantages of NixOS IMO).
What I already found so far in nixpkgs
still confused me. Below are the links that I read:
Yet I can’t find some simple derivation on how to build F# project using those tools. Hence, I would like to get some information (maybe pointers) on how to do F# development the right way if I choose to develop it in NixOS.
- About the
dotnet
, how to choose compiler that will be used and local package? I notice in the documentation, we can havenuget.config
. Is there any other way? - I notice when building one NuGet package using
dotnetPackages
, I see there are some.dll
files and other extension. Should I include all of those file? or just the.dll
file?
Thank you.
disclaimer: I have installed dotnet
cli and try it in one of a sample project and it works nicely, but I never see any project that being built using nix-build
.