xcruiser: add setup hook
Cleans things up a bit here.
This commit is contained in:
parent
a858113076
commit
3d3f87365c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, gccmakedep, xorg }:
|
{ stdenv, fetchurl, gccmakedep, xorg, imake, libXt, libXaw, libXpm, libXext }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xcruiser-0.30";
|
name = "xcruiser-0.30";
|
||||||
@ -8,13 +8,13 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
|
sha256 = "1r8whva38xizqdh7jmn6wcmfmsndc67pkw22wzfzr6rq0vf6hywi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with xorg; [ gccmakedep imake libXt libXaw libXpm libXext ];
|
nativeBuildInputs = [ gccmakedep imake ];
|
||||||
|
buildInputs = [ libXt libXaw libXpm libXext ];
|
||||||
|
|
||||||
configurePhase = "xmkmf -a";
|
makeFlags = [
|
||||||
|
"BINDIR=$(out)/bin"
|
||||||
preBuild = ''
|
"XAPPLOADDIR=$(out)/etc/X11/app-defaults"
|
||||||
makeFlagsArray=( BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults)
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Filesystem visualization utility";
|
description = "Filesystem visualization utility";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user