Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ buildGoModule, fetchFromGitHub, installShellFiles, lib}:buildGoModule rec { pname = "devbox"; version = "0.12.0";
src = fetchFromGitHub { owner = "jetpack-io"; repo = pname; rev = version; hash = "sha256-+bnFaopmK8Yz2XSkN3wPiipoO5TsRD0IuAKUlx1KvKM="; };
ldflags = [ "-s" "-w" "-X go.jetpack.io/devbox/internal/build.Version=${version}" ];
# integration tests want file system access doCheck = false;
vendorHash = "sha256-fuLKo6m/n06W4jyCc4Ki0GLlSIYZNdGFOhpasTd95x0=";
nativeBuildInputs = [ installShellFiles ];
postInstall = '' installShellCompletion --cmd devbox \ --bash <($out/bin/devbox completion bash) \ --fish <($out/bin/devbox completion fish) \ --zsh <($out/bin/devbox completion zsh) '';
meta = with lib; { description = "Instant, easy, predictable shells and containers"; homepage = "https://www.jetpack.io/devbox"; license = licenses.asl20; maintainers = with maintainers; [ urandom lagoja ]; };}