adventofcode/2024/flake.nix
2024-12-01 15:33:55 +01:00

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
];
};
});
}