mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
nfs-utils: fix cross compilation
This commit is contained in:
parent
e21cb9933b
commit
a0dcccc67a
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, fetchpatch, lib, pkgconfig, utillinux, libcap, libtirpc, libevent
|
||||
, sqlite, kerberos, kmod, libuuid, keyutils, lvm2, systemd, coreutils, tcp_wrappers
|
||||
, python3
|
||||
, python3, buildPackages
|
||||
}:
|
||||
|
||||
let
|
||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
# put it in the "lib" output, and the headers in "dev"
|
||||
outputs = [ "out" "dev" "lib" "man" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig buildPackages.stdenv.cc ];
|
||||
|
||||
buildInputs = [
|
||||
libtirpc libcap libevent sqlite lvm2
|
||||
|
Loading…
Reference in New Issue
Block a user