about summary refs log tree commit diff stats
path: root/package/package.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 13:58:47 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 13:59:09 +0200
commit812dde842c25183a482a98e02eeca724a5d24320 (patch)
treeb97831f368f48e9a05434e34b868ae209c71a6d8 /package/package.nix
parentchore(version): v0.1.3 (diff)
downloadyt-812dde842c25183a482a98e02eeca724a5d24320.tar.gz
yt-812dde842c25183a482a98e02eeca724a5d24320.zip
build(package): Include python `blake3` dependency
Diffstat (limited to '')
-rw-r--r--package/package.nix (renamed from package.nix)22
1 files changed, 13 insertions, 9 deletions
diff --git a/package.nix b/package/package.nix
index 54ee6c1..c0b4718 100644
--- a/package.nix
+++ b/package/package.nix
@@ -8,19 +8,20 @@
 # You should have received a copy of the License along with this program.
 # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 {
-  rustPlatform,
-  python3,
-  makeWrapper,
-  sqlite,
-  lib,
   ffmpeg,
-  llvmPackages_latest,
   glibc,
+  lib,
+  llvmPackages_latest,
+  makeWrapper,
   mpv-unwrapped,
+  python3,
+  rustPlatform,
+  sqlite,
+  blake3,
 }: let
   version = "0.1.0";
 
-  src = ./.;
+  src = ./..;
 
   buildInputs = [
     (python3.withPackages (ps: [ps.yt-dlp]))
@@ -52,12 +53,15 @@ in
     };
 
     prePatch = ''
-      echo "$PATH"
       bash ./scripts/mkdb.sh
     '';
 
+    passthru = {
+      inherit blake3;
+    };
+
     cargoLock = {
-      lockFile = ./Cargo.lock;
+      lockFile = ../Cargo.lock;
     };
 
     postBuild = ''