nix-background-upgrade/shell.nix
Evie Litherland-Smith 0396bdb66a Move nix shell to separate shell.nix
Update README for nix shell instructions, refile long lines
2024-05-27 08:34:36 +01:00

16 lines
415 B
Nix

{
pkgs ? import <nixpkgs> {},
mkPoetryEnv ? ((builtins.getFlake "github:nix-community/poetry2nix").lib.mkPoetry2Nix {inherit pkgs;}).mkPoetryEnv,
}:
pkgs.mkShellNoCC {
packages = with pkgs; [
(mkPoetryEnv {
projectDir = ./.;
preferWheels = true;
editablePackageSources = {nix_background_upgrade = ./src;};
extraPackages = ps: with ps; [python-lsp-server];
})
poetry
];
}