clasp-common-lisp: use ninjaFlags instead of explicitly setting buildPhase and installPhase

This commit is contained in:
Philip Taron 2023-12-13 23:49:09 -08:00
parent cee762101c
commit 27a9a1ca3f
No known key found for this signature in database

View file

@ -59,6 +59,8 @@ stdenv.mkDerivation {
libclang libclang
]; ];
ninjaFlags = [ "-C" "build" ];
postUnpack = lib.concatStringsSep "\n" (builtins.map unpackDependency dependencies); postUnpack = lib.concatStringsSep "\n" (builtins.map unpackDependency dependencies);
configurePhase = '' configurePhase = ''
@ -75,14 +77,6 @@ stdenv.mkDerivation {
--share-path=$out/share --share-path=$out/share
''; '';
buildPhase = ''
ninja -C build
'';
installPhase = ''
ninja -C build install
'';
meta = { meta = {
description = "A Common Lisp implementation based on LLVM with C++ integration"; description = "A Common Lisp implementation based on LLVM with C++ integration";
license = lib.licenses.lgpl21Plus ; license = lib.licenses.lgpl21Plus ;