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.
This commit is contained in:
Emil Karlson 2021-08-11 09:06:17 +03:00
parent fbd4e98dc3
commit e7836bc5a5

View File

@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm }:
{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm, perl }:
stdenv.mkDerivation rec {
pname = "sparse";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libxml2 llvm ];
buildInputs = [ libxml2 llvm perl ];
doCheck = true;
meta = {