0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

[nix] Add to version bumping script

* Update generate_packages.sh structure to split its code to separate
  steps
* Add update_flake to generate_packages script
* Add generate_packages package to nix packages to be able to run
  `nix run .#generate_packages` with no need to install dependencies
  manually

Change-Id: Ic28107829a6e04d3831ccb8a7257164875f35938
This commit is contained in:
Yury Shvedov
2024-01-31 21:56:40 +03:00
parent 8be1c8d61e
commit fe132785ca
3 changed files with 95 additions and 29 deletions

View File

@@ -1,10 +1,8 @@
{
description = "Native Yandex Music desktop client";
inputs = {
ymExe = {
url = https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.0.8.exe;
flake = false;
};
ymExe.url = https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.0.8.exe;
ymExe.flake = false;
};
outputs = { self, ymExe, nixpkgs, flake-utils }:
let
@@ -23,6 +21,7 @@
yandex-music-backgroud = yandex-music.override {
fixQuit = false;
};
generate_packages = pkgs.callPackage ./nix/generate_packages.nix {};
default = yandex-music;
};
}