compile uiop/version with uiop, seems needed for monolithic bundles in some cases

This commit is contained in:
Michael Raskin 2017-04-16 19:25:36 +02:00
parent 1b1b9816fc
commit 851b584581
2 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,7 @@ stdenv.mkDerivation {
(uiop/lisp-build:compile-file* \"'"$out"'/lib/common-lisp/asdf/build/asdf.lisp\")
(asdf:load-system :uiop :force :all)
(asdf:load-system :asdf :force :all)
(ignore-errors (asdf:load-system :uiop/version :force :all))
)"' \
"$out/bin/common-lisp.sh"
'';

View File

@ -134,6 +134,9 @@ in
plump = addDeps (with qlnp; [array-utils trivial-indent]);
sqlite = addNativeLibs [pkgs.sqlite];
uiop = x: {
testSystems = (x.testSystems or ["uiop"]) ++ [
"uiop/version"
];
overrides = y: (x.overrides y) // {
postInstall = ((x.overrides y).postInstall or "") + ''
cp -r "${pkgs.asdf}/lib/common-lisp/asdf/uiop/contrib" "$out/lib/common-lisp/uiop"