blob: 214d8eaa70e4cd84918974a6747969ff75b454a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/usr/bin/env sh
# yt - A fully featured command line YouTube client
#
# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# Copyright (C) 2026 Soispha Peetz <soispha@b-peetz.de>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# This file is part of Yt.
#
# 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>.
pre_cache_load rust sqlite perf releng
use flake
watch_file ./nix/package.nix
root="$(git rev-parse --show-toplevel)"
PATH_add ./scripts
PATH_add ./target/debug
PATH_add ./target/release
PATH_add ./target/profiling
export DATABASE_URL="sqlite://$root/target/database.sqlx"
# Plugins are not supported.
export YTDLP_NO_PLUGINS=1
export PYO3_PYTHON=python3
|