remove wheel preference, add CI
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 8s
Check Nix flake / Build nix outputs (ubuntu-latest) (pull_request) Failing after 1m19s
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (pull_request) Failing after 1m20s
Check Nix formatting / Perform Nix format checks (pull_request) Failing after 1m19s
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 8s
Check Nix flake / Build nix outputs (ubuntu-latest) (pull_request) Failing after 1m19s
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (pull_request) Failing after 1m20s
Check Nix formatting / Perform Nix format checks (pull_request) Failing after 1m19s
This commit is contained in:
12
flake.nix
12
flake.nix
@ -21,7 +21,7 @@
|
||||
|
||||
inputs = {
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||
poetry2nix = {
|
||||
url = "github:nix-community/poetry2nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@ -51,13 +51,13 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system}.extend poetry2nix.overlays.default;
|
||||
|
||||
overrides = pkgs.poetry2nix.overrides.withDefaults (
|
||||
_final: prev: {
|
||||
_final: _prev: {
|
||||
# prefer binary wheels instead of source distributions for rust based dependencies
|
||||
# avoids needing to build them from source. technically a security risk
|
||||
polars = prev.polars.override { preferWheel = true; };
|
||||
ruff = prev.ruff.override { preferWheel = true; };
|
||||
greenlet = prev.greenlet.override { preferWheel = true; };
|
||||
sqlalchemy = prev.sqlalchemy.override { preferWheel = true; };
|
||||
#polars = prev.polars.override { preferWheel = true; };
|
||||
#ruff = prev.ruff.override { preferWheel = true; };
|
||||
#greenlet = prev.greenlet.override { preferWheel = true; };
|
||||
#sqlalchemy = prev.sqlalchemy.override { preferWheel = true; };
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user