3
0
Fork 0
forked from mirrors/nixpkgs

stumpwm: Copy stumpish to bin/, add contrib/ directory.

This commit is contained in:
Moritz Heidkamp 2014-01-05 17:38:14 +00:00 committed by Moritz Ulrich
parent adb57a0cc4
commit b10fe8ae3f

View file

@ -19,14 +19,17 @@ buildLispPackage rec {
${x.deployConfigScript}
export CL_SOURCE_REGISTRY="$CL_SOURCE_REGISTRY:$PWD/"
./autogen.sh
configureFlags=" --with-lisp=$NIX_LISP --with-$NIX_LISP=$(which common-lisp.sh) "
configureFlags=" --with-lisp=$NIX_LISP --with-$NIX_LISP=$(which common-lisp.sh) --with-contrib-dir=$out/lib/common-lisp/stumpwm/contrib/"
'';
installPhase=x.installPhase + ''
installPhase = with pkgs; x.installPhase + ''
make install
if [ "$NIX_LISP" = "sbcl" ]; then
wrapProgram "$out"/bin/stumpwm --set SBCL_HOME "${clwrapper.lisp}/lib/sbcl"
fi;
mv $out/lib/common-lisp/stumpwm/contrib/stumpish $out/bin/stumpish
wrapProgram "$out"/bin/stumpish --prefix PATH : "${xlibs.xprop}/bin:${coreutils}/bin:${gnugrep}/bin:${gnused}/bin:${rlwrap}/bin:${ncurses}/bin"
'';
postInstall = ''false'';
};