revert: Bad changes
This commit is contained in:
parent
03b2afea24
commit
cd8da29059
2 changed files with 7 additions and 7 deletions
|
@ -120,13 +120,14 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
|||
filter =
|
||||
name: type:
|
||||
let
|
||||
any = builtins.any (x: x);
|
||||
baseName = builtins.baseNameOf name;
|
||||
noneOf = builtins.all (x: !x);
|
||||
baseName = baseNameOf name;
|
||||
in
|
||||
any [
|
||||
(lib.hasSuffix ".py" name)
|
||||
(baseName == "README.md")
|
||||
(baseName == "pyproject.toml")
|
||||
noneOf [
|
||||
(lib.hasSuffix ".nix" name) # Ignore *.nix files when computing outPaths
|
||||
(lib.hasSuffix ".md" name) # Ignore *.md changes whe computing outPaths
|
||||
(lib.hasPrefix "." baseName) # Skip hidden files and directories
|
||||
(baseName == "flake.lock")
|
||||
];
|
||||
src = lib.cleanSource ../../.;
|
||||
};
|
||||
|
|
|
@ -21,7 +21,6 @@ in
|
|||
|
||||
lib.makeScope newScope (self: {
|
||||
inherit llamaVersion;
|
||||
pp = python3.pkgs;
|
||||
gguf-py = self.callPackage ./package-gguf-py.nix {
|
||||
inherit
|
||||
buildPythonPackage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue