mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
Merge pull request #1919 from wkennington/master.st
st: Add builtInput for pkgconfig
This commit is contained in:
commit
5b733c9e24
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, writeText, libX11, ncurses, libXext, libXft, fontconfig
|
{ stdenv, fetchurl, pkgconfig, writeText, libX11, ncurses, libXext, libXft, fontconfig
|
||||||
, conf? null}:
|
, conf? null}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
|
||||||
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
|
||||||
|
|
||||||
buildInputs = [ libX11 ncurses libXext libXft fontconfig ];
|
buildInputs = [ pkgconfig libX11 ncurses libXext libXft fontconfig ];
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lfontconfig";
|
NIX_LDFLAGS = "-lfontconfig";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user