mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
xxdiff: fix build
This commit is contained in:
parent
1af0254fc7
commit
06bfed3d7f
@ -15,16 +15,13 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
preConfigure = ''
|
||||
ln -s ${qtbase.dev}/mkspecs/* ../__nix_qt*__/mkspecs
|
||||
ln -s ${qtbase.dev}/bin/* ../__nix_qt*__/bin || true
|
||||
cd src
|
||||
make -f Makefile.bootstrap
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE="-I${qtbase.dev}/include/QtCore -I${qtbase.dev}/include/QtGui -I${qtbase.dev}/include/QtWidgets";
|
||||
|
||||
configurePhase = "${preConfigure} cd src; make -f Makefile.bootstrap";
|
||||
|
||||
installPhase = "mkdir -pv $out/bin; cp -v ../bin/xxdiff $out/bin";
|
||||
|
||||
postInstall = ''
|
||||
install -D ../bin/xxdiff $out/bin/xxdiff
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://furius.ca/xxdiff/;
|
||||
|
Loading…
Reference in New Issue
Block a user