1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

connmanMinimal: fix cross compilation

Move inputs from `nativeBuildInputs`.
This commit is contained in:
Alyssa Ross 2021-11-03 18:00:07 +00:00 committed by Doron Behar
parent dec4cce188
commit e76aa52b2f

View file

@ -67,17 +67,17 @@ stdenv.mkDerivation rec {
libmnl
gnutls
readline
] ++ optionals (enableOpenconnect) [ openconnect ];
] ++ optionals (enableOpenconnect) [ openconnect ]
++ optionals (firewallType == "iptables") [ iptables ]
++ optionals (firewallType == "nftables") [ libnftnl ]
++ optionals (enablePolkit) [ polkit ]
++ optionals (enablePptp) [ pptp ppp ]
;
nativeBuildInputs = [
pkg-config
file
]
++ optionals (enablePolkit) [ polkit ]
++ optionals (enablePptp) [ pptp ppp ]
++ optionals (firewallType == "iptables") [ iptables ]
++ optionals (firewallType == "nftables") [ libnftnl ]
;
];
# fix invalid path to 'file'
postPatch = ''