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
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue