about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-17T11·44+0100
committerVincent Ambo <tazjin@google.com>2020-01-17T11·44+0100
commite1cc4966b7d08e6ce36e8d508e0e873548b5943b (patch)
tree1de3ef75fc27edff1d29d52529e5a372e5c56384 /nix
parent14fb1ff1bcf718ab48d1f32a837ff3ebcd27790f (diff)
feat(nix/buildLisp): Support passing programs to sbclWith r/385
Adds the necessary attributes on derivations created by
buildLisp.program for them to be passed to buildLisp.sbclWith.

This makes it possible to easily spin up Lisp environments that
contain everything needed for a given program.
Diffstat (limited to 'nix')
-rw-r--r--nix/buildLisp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/buildLisp/default.nix b/nix/buildLisp/default.nix
index 66de38663108..baf7a14843f6 100644
--- a/nix/buildLisp/default.nix
+++ b/nix/buildLisp/default.nix
@@ -153,7 +153,7 @@ let
     }
 
     wrapProgram $out/bin/${name} --prefix LD_LIBRARY_PATH : "${libPath}"
-  '';
+  '' // { lispName = name; lispDeps = [ selfLib ]; lispNativeDeps = []; };
 
   # 'sbclWith' creates an image with the specified libraries /
   # programs loaded.