From 7d7e0c02351303489d5555627337a39b519b536a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 16 Aug 2023 14:18:10 -0400 Subject: Get python targets building I added 'black' to Biz/Lint.hs, but not the others because they rely on dependencies being in the PYTHONPATH to work, so they are only relevant in nix builds and repls. I also made some other tweaks to the python checkPhase and linted all the files. Everything should be building and linting correctly now. --- Biz/Bild/Deps/exllama.nix | 1 - Biz/Bild/Deps/llama-cpp.nix | 1 - Biz/Bild/Deps/nostr-rs-relay.nix | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'Biz/Bild/Deps') diff --git a/Biz/Bild/Deps/exllama.nix b/Biz/Bild/Deps/exllama.nix index 54d6df1..1f7e529 100644 --- a/Biz/Bild/Deps/exllama.nix +++ b/Biz/Bild/Deps/exllama.nix @@ -2,7 +2,6 @@ , sources , buildPythonPackage , pythonOlder -, fetchFromGitHub , torch # tested on 2.0.1 and 2.1.0 (nightly) with cu118 , safetensors , sentencepiece diff --git a/Biz/Bild/Deps/llama-cpp.nix b/Biz/Bild/Deps/llama-cpp.nix index 85bd778..b247252 100644 --- a/Biz/Bild/Deps/llama-cpp.nix +++ b/Biz/Bild/Deps/llama-cpp.nix @@ -1,5 +1,4 @@ { stdenv -, pkgs , sources , python3 , cmake diff --git a/Biz/Bild/Deps/nostr-rs-relay.nix b/Biz/Bild/Deps/nostr-rs-relay.nix index 83d477c..bb0a1cd 100644 --- a/Biz/Bild/Deps/nostr-rs-relay.nix +++ b/Biz/Bild/Deps/nostr-rs-relay.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromSourcehut, rustPlatform, pkg-config, openssl }: +{ fetchFromSourcehut, rustPlatform, pkg-config, openssl }: rustPlatform.buildRustPackage rec { pname = "nostr-rs-relay"; -- cgit v1.2.3