devbox: 0.13.0 -> 0.13.3 (#346260)

This commit is contained in:
Nikolay Korotkiy
2024-10-07 00:21:48 +04:00
committed by GitHub
+6 -3
View File
@@ -2,16 +2,17 @@
, fetchFromGitHub
, installShellFiles
, lib
, stdenv
}:
buildGoModule rec {
pname = "devbox";
version = "0.13.0";
version = "0.13.3";
src = fetchFromGitHub {
owner = "jetpack-io";
repo = pname;
rev = version;
hash = "sha256-gTJotzg7ot9C7NVDiauVJHpkSXBwaK7arjtnwUGFqgE=";
hash = "sha256-A1dl5bQ7+Qe+MxzplQ2duGqWwgZYHd6M2MQUPPFlx14=";
};
ldflags = [
@@ -20,6 +21,8 @@ buildGoModule rec {
"-X go.jetpack.io/devbox/internal/build.Version=${version}"
];
subPackages = [ "cmd/devbox" ];
# integration tests want file system access
doCheck = false;
@@ -27,7 +30,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd devbox \
--bash <($out/bin/devbox completion bash) \
--fish <($out/bin/devbox completion fish) \