Skip to content

Commit 3cd97fc

Browse files
committed
Switch pkgx back to the official build
Thanks to @jhheider which merged pkgxdev/pkgx#1187.
1 parent 3da09cd commit 3cd97fc

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

home/.chezmoiexternal.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@
5656
{{- end }}
5757

5858
{{ if not .is_devcontainer | or (.is_devcontainer | and (not (lookPath "pkgx")) | and (ne .chezmoi.osRelease.id "alpine")) -}}
59-
# Using my fork until https://github.com/pkgxdev/pkgx/pull/1187 is merged and released
6059
".local/bin/pkgx":
61-
type: file
62-
{{ $pkgxVersion := includeTemplate "get-github-latest-version" "felipecrs/pkgx" }}
63-
url: "https://github.com/felipecrs/pkgx/releases/download/v{{ $pkgxVersion }}/pkgx-linux-{{ .chezmoi.arch }}"
64-
executable: true
60+
type: archive-file
61+
{{ $pkgxVersion := includeTemplate "get-github-latest-version" "pkgxdev/pkgx" }}
62+
url: "https://github.com/pkgxdev/pkgx/releases/download/v{{ $pkgxVersion }}/pkgx-{{ $pkgxVersion }}+linux+{{ .uname_arch | replace "_" "-" }}.tar.xz"
63+
path: pkgx
6564
{{- end }}
6665

6766
{{ if not .is_devcontainer -}}

0 commit comments

Comments
 (0)