Merge pull request #274802 from chewblacka/update-apx

apx: 2.0.0 -> 2.1.0
This commit is contained in:
Nick Cao 2023-12-17 09:38:00 -05:00 committed by GitHub
commit 132329e90c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "apx";
version = "2.0.0";
version = "2.1.0";
src = fetchFromGitHub {
owner = "Vanilla-OS";
repo = pname;
rev = "v${version}";
hash = "sha256-3CelqEntpfld0n+Ewg7NCkowVjgCf5b6StfSkYbgV5k=";
hash = "sha256-spxZgc1krs8AhOhAZmqGj/yiXzMUefcFFKg/xFpdWj8=";
};
vendorHash = null;
@ -21,7 +21,7 @@ buildGoModule rec {
postPatch = ''
substituteInPlace config/apx.json \
--replace "/usr/share/apx/distrobox" "${distrobox}/bin/distrobox" \
--replace "/usr/share/apx/distrobox/distrobox" "${distrobox}/bin/distrobox" \
--replace "/usr/share/apx" "$out/bin/apx"
substituteInPlace settings/config.go \
--replace "/usr/share/apx/" "$out/share/apx/"