docker: drop redundant removeReferencesTo
This commit is contained in:
parent
4e9f7bbf85
commit
33822cb12f
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, buildGoPackage
|
{ stdenv, lib, fetchFromGitHub, fetchpatch, buildGoPackage
|
||||||
, makeWrapper, removeReferencesTo, installShellFiles, pkgconfig
|
, makeWrapper, installShellFiles, pkgconfig
|
||||||
, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
|
, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
|
||||||
, sqlite, iproute, lvm2, systemd
|
, sqlite, iproute, lvm2, systemd
|
||||||
, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
|
, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
|
||||||
|
@ -94,7 +94,7 @@ rec {
|
||||||
|
|
||||||
goPackagePath = "github.com/docker/docker-ce";
|
goPackagePath = "github.com/docker/docker-ce";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig go-md2man go libtool removeReferencesTo installShellFiles ];
|
nativeBuildInputs = [ pkgconfig go-md2man go libtool installShellFiles ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
] ++ optionals (stdenv.isLinux) [
|
] ++ optionals (stdenv.isLinux) [
|
||||||
|
@ -184,12 +184,6 @@ rec {
|
||||||
installManPage man/*/*.[1-9]
|
installManPage man/*/*.[1-9]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
find $out -type f -exec remove-references-to -t ${stdenv.cc.cc} '{}' +
|
|
||||||
'' + optionalString (stdenv.isLinux) ''
|
|
||||||
find $out -type f -exec remove-references-to -t ${stdenv.glibc.dev} '{}' +
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.docker.com/";
|
homepage = "https://www.docker.com/";
|
||||||
description = "An open source project to pack, ship and run any application as a lightweight container";
|
description = "An open source project to pack, ship and run any application as a lightweight container";
|
||||||
|
|
Loading…
Reference in New Issue