This commit is contained in:
KoenDR06 2025-12-22 15:46:21 +01:00
parent 7061a1d3e6
commit 35707aa5a6
2 changed files with 48 additions and 0 deletions

21
flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
description = "Haskell flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
};
outputs = { self, nixpkgs }: let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
devShells.${system}.default = pkgs.mkShell {
packages = [(
pkgs.haskellPackages.ghcWithPackages (hp: with hp; [
extra
hoogle
]))
];
};
};
}