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, poetry-core,
buildPythonPackage, buildPythonPackage,
pytestCheckHook, pytestCheckHook,
}@inputs: }:
buildPythonPackage { buildPythonPackage {
pname = "gguf"; pname = "gguf";

View file

@ -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