Skip to content

Commit

Permalink
plexamp: use nix-instantiate
Browse files Browse the repository at this point in the history
Plexamp doesn't have a version attribute because the builder we use doesn't support that. Until NixOS/nixpkgs#124520 is merged, we have to use a bit of a workaround.
  • Loading branch information
Synthetica9 authored May 27, 2021
1 parent b9ae584 commit 4a2edd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upkeep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
working-directory: ./nixpkgs
run: |
PACKAGE="plexamp"
CURRENT_VERSION="$(nix eval --raw -f . $PACKAGE.version)"
CURRENT_VERSION="$(nix-instantiate --eval -E 'with import ./. {}; lib.getVersion plexamp' --json | jq -r)"
echo "PACKAGE=$PACKAGE" >> $GITHUB_ENV
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 4a2edd1

Please sign in to comment.