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 =
|
filter =
|
||||||
name: type:
|
name: type:
|
||||||
let
|
let
|
||||||
any = builtins.any (x: x);
|
noneOf = builtins.all (x: !x);
|
||||||
baseName = builtins.baseNameOf name;
|
baseName = baseNameOf name;
|
||||||
in
|
in
|
||||||
any [
|
noneOf [
|
||||||
(lib.hasSuffix ".py" name)
|
(lib.hasSuffix ".nix" name) # Ignore *.nix files when computing outPaths
|
||||||
(baseName == "README.md")
|
(lib.hasSuffix ".md" name) # Ignore *.md changes whe computing outPaths
|
||||||
(baseName == "pyproject.toml")
|
(lib.hasPrefix "." baseName) # Skip hidden files and directories
|
||||||
|
(baseName == "flake.lock")
|
||||||
];
|
];
|
||||||
src = lib.cleanSource ../../.;
|
src = lib.cleanSource ../../.;
|
||||||
};
|
};
|
||||||
|
|
|
@ -21,7 +21,6 @@ in
|
||||||
|
|
||||||
lib.makeScope newScope (self: {
|
lib.makeScope newScope (self: {
|
||||||
inherit llamaVersion;
|
inherit llamaVersion;
|
||||||
pp = python3.pkgs;
|
|
||||||
gguf-py = self.callPackage ./package-gguf-py.nix {
|
gguf-py = self.callPackage ./package-gguf-py.nix {
|
||||||
inherit
|
inherit
|
||||||
buildPythonPackage
|
buildPythonPackage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue