aoc2020/flake.nix
2020-12-08 20:10:05 +13:00

18 lines
487 B
Nix

{
description = "ghc with plugins for aoc";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
defaultPackage = pkgs.haskellPackages.ghcWithPackages
(hpkgs: with hpkgs; [
vector
]);
});
}