From b0dac0adda9618d89d9010aa055c565ce771ec94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9fix=20Estrada?= Date: Sun, 13 Oct 2024 13:38:17 +0200 Subject: [PATCH] fix(nix): fix package build (#208) --- nix/server.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/server.nix b/nix/server.nix index 5c7f99f..b20a3cd 100644 --- a/nix/server.nix +++ b/nix/server.nix @@ -1,9 +1,9 @@ -{ yt-dlp-web-ui-frontend, buildGoModule, lib, makeWrapper, yt-dlp, ... }: +{ yt-dlp-web-ui-frontend, buildGo123Module, lib, makeWrapper, yt-dlp, ... }: let fs = lib.fileset; common = import ./common.nix { inherit lib; }; in -buildGoModule { +buildGo123Module { pname = "yt-dlp-web-ui"; inherit (common) version; src = fs.toSource rec { @@ -26,7 +26,7 @@ buildGoModule { # repo commons ../.github ../README.md - ../LICENSE.md + ../LICENSE ../.gitignore ../.vscode ]); @@ -44,7 +44,7 @@ buildGoModule { --prefix PATH : ${lib.makeBinPath [ yt-dlp ]} ''; - vendorHash = "sha256-guM/U9DROJMx2ctPKBQis1YRhaf6fKvvwEWgswQKMG0="; + vendorHash = "sha256-c7IdCmYJEn5qJn3K8wt0qz3t0Nq9rbgWp1eONlCJOwM="; meta = common.meta // { mainProgram = "yt-dlp-web-ui";