Compare commits

...

2 Commits

Author SHA1 Message Date
daa5082ca3 add nix shell 2023-07-16 15:36:39 -04:00
60073483db fix ref to poetry2nix 2023-07-10 17:05:35 -04:00
2 changed files with 15 additions and 1 deletions

14
default.nix Normal file
View File

@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
nativeBuildInputs = with pkgs.buildPackages; [
python3Packages.uvloop
python3Packages.click
python3Packages.uvicorn
python3Packages.httpx
python3Packages.loguru
python3Packages.pydantic
python3Packages.python-dotenv
poetry
];
}

View File

@ -35,7 +35,7 @@
default = self.packages.${system}.${projectName};
${projectName} = pkgs.poetry2nix.mkPoetryApplication {
projectDir = ./.;
overrides = poetry2nix.defaultPoetryOverrides.extend
overrides = pkgs.poetry2nix.defaultPoetryOverrides.extend
(self: super: {
${projectName} = super.${projectName}.overridePythonAttrs
(