chore: Remove some unused bindings

This commit is contained in:
ditsuke 2024-08-30 16:26:10 +05:30
parent dcee4754e5
commit fa0e7c9d5b
No known key found for this signature in database
GPG key ID: 71B6C31C8A5A9D21
2 changed files with 2 additions and 9 deletions

View file

@ -8,7 +8,7 @@
poetry-core,
buildPythonPackage,
pytestCheckHook,
}@inputs:
}:
buildPythonPackage {
pname = "gguf";

View file

@ -3,14 +3,11 @@
glibc,
config,
stdenv,
mkShell,
runCommand,
cmake,
gcc,
ninja,
pkg-config,
git,
python3,
mpi,
blas,
cudaPackages,
@ -43,8 +40,7 @@
effectiveStdenv ? if useCuda then cudaPackages.backendStdenv else stdenv,
enableStatic ? effectiveStdenv.hostPlatform.isStatic,
precompileMetalShaders ? false,
gguf-py,
}@inputs:
}:
let
inherit (lib)
@ -52,7 +48,6 @@ let
cmakeFeature
optionals
strings
versionOlder
;
stdenv = throw "Use effectiveStdenv instead";
@ -72,8 +67,6 @@ let
suffices != [ ]
) ", accelerated with ${strings.concatStringsSep ", " suffices}";
executableSuffix = effectiveStdenv.hostPlatform.extensions.executable;
xcrunHost = runCommand "xcrunHost" { } ''
mkdir -p $out/bin
ln -s /usr/bin/xcrun $out/bin