diff options
author | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-03-26 18:47:31 +0200 |
---|---|---|
committer | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-03-26 18:47:31 +0200 |
commit | 4874ce17019cb815a7f8bf6fd1d23b453faa2a01 (patch) | |
tree | c8864320d83231687c83c1df872565050f8e41fb /pkgs/build-support | |
parent | 8fe59b5b297543c1186190bda7ba1b2ac29876a2 (diff) |
dockerTools.tarsum: Fix upstream import
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/docker/default.nix | 4 | ||||
-rw-r--r-- | pkgs/build-support/docker/tarsum.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 653a651df7bd9..f531f1349c682 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -44,8 +44,8 @@ rec { cp ${./tarsum.go} tarsum.go export GOPATH=$(pwd) - mkdir src - ln -sT ${docker.src}/components/engine/pkg/tarsum src/tarsum + mkdir -p src/github.com/docker/docker/pkg + ln -sT ${docker.src}/components/engine/pkg/tarsum src/github.com/docker/docker/pkg/tarsum go build cp tarsum $out diff --git a/pkgs/build-support/docker/tarsum.go b/pkgs/build-support/docker/tarsum.go index ad33bbac75b42..f91a90bdbdab7 100644 --- a/pkgs/build-support/docker/tarsum.go +++ b/pkgs/build-support/docker/tarsum.go @@ -5,7 +5,7 @@ import ( "io" "io/ioutil" "os" - "tarsum" + "github.com/docker/docker/pkg/tarsum" ) func main() { |