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.
This commit is contained in:
parent
60e238f4c3
commit
b126d5436a
@ -132,10 +132,10 @@ rec {
|
|||||||
|
|
||||||
goPackagePath = "github.com/docker/cli";
|
goPackagePath = "github.com/docker/cli";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config go-md2man go libtool installShellFiles ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [
|
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
||||||
makeWrapper
|
];
|
||||||
] ++ optionals (stdenv.isLinux) [
|
buildInputs = optionals (stdenv.isLinux) [
|
||||||
sqlite lvm2 btrfs-progs systemd libseccomp
|
sqlite lvm2 btrfs-progs systemd libseccomp
|
||||||
] ++ optionals (buildxSupport) [ docker-buildx ];
|
] ++ optionals (buildxSupport) [ docker-buildx ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user