Skip to content

Commit 530ded4

Browse files
committed
defang: v0.5.15 -> v0.5.16
1 parent 03aab9c commit 530ded4

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

pkgs/defang/default.nix

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ system ? builtins.currentSystem
1010
}:
1111
let
1212
shaMap = {
13-
x86_64-linux = "0x02y7p4mp293pwim5fir2qp5rjrr71grpn421w6y0nnajs2gf1k";
14-
aarch64-linux = "04f4nkph90rdh8zm5jzdnj5w9dk5gz0cxjmhyj14nfqgjj3lr1j4";
15-
x86_64-darwin = "04px1gl860bvyrvgjlvk0m204a856yxk5w4l7a06i3jqc0awrjp8";
16-
aarch64-darwin = "04px1gl860bvyrvgjlvk0m204a856yxk5w4l7a06i3jqc0awrjp8";
13+
x86_64-linux = "1958pxh2jrjr9f9xdvg70a6plmzklxnrzf3fk2451wy4zrb3klkp";
14+
aarch64-linux = "1krsjbfl3icrp4ppdjjmwhcvg66i7gaqpvhc65iyg4lnhvc23ln9";
15+
x86_64-darwin = "1b4bmks0nq1g0ixih6k947dw11gg71y5xsihzryvam0af2z1nhnb";
16+
aarch64-darwin = "1b4bmks0nq1g0ixih6k947dw11gg71y5xsihzryvam0af2z1nhnb";
1717
};
1818

1919
urlMap = {
20-
x86_64-linux = "https://github.com/defang-io/defang/releases/download/v0.5.15/defang_0.5.15_linux_amd64.tar.gz";
21-
aarch64-linux = "https://github.com/defang-io/defang/releases/download/v0.5.15/defang_0.5.15_linux_arm64.tar.gz";
22-
x86_64-darwin = "https://github.com/defang-io/defang/releases/download/v0.5.15/defang_0.5.15_macOS.zip";
23-
aarch64-darwin = "https://github.com/defang-io/defang/releases/download/v0.5.15/defang_0.5.15_macOS.zip";
20+
x86_64-linux = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_linux_amd64.tar.gz";
21+
aarch64-linux = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_linux_arm64.tar.gz";
22+
x86_64-darwin = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_macOS.zip";
23+
aarch64-darwin = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_macOS.zip";
2424
};
2525
in
2626
stdenvNoCC.mkDerivation {
2727
pname = "defang";
28-
version = "0.5.15";
28+
version = "0.5.16";
2929
src = fetchurl {
3030
url = urlMap.${system};
3131
sha256 = shaMap.${system};
@@ -39,6 +39,12 @@ stdenvNoCC.mkDerivation {
3939
mkdir -p $out/bin
4040
cp -vr ./defang $out/bin/defang
4141
'';
42+
postInstall = ''
43+
installShellCompletion --cmd defang \
44+
--bash <($out/bin/defang completion bash) \
45+
--zsh <($out/bin/defang completion zsh) \
46+
--fish <($out/bin/defang completion fish)
47+
'';
4248

4349
system = system;
4450

0 commit comments

Comments
 (0)