diff --git a/.github/workflows/auto_nigthly.yml b/.github/workflows/auto_nigthly.yml index 61b1940..fe979e7 100644 --- a/.github/workflows/auto_nigthly.yml +++ b/.github/workflows/auto_nigthly.yml @@ -58,31 +58,3 @@ jobs: files: | ./${{ env.FILE_NAME }} ./package.nix - - - name: Clone RevoluNixPKGS - uses: actions/checkout@master - with: - ref: nightly - repository: RevoluNix/revolunixpkgs - token: ${{ secrets.RevoluNixPKGS_TOKEN }} - - - name: Update RevoluNixPKGS - id: update_pkgs - run: | - git config --global user.email "${{ github.event.pusher.email }}" - git config --global user.name "${{ github.event.pusher.name }}" - - URL="https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/package.nix" - rm -rf ./pkgs/${{ env.PKG_NAME }} - mkdir -p ./pkgs/${{ env.PKG_NAME }} - wget -O ./pkgs/${{ env.PKG_NAME }}/package.nix $URL - - git add . - git commit -m "feat: Update/Upload ${{ env.PKG_NAME }} package" - - - name: Push RevoluNixPKGS changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.RevoluNixPKGS_TOKEN }} - repository: RevoluNix/revolunixpkgs - branch: nightly diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index 1d77a72..d7dea30 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -60,6 +60,7 @@ jobs: - name: Clone RevoluNixPKGS uses: actions/checkout@master with: + ref: testing repository: RevoluNix/revolunixpkgs token: ${{ secrets.RevoluNixPKGS_TOKEN }} @@ -82,3 +83,4 @@ jobs: with: github_token: ${{ secrets.RevoluNixPKGS_TOKEN }} repository: RevoluNix/revolunixpkgs + branch: testing diff --git a/.github/workflows/auto_testing.yml b/.github/workflows/auto_testing.yml index 67f1c2a..c20f478 100644 --- a/.github/workflows/auto_testing.yml +++ b/.github/workflows/auto_testing.yml @@ -58,31 +58,3 @@ jobs: files: | ./${{ env.FILE_NAME }} ./package.nix - - - name: Clone RevoluNixPKGS - uses: actions/checkout@master - with: - ref: testing - repository: RevoluNix/revolunixpkgs - token: ${{ secrets.RevoluNixPKGS_TOKEN }} - - - name: Update RevoluNixPKGS - id: update_pkgs - run: | - git config --global user.email "${{ github.event.pusher.email }}" - git config --global user.name "${{ github.event.pusher.name }}" - - URL="https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/package.nix" - rm -rf ./pkgs/${{ env.PKG_NAME }} - mkdir -p ./pkgs/${{ env.PKG_NAME }} - wget -O ./pkgs/${{ env.PKG_NAME }}/package.nix $URL - - git add . - git commit -m "feat: Update/Upload ${{ env.PKG_NAME }} package" - - - name: Push RevoluNixPKGS changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.RevoluNixPKGS_TOKEN }} - repository: RevoluNix/revolunixpkgs - branch: testing diff --git a/package.nix b/package.nix index 2f0fca9..a17250f 100755 --- a/package.nix +++ b/package.nix @@ -3,7 +3,7 @@ lib, makeWrapper, mpv, - youtube-dl, + youtube-dl-light, rofi-wayland, }: ############ @@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: { wrapProgram $out/bin/play-music \ --prefix PATH : ${lib.makeBinPath [ mpv - youtube-dl + youtube-dl-light rofi-wayland ]} '';