mirror of
https://seed.flo-the.dev/z3gWc1qgaeZaoGwL4WTstLNoqjayM.git
synced 2025-12-06 04:47:35 +01:00
24
devenv.nix
24
devenv.nix
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user