Last active
November 24, 2023 10:58
-
-
Save MikaelFangel/cafa6003cb628681782bc11a802211d5 to your computer and use it in GitHub Desktop.
Simple F# devshell for direnv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "F# DevShell"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, flake-utils, ... }@inputs: | |
flake-utils.lib.eachDefaultSystem (system: | |
let | |
pkgs = import nixpkgs { inherit system; }; | |
in | |
{ | |
formatter = pkgs.fantomas; | |
devShell = | |
pkgs.mkShell { packages = with pkgs; [ dotnet-sdk fsautocomplete ]; }; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment