Added flake
This commit is contained in:
parent
c750593f94
commit
bd63ae9a4d
4 changed files with 50 additions and 0 deletions
22
flake.nix
Normal file
22
flake.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.x86_64-linux.default =
|
||||
pkgs.mkShell
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
(pkgs.python3.withPackages
|
||||
(x: [x.flask x.flask-wtf x.wtforms x.flask-sqlalchemy]))
|
||||
pkgs.entr
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue