An example build for the SBCL binary creation

This commit is contained in:
Michael Raskin 2014-11-16 19:27:06 +03:00
parent 12f35b6db7
commit 2f53f2ed16

View File

@ -231,6 +231,17 @@ let lispPackages = rec {
sha256 = "4ed66f255e50d2c9ea9f0b3fbaa92bde9b8acf6a5fafb0d7f12b254be9de99e9";
rev = ''831f0180967f09b1dd345fef82144f48334279c3'';
};
overrides = x: {
linkedSystems = [];
postInstall = ''
export CL_SOURCE_REGISTRY="$CL_SOURCE_REGISTRY:$out/lib/common-lisp/query-fs"
export HOME=$PWD
build-with-lisp.sh sbcl \
":query-fs $(echo "$linkedSystems" | sed -re 's/(^| )([^ :])/:\2/g')" \
"$out/bin/query-fs" \
"(query-fs:run-fs-with-cmdline-args)"
'';
};
};
cl-fuse = buildLispPackage rec {