Merge pull request #274802 from chewblacka/update-apx
apx: 2.0.0 -> 2.1.0
This commit is contained in:
commit
132329e90c
@ -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/"
|
||||
|
Loading…
Reference in New Issue
Block a user