libatasmart: add build time cc

This commit is contained in:
Michael Eden 2019-03-20 16:38:09 -04:00
parent 5b00f65402
commit d1f0f10cf1

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 ];