mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
root: fix build by -lX11
The pkgconfig change didn't help, but I'd leave it in.
This commit is contained in:
parent
e94ddc290d
commit
a839a48b0a
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, mesa, gfortran
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, mesa, gfortran
|
||||
, libX11,libXpm, libXft, libXext, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1bkiggcyya39a794d3d2rzzmmkbdymf86hbqhh0l1pl4f38xvp6i";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake gfortran mesa libX11 libXpm libXft libXext zlib ];
|
||||
buildInputs = [ cmake pkgconfig gfortran mesa libX11 libXpm libXft libXext zlib ];
|
||||
|
||||
NIX_CFLAGS_LINK = "-lX11";
|
||||
|
||||
# CMAKE_INSTALL_RPATH_USE_LINK_PATH is set to FALSE in
|
||||
# <rootsrc>/cmake/modules/RootBuildOptions.cmake.
|
||||
|
Loading…
Reference in New Issue
Block a user