about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRick van Schijndel <rol3517@gmail.com>2022-07-14 20:19:49 +0200
committerArtturin <Artturin@artturin.com>2022-08-14 00:09:59 +0300
commitb315bd7e0d39edb99cbacfa8fd2b8233fff68ceb (patch)
tree7b2a74ce0cc88729349da4697ebd512f9086fb18
parentd297dc6e23dcf771e0da6349ef6df656daca387a (diff)
acl2: makeWrapper to nativeBuildInputs
-rw-r--r--pkgs/development/interpreters/acl2/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/acl2/default.nix b/pkgs/development/interpreters/acl2/default.nix
index 170e2a183298a..1ca3742e737b6 100644
--- a/pkgs/development/interpreters/acl2/default.nix
+++ b/pkgs/development/interpreters/acl2/default.nix
@@ -10,7 +10,7 @@ let
   # ACL2 system itself; see
   # https://www.cs.utexas.edu/users/moore/acl2/current/HTML/installation/requirements.html#Obtaining-SBCL
   sbcl' = args.sbcl.override { disableImmobileSpace = true; };
-  sbcl = runCommandLocal args.sbcl.name { buildInputs = [ makeWrapper ]; } ''
+  sbcl = runCommandLocal args.sbcl.name { nativeBuildInputs = [ makeWrapper ]; } ''
     makeWrapper ${sbcl'}/bin/sbcl $out/bin/sbcl \
       --add-flags "--dynamic-space-size 2000"
   '';
@@ -40,12 +40,14 @@ in stdenv.mkDerivation rec {
     libcrypto = "${lib.getLib openssl}/lib/libcrypto${stdenv.hostPlatform.extensions.sharedLibrary}";
   })];
 
+  nativeBuildInputs = lib.optional certifyBooks makeWrapper;
+
   buildInputs = [
     # ACL2 itself only needs a Common Lisp compiler/interpreter:
     sbcl
   ] ++ lib.optionals certifyBooks [
     # To build community books, we need Perl and a couple of utilities:
-    which perl hostname makeWrapper
+    which perl hostname
     # Some of the books require one or more of these external tools:
     glucose minisat abc-verifier libipasir
     z3 (python2.withPackages (ps: [ ps.z3 ]))