22 lines
532 B
Nix
22 lines
532 B
Nix
{
|
|
description = "Code samples for `Tagless Final Variables`.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShell = pkgs.mkShell {
|
|
buildInputs = [
|
|
pkgs.haskellPackages.cabal-install
|
|
pkgs.haskellPackages.ghc
|
|
];
|
|
};
|
|
});
|
|
}
|