clboss/contrib-shell.nix
2025-12-16 15:36:41 -08:00

20 lines
390 B
Nix

{
pkgs ? import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz";
}) { },
}:
let
poetry2nix = import (builtins.fetchGit {
url = "https://github.com/nix-community/poetry2nix";
}) { inherit pkgs; };
in
pkgs.mkShell {
buildInputs = [
pkgs.poetry
(poetry2nix.mkPoetryEnv {
projectDir = ./contrib;
})
];
}