clfswm: fix contrib-dir path

This commit is contained in:
Robert Glossop 2015-12-02 04:28:48 -05:00
parent e0bacc0b39
commit cdfd370c9e

View File

@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
# Stripping destroys the generated SBCL image # Stripping destroys the generated SBCL image
dontStrip = true; dontStrip = true;
configurePhase = ''
substituteInPlace load.lisp --replace \
";; (setf *contrib-dir* \"/usr/local/lib/clfswm/\")" \
"(setf *contrib-dir* \"$out/lib/clfswm/\")"
'';
installPhase = '' installPhase = ''
mkdir -pv $out/bin mkdir -pv $out/bin
make DESTDIR=$out install make DESTDIR=$out install