ci: remove type testing from pipeline
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 45s
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 45s
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
parent
eaca24b8ae
commit
a088057b17
2 changed files with 19 additions and 21 deletions
37
flake.nix
37
flake.nix
|
|
@ -88,12 +88,14 @@
|
|||
# Package a virtual environment as our main application.
|
||||
#
|
||||
# Enable no optional dependencies for production build.
|
||||
packages.x86_64-linux = let
|
||||
streamer = pythonSet.mkVirtualEnv "streamer-env" workspace.deps.default;
|
||||
in {
|
||||
inherit streamer;
|
||||
default = streamer;
|
||||
};
|
||||
packages.x86_64-linux =
|
||||
let
|
||||
streamer = pythonSet.mkVirtualEnv "streamer-env" workspace.deps.default;
|
||||
in
|
||||
{
|
||||
inherit streamer;
|
||||
default = streamer;
|
||||
};
|
||||
|
||||
# Make streamer runnable with `nix run`
|
||||
apps.x86_64-linux = {
|
||||
|
|
@ -116,18 +118,17 @@
|
|||
pre-commit
|
||||
bashInteractive
|
||||
];
|
||||
env =
|
||||
{
|
||||
# Prevent uv from managing Python downloads
|
||||
UV_PYTHON_DOWNLOADS = "never";
|
||||
# Force uv to use nixpkgs Python interpreter
|
||||
UV_PYTHON = python.interpreter;
|
||||
}
|
||||
// lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
# Python libraries often load native shared objects using dlopen(3).
|
||||
# Setting LD_LIBRARY_PATH makes the dynamic library loader aware of libraries without using RPATH for lookup.
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath pkgs.pythonManylinuxPackages.manylinux1;
|
||||
};
|
||||
env = {
|
||||
# Prevent uv from managing Python downloads
|
||||
UV_PYTHON_DOWNLOADS = "never";
|
||||
# Force uv to use nixpkgs Python interpreter
|
||||
UV_PYTHON = python.interpreter;
|
||||
}
|
||||
// lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
# Python libraries often load native shared objects using dlopen(3).
|
||||
# Setting LD_LIBRARY_PATH makes the dynamic library loader aware of libraries without using RPATH for lookup.
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath pkgs.pythonManylinuxPackages.manylinux1;
|
||||
};
|
||||
shellHook = ''
|
||||
unset PYTHONPATH
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue