build: fix #1

This commit is contained in:
2026-02-14 20:19:22 +01:00
parent f3dd4303a3
commit 63d9892e72

View File

@@ -62,16 +62,18 @@
} }
); );
packages = forEachSupportedSystem ( packages = forEachSupportedSystem (
{ pkgs }: {
pkgs,
# Set this to true to ship with FFmpeg which is required to download songs from amazon and qobuz
withAdditionalServices ? false,
}:
{ {
default = pkgs.buildGoModule (finalAttrs: { default = pkgs.buildGoModule (finalAttrs: {
inherit pname version; inherit pname version;
src = ./.; src = ./.;
vendorHash = "sha256-EpGgfiCqJjHEOphV2x8FmXeIFls7eq2NVxb/or4NLUo="; vendorHash = "sha256-EpGgfiCqJjHEOphV2x8FmXeIFls7eq2NVxb/or4NLUo=";
dependencies = with pkgs; [ dependencies = if withAdditionalServices then [ pkgs.ffmpeg_7 ] else [ ];
ffmpeg_7
];
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
installShellFiles installShellFiles