3
0
Fork 0
forked from mirrors/nixpkgs

xcruiser: add setup hook

Cleans things up a bit here.
This commit is contained in:
Matthew Bauer 2018-11-27 19:55:08 -06:00
parent a858113076
commit 3d3f87365c

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gccmakedep, xorg }:
{ stdenv, fetchurl, gccmakedep, xorg, imake, libXt, libXaw, libXpm, libXext }:
stdenv.mkDerivation {
name = "xcruiser-0.30";
@ -8,13 +8,13 @@ stdenv.mkDerivation {
sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
};
buildInputs = with xorg; [ gccmakedep imake libXt libXaw libXpm libXext ];
nativeBuildInputs = [ gccmakedep imake ];
buildInputs = [ libXt libXaw libXpm libXext ];
configurePhase = "xmkmf -a";
preBuild = ''
makeFlagsArray=( BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults)
'';
makeFlags = [
"BINDIR=$(out)/bin"
"XAPPLOADDIR=$(out)/etc/X11/app-defaults"
];
meta = with stdenv.lib; {
description = "Filesystem visualization utility";