mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-03-07 20:18:07 +01:00
build: fix #1
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -62,16 +62,18 @@
|
||||
}
|
||||
);
|
||||
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: {
|
||||
inherit pname version;
|
||||
src = ./.;
|
||||
vendorHash = "sha256-EpGgfiCqJjHEOphV2x8FmXeIFls7eq2NVxb/or4NLUo=";
|
||||
|
||||
dependencies = with pkgs; [
|
||||
ffmpeg_7
|
||||
];
|
||||
dependencies = if withAdditionalServices then [ pkgs.ffmpeg_7 ] else [ ];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
installShellFiles
|
||||
|
||||
Reference in New Issue
Block a user