git.iko.soy/typeable/nixpkgs
on master help sign in
docker: drop redundant removeReferencesTo
33822cbzowoq
pkgs/applications/virtualization/docker/default.nix+2−8
@@ -1,5 +1,5 @@
1{ stdenv, lib, fetchFromGitHub, fetchpatch, buildGoPackage
1{ stdenv, lib, fetchFromGitHub, fetchpatch, buildGoPackage
2−, makeWrapper, removeReferencesTo, installShellFiles, pkgconfig
2+, makeWrapper, installShellFiles, pkgconfig
3, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
3, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
4, sqlite, iproute, lvm2, systemd
4, sqlite, iproute, lvm2, systemd
5, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
5, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
@@ -94,7 +94,7 @@ rec {
94
94
95 goPackagePath = "github.com/docker/docker-ce";
95 goPackagePath = "github.com/docker/docker-ce";
96
96
97− nativeBuildInputs = [ pkgconfig go-md2man go libtool removeReferencesTo installShellFiles ];
97+ nativeBuildInputs = [ pkgconfig go-md2man go libtool installShellFiles ];
98 buildInputs = [
98 buildInputs = [
99 makeWrapper
99 makeWrapper
100 ] ++ optionals (stdenv.isLinux) [
100 ] ++ optionals (stdenv.isLinux) [
@@ -184,12 +184,6 @@ rec {
184 installManPage man/*/*.[1-9]
184 installManPage man/*/*.[1-9]
185 '';
185 '';
186
186
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−
193 meta = {
187 meta = {
194 homepage = "https://www.docker.com/";
188 homepage = "https://www.docker.com/";
195 description = "An open source project to pack, ship and run any application as a lightweight container";
189 description = "An open source project to pack, ship and run any application as a lightweight container";