@@ -1,5 +1,5 @@
11{ stdenv, lib, fetchFromGitHub, fetchpatch, buildGoPackage
2−, makeWrapper, removeReferencesTo, installShellFiles, pkgconfig
2+, makeWrapper, installShellFiles, pkgconfig
33, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
44, sqlite, iproute, lvm2, systemd
55, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
@@ -94,7 +94,7 @@ rec {
9494
9595 goPackagePath = "github.com/docker/docker-ce";
9696
97− nativeBuildInputs = [ pkgconfig go-md2man go libtool removeReferencesTo installShellFiles ];
97+ nativeBuildInputs = [ pkgconfig go-md2man go libtool installShellFiles ];
9898 buildInputs = [
9999 makeWrapper
100100 ] ++ optionals (stdenv.isLinux) [
@@ -184,12 +184,6 @@ rec {
184184 installManPage man/*/*.[1-9]
185185 '';
186186
187− preFixup = ''
188− find $out -type f -exec remove-references-to -t ${stdenv.cc.cc} '{}' +
189− '' + optionalString (stdenv.isLinux) ''
190− find $out -type f -exec remove-references-to -t ${stdenv.glibc.dev} '{}' +
191− '';
192−
193187 meta = {
194188 homepage = "https://www.docker.com/";
195189 description = "An open source project to pack, ship and run any application as a lightweight container";