kotatogram openssl version outdated, rclone hasher

This commit is contained in:
Chaos 2023-06-03 17:11:29 +01:00
parent 43a5eae39f
commit bceaa66c18
No known key found for this signature in database
3 changed files with 30 additions and 17 deletions

View file

@ -6,9 +6,15 @@ url = https://u323231.your-storagebox.de
user = u323231 user = u323231
pass = STORAGEBOX_PASSWORD pass = STORAGEBOX_PASSWORD
[StorageBox-Hasher]
type = hasher
remote = StorageBox-Remote:
hashes = sha1,md5
max_age = off
[StorageBox] [StorageBox]
type = alias type = alias
remote = StorageBox-Remote: remote = StorageBox-Hasher:
[B2-Chaos-Backups-Source] [B2-Chaos-Backups-Source]
type = b2 type = b2

View file

@ -19,17 +19,17 @@ new_frontend_rev=$(curl -L "https://api.github.com/repos/TeamPiped/Piped/commits
if [ "$new_frontend_rev" != "$old_frontend_rev" ]; then if [ "$new_frontend_rev" != "$old_frontend_rev" ]; then
echo "Frontend is out of date. Updating..." echo "Frontend is out of date. Updating..."
json_set '.frontend.rev' "$new_frontend_rev" json_set '.frontend.rev' "$new_frontend_rev"
new_frontend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped --rev "$new_frontend_rev") #new_frontend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped --rev "$new_frontend_rev")
json_set '.frontend.sha256' "$new_frontend_sha256" #json_set '.frontend.sha256' "$new_frontend_sha256"
TMP=$(mktemp -d) #TMP=$(mktemp -d)
pushd "$TMP" #pushd "$TMP"
git clone https://github.com/TeamPiped/Piped # git clone https://github.com/TeamPiped/Piped
pushd Piped # pushd Piped
git reset --hard "$new_frontend_rev" # git reset --hard "$new_frontend_rev"
yarn2nix > "${BASE_DIR}/frontend/yarn.nix" # yarn2nix > "${BASE_DIR}/frontend/yarn.nix"
popd # popd
popd #popd
fi fi
# Backend # Backend
@ -38,8 +38,8 @@ new_backend_rev=$(curl -L "https://api.github.com/repos/TeamPiped/Piped-Backend/
if [ "$new_backend_rev" != "$old_backend_rev" ]; then if [ "$new_backend_rev" != "$old_backend_rev" ]; then
echo "Backend is out of date. Updating..." echo "Backend is out of date. Updating..."
json_set '.backend.rev' "$new_backend_rev" json_set '.backend.rev' "$new_backend_rev"
new_backend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped-Backend --rev "$new_backend_rev") #new_backend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped-Backend --rev "$new_backend_rev")
json_set '.backend.sha256' "$new_backend_sha256" #json_set '.backend.sha256' "$new_backend_sha256"
fi fi
# Proxy # Proxy
@ -48,8 +48,8 @@ new_proxy_rev=$(curl -L "https://api.github.com/repos/TeamPiped/piped-proxy/comm
if [ "$new_proxy_rev" != "$old_proxy_rev" ]; then if [ "$new_proxy_rev" != "$old_proxy_rev" ]; then
echo "Proxy is out of date. Updating..." echo "Proxy is out of date. Updating..."
json_set '.proxy.rev' "$new_proxy_rev" json_set '.proxy.rev' "$new_proxy_rev"
new_proxy_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo piped-proxy --rev "$new_proxy_rev") #new_proxy_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo piped-proxy --rev "$new_proxy_rev")
json_set '.proxy.sha256' "$new_proxy_sha256" #json_set '.proxy.sha256' "$new_proxy_sha256"
fi fi

View file

@ -14,7 +14,14 @@
settings.trusted-users = ["root" "@wheel"]; settings.trusted-users = ["root" "@wheel"];
}; };
nixpkgs = { nixpkgs = {
config = {allowUnfree = true;}; config = {
allowUnfree = true;
permittedInsecurePackages = [
# for kotatogram-desktop
"openssl-1.1.1t"
];
};
overlays = [ overlays = [
(import ../../overlay) (import ../../overlay)
inputs.musicutil.overlay inputs.musicutil.overlay