blob: 92951f0fd4f2adf7c9c7d13042fb2c8aa1a44a30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system};
in { devShell = pkgs.mkShell {
buildInputs = with pkgs; [
(pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
sqlite
watchexec
]))
];
shellHook = ''
export HOST="127.0.0.1"
export PORT="8080"
export KEY="1234"
'';
}; }
);
}
|