Spaces:
Configuration error
Configuration error
File size: 1,045 Bytes
313814b aa5390b 313814b e1a6910 313814b 9f56267 cf23b08 93ac8e8 313814b 79f1f8d 313814b d200ef1 313814b ce5dbe5 313814b |
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
{
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; [
act
ffmpeg-full
go-task
lsyncd
parallel
pre-commit
pv
python312
rsync
websocat
uv
];
shellHook = ''
source .venv/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
source .env
'';
};
};
formatter = pkgs.nixfmt;
}
);
}
|