Compare commits
2 Commits
main
...
feature/mj
Author | SHA1 | Date | |
---|---|---|---|
daa5082ca3 | |||
60073483db |
14
default.nix
Normal file
14
default.nix
Normal 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
|
||||
];
|
||||
}
|
|
@ -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
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue
Block a user