Skip to content

Commit

Permalink
why ruff broken
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Apr 17, 2024
1 parent 20e0202 commit 953a91f
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -286,22 +286,25 @@
SCIPOPTDIR = scip-src;
});
# pyscipopt = pyscipopt-latest;

# ruff = super.ruff.overridePythonAttrs (old: {
# # buildInputs = old.buildInputs or [] ++ [rust.cargo rust.rustc];
# nativeBuildInputs = old.nativeBuildInputs or [] ++ [pkgs.cargo pkgs.rustc];
# });
maturin = super.maturin.overridePythonAttrs (old: {
buildInputs = old.buildInputs or [] ++ [self.python.pkgs.setuptools];
});
grpc = super.grpc.overridePythonAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.pkg-config pkgs.stdenv.cc.cc.lib pkgs.stdenv.cc.cc ];
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.stdenv.cc.cc.lib pkgs.stdenv.cc.cc ];
LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
stdenv.cc.cc.lib
];
runtimeInputs = [
pkgs.stdenv.cc.cc.lib
pkgs.stdenv.cc.cc

];
});
grpc = super.grpc.overridePythonAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [pkgs.pkg-config pkgs.stdenv.cc.cc.lib pkgs.stdenv.cc.cc];
buildInputs = (old.buildInputs or []) ++ [pkgs.stdenv.cc.cc.lib pkgs.stdenv.cc.cc];
LD_LIBRARY_PATH = with pkgs;
lib.makeLibraryPath [
stdenv.cc.cc.lib
];
runtimeInputs = [
pkgs.stdenv.cc.cc.lib
pkgs.stdenv.cc.cc
];
});
# cylp = super.cylp.overridePythonAttrs (old: {
# buildInputs = old.buildInputs or [] ++ [self.python.pkgs.setuptools self.python.pkgs.wheel pkgs.cbc pkgs.pkg-config];
# nativeBuildInputs = old.nativeBuildInputs or [] ++ [self.python.pkgs.setuptools self.python.pkgs.wheel pkgs.cbc pkgs.pkg-config];
Expand Down Expand Up @@ -376,11 +379,12 @@ runtimeInputs = [
];
poetry = pkgs.stdenv.mkDerivation {
name = "poetry";
buildInputs = [ pyEnvShell ];
buildInputs = [pyEnvShell];

LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
stdenv.cc.cc.lib
];
LD_LIBRARY_PATH = with pkgs;
lib.makeLibraryPath [
stdenv.cc.cc.lib
];

buildCommand = ''
mkdir -p $out/bin
Expand Down Expand Up @@ -410,14 +414,10 @@ runtimeInputs = [
OSMOSIS_POOLS = env.OSMOSIS_POOLS;
ASTROPORT_POOLS = env.ASTROPORT_POOLS;
SKIP_MONEY = env.SKIP_MONEY;
# LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
# stdenv.cc.cc.lib
# ];
BETTER_EXCEPTIONS = 1;
runtimeInputs = [
pkgs.stdenv.cc.cc.lib
pkgs.stdenv.cc.cc

pkgs.stdenv.cc.cc.lib
pkgs.stdenv.cc.cc
];
buildInputs =
[
Expand Down

0 comments on commit 953a91f

Please sign in to comment.