Fedir Zadniprovskyi
chore: add more tasks
e1a6910
raw
history blame
1.1 kB
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
devShells = {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
(with python311Packages; huggingface-hub)
ffmpeg-full
go-task
lsyncd
parallel
poetry
pre-commit
pv
pyright
python311
ruff
websocat
];
shellHook = ''
source $(poetry env info --path)/bin/activate
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${pkgs.zlib}/lib:$LD_LIBRARY_PATH
'';
};
};
formatter = pkgs.nixfmt;
}
);
}