2023-12-08 13:18:23 +05:30
|
|
|
{
|
|
|
|
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
|
|
|
|
{
|
2023-12-08 13:18:53 +05:30
|
|
|
devShells = {
|
|
|
|
go = import ./go.nix { inherit pkgs; };
|
2023-12-08 13:30:37 +05:30
|
|
|
python = import ./python.nix { inherit pkgs; };
|
2023-12-08 14:11:16 +05:30
|
|
|
haskell = import ./haskell.nix { inherit pkgs; };
|
2023-12-08 13:18:53 +05:30
|
|
|
};
|
2023-12-08 13:18:23 +05:30
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|