diff options
author | Philip Taron <philip.taron@gmail.com> | 2023-12-13 23:49:09 -0800 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2023-12-13 23:49:09 -0800 |
commit | 27a9a1ca3f7c2d078ed64a55cfd1daa42d98efd4 (patch) | |
tree | 9d6c11fe5534d3f44cb07e15bbf8bc80c83e9238 /pkgs/development/compilers | |
parent | cee762101c7240812e8d638e16ba60be4dabc364 (diff) |
clasp-common-lisp: use ninjaFlags instead of explicitly setting buildPhase and installPhase
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/clasp/default.nix | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/development/compilers/clasp/default.nix b/pkgs/development/compilers/clasp/default.nix index a099272f21680..64617d01f156e 100644 --- a/pkgs/development/compilers/clasp/default.nix +++ b/pkgs/development/compilers/clasp/default.nix @@ -59,6 +59,8 @@ stdenv.mkDerivation { libclang ]; + ninjaFlags = [ "-C" "build" ]; + postUnpack = lib.concatStringsSep "\n" (builtins.map unpackDependency dependencies); configurePhase = '' @@ -75,14 +77,6 @@ stdenv.mkDerivation { --share-path=$out/share ''; - buildPhase = '' - ninja -C build - ''; - - installPhase = '' - ninja -C build install - ''; - meta = { description = "A Common Lisp implementation based on LLVM with C++ integration"; license = lib.licenses.lgpl21Plus ; |