docker: move makeWrapper to nativeBuildInputs
This fixes evaluation of docker when cross compiling. Reproducer:
```
nix-repl> (import ./. { crossOverlays = [ (_: _: {}) ]; }).docker
```
Fails on master, resolved with this PR.
commitb126d5436a6be950c8a8ee6f8721d7634b1634a5
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>
dateMon 12 Apr 2021, 19:06 (6 years ago)
parent60e238f
pkgs/applications/virtualization/docker/default.nix+4−4
@@ -132,10 +132,10 @@ rec {
132132
133133 goPackagePath = "github.com/docker/cli";
134134
135− nativeBuildInputs = [ pkg-config go-md2man go libtool installShellFiles ];
136− buildInputs = [
137− makeWrapper
138− ] ++ optionals (stdenv.isLinux) [
135+ nativeBuildInputs = [
136+ makeWrapper pkg-config go-md2man go libtool installShellFiles
137+ ];
138+ buildInputs = optionals (stdenv.isLinux) [
139139 sqlite lvm2 btrfs-progs systemd libseccomp
140140 ] ++ optionals (buildxSupport) [ docker-buildx ];
141141