28 lines
586 B
Nix
28 lines
586 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
|
||
|
cabal-install
|
||
|
ghc
|
||
|
haskellPackages.haskell-language-server
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
}
|
||
|
|