Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2024-07-12 16:14:40 +02:00
parent f59934cfd0
commit 9f4273163a
2 changed files with 16 additions and 47 deletions

View File

@@ -1,24 +1,10 @@
{ pkgs
, lib
, config
, inputs
, ...
}:
{ pkgs, lib, config, inputs, ... }:
let
req = pkgs.concatText "req" [
./requirements.txt
./requirements-dev.txt
];
in
let req = pkgs.concatText "req" [ ./requirements.txt ./requirements-dev.txt ];
{
in {
# https://devenv.sh/packages/
packages = [
pkgs.file
pkgs.swig4
pkgs.openssl
];
packages = [ pkgs.file pkgs.swig4 pkgs.openssl ];
# https://devenv.sh/tests/
# enterTest = ''
@@ -41,7 +27,7 @@ in
# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks = {
nixpkgs-fmt.enable = true;
nixfmt.enable = true;
# remove unused imports
autoflake.enable = true;
# formatter