29 lines
617 B
Nix
29 lines
617 B
Nix
|
{
|
||
|
description = "";
|
||
|
|
||
|
inputs = {
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
|
||
|
};
|
||
|
|
||
|
outputs = { nixpkgs, flake-utils, ... }:
|
||
|
flake-utils.lib.eachDefaultSystem (system:
|
||
|
let pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in {
|
||
|
packages = { default = { }; };
|
||
|
|
||
|
devShells.default = pkgs.mkShell {
|
||
|
packages = with pkgs; [
|
||
|
git
|
||
|
gcc11
|
||
|
ocamlPackages.wasm
|
||
|
cabal-install
|
||
|
ghc
|
||
|
haskellPackages.haskell-language-server
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
}
|
||
|
|