chore: Remove some unused bindings
This commit is contained in:
parent
dcee4754e5
commit
fa0e7c9d5b
2 changed files with 2 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
||||||
poetry-core,
|
poetry-core,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}@inputs:
|
}:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = "gguf";
|
pname = "gguf";
|
||||||
|
|
|
@ -3,14 +3,11 @@
|
||||||
glibc,
|
glibc,
|
||||||
config,
|
config,
|
||||||
stdenv,
|
stdenv,
|
||||||
mkShell,
|
|
||||||
runCommand,
|
runCommand,
|
||||||
cmake,
|
cmake,
|
||||||
gcc,
|
|
||||||
ninja,
|
ninja,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
git,
|
git,
|
||||||
python3,
|
|
||||||
mpi,
|
mpi,
|
||||||
blas,
|
blas,
|
||||||
cudaPackages,
|
cudaPackages,
|
||||||
|
@ -43,8 +40,7 @@
|
||||||
effectiveStdenv ? if useCuda then cudaPackages.backendStdenv else stdenv,
|
effectiveStdenv ? if useCuda then cudaPackages.backendStdenv else stdenv,
|
||||||
enableStatic ? effectiveStdenv.hostPlatform.isStatic,
|
enableStatic ? effectiveStdenv.hostPlatform.isStatic,
|
||||||
precompileMetalShaders ? false,
|
precompileMetalShaders ? false,
|
||||||
gguf-py,
|
}:
|
||||||
}@inputs:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
|
@ -52,7 +48,6 @@ let
|
||||||
cmakeFeature
|
cmakeFeature
|
||||||
optionals
|
optionals
|
||||||
strings
|
strings
|
||||||
versionOlder
|
|
||||||
;
|
;
|
||||||
|
|
||||||
stdenv = throw "Use effectiveStdenv instead";
|
stdenv = throw "Use effectiveStdenv instead";
|
||||||
|
@ -72,8 +67,6 @@ let
|
||||||
suffices != [ ]
|
suffices != [ ]
|
||||||
) ", accelerated with ${strings.concatStringsSep ", " suffices}";
|
) ", accelerated with ${strings.concatStringsSep ", " suffices}";
|
||||||
|
|
||||||
executableSuffix = effectiveStdenv.hostPlatform.extensions.executable;
|
|
||||||
|
|
||||||
xcrunHost = runCommand "xcrunHost" { } ''
|
xcrunHost = runCommand "xcrunHost" { } ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
ln -s /usr/bin/xcrun $out/bin
|
ln -s /usr/bin/xcrun $out/bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue