Skip to content
/ fsharp-nix Public template

An opinionated F# template and development environment that's powered by Nix and just

License

Notifications You must be signed in to change notification settings

schonfinkel/fsharp-nix

Repository files navigation

F# + Nix

built with nix
[.Net] Build & Test [Nix] Build Container

An opinionated F# template and development environment that's powered by Nix.

Development

Devenv

nix develop --impure

or direnv allow, if you have direnv installed.

Justfile

If you type just for a list of commands.

$ just        
PROJECT: Sample - RELEASE: 
just --list
Available recipes:
    build     # Builds the project
    b         # alias for `build`
    build-nix # Builds the project (with Nix)
    bnix      # alias for `build-nix`
    default   # Lists all availiable targets
    delete    # Deletes a release
    gen-deps  # Generates nix dependencies for deps.nix
    gd        # alias for `gen-deps`
    pack      # Packages current tag as a .Net release
    push      # Pushes release to NUGET
    test      # Runs testing suite
    t         # alias for `test`

to build this project, you can run:

# or just b, if you're lazy
just build

and for running the testing suite:

# or just b, if you're lazy
just test

Nix Build

To build this with Nix:

nix build

Github Actions (+Nix)

I've also pre-configured some Github Actions.

Docker

A container image can also be generated via:

nix build .#dockerImage

About

An opinionated F# template and development environment that's powered by Nix and just

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published