Merge pull request #58053 from illegalprime/libatasmart-cross

libatasmart: add build time cc
This commit is contained in:
Jörg Thalheim 2019-03-22 07:28:41 +00:00 committed by GitHub
commit 9824b3ce4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, udev }:
{ stdenv, fetchurl, pkgconfig, udev, buildPackages }:
stdenv.mkDerivation rec {
name = "libatasmart-0.19";
@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "138gvgdwk6h4ljrjsr09pxk1nrki4b155hqdzyr8mlk3bwsfmw31";
};
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ udev ];