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.
wip/yesman
sternenseemann 3 years ago
parent 60e238f4c3
commit b126d5436a
  1. 8
      pkgs/applications/virtualization/docker/default.nix

@ -132,10 +132,10 @@ rec {
goPackagePath = "github.com/docker/cli";
nativeBuildInputs = [ pkg-config go-md2man go libtool installShellFiles ];
buildInputs = [
makeWrapper
] ++ optionals (stdenv.isLinux) [
nativeBuildInputs = [
makeWrapper pkg-config go-md2man go libtool installShellFiles
];
buildInputs = optionals (stdenv.isLinux) [
sqlite lvm2 btrfs-progs systemd libseccomp
] ++ optionals (buildxSupport) [ docker-buildx ];

Loading…
Cancel
Save