Skip to content

Commit

Permalink
revert: Bad changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ditsuke committed Aug 19, 2024
1 parent 73a0ccd commit 5da9da4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .devops/nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,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 ../../.;
};
Expand Down
1 change: 0 additions & 1 deletion .devops/nix/scope.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ in

lib.makeScope newScope (self: {
inherit llamaVersion;
pp = python3.pkgs;
gguf-py = self.callPackage ./package-gguf-py.nix {
inherit
buildPythonPackage
Expand Down

0 comments on commit 5da9da4

Please sign in to comment.