revert: Bad changes

This commit is contained in:
ditsuke 2024-07-09 01:43:44 +05:30
parent 03b2afea24
commit cd8da29059
No known key found for this signature in database
GPG key ID: 71B6C31C8A5A9D21
2 changed files with 7 additions and 7 deletions

View file

@ -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 ../../.;
}; };

View file

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