sparse: add perl to buildInputs
cgcc command has shebang of /usr/bin/perl, which obviously does not work for nixos, adding perl to buildInputs seems to make all the magic happen, as per usual. (cherry picked from commit e7836bc5a5a2a2257afd515e3e221c8ff5d67b97)
This commit is contained in:
parent
2d6ab6c6b9
commit
8ad9b064fd
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm }:
|
||||
{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sparse-0.5.0";
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libxml2 llvm ];
|
||||
buildInputs = [ libxml2 llvm perl ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in New Issue