Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tilt: 0.11.3 -> 0.17.0, move to buildGoModule #94827

Merged
merged 1 commit into from
Aug 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 9 additions & 10 deletions pkgs/applications/networking/cluster/tilt/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoPackage rec {
buildGoModule rec {
pname = "tilt";
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.11.3";
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.17.0";

src = fetchFromGitHub {
owner = "windmilleng";
owner = "tilt-dev";
repo = pname;
rev = "v${version}";
sha256 = "035czgr0rn6gcv24vnlr35n9yvy0fwq4spdzsc76gfxckcbcmzz0";
sha256 = "0bd01fmrf17njzf8ri4bw4qi7bxcvd3dx7yyf42qfvnp7hrfzipk";
};

goPackagePath = "github.com/windmilleng/tilt";
vendorSha256 = null;

subPackages = [ "cmd/tilt" ];

buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2020-01-25");
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];

meta = with stdenv.lib; {
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
Expand Down