devshell/flake.nix

23 lines
560 B
Nix

{
description = "A collection of handy dev-shells";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells = {
go = import ./go.nix { inherit pkgs; };
python = import ./python.nix { inherit pkgs; };
haskell = import ./haskell.nix { inherit pkgs; };
};
}
);
}