adding a better nix build?

This commit is contained in:
Chris Cochrun 2023-12-13 10:15:40 -06:00
parent e53ef71ebd
commit 34413ea9b9

View file

@ -11,15 +11,17 @@
let let
sbcl' = sbcl.withPackages (ps: with ps; [ sbcl' = sbcl.withPackages (ps: with ps; [
deploy
hunchentoot hunchentoot
dexador dexador
clack
jzon jzon
serapeum serapeum
openssl deploy
openssl.out spinneret
openssl.dev lass
cl-smtp
pkgs.openssl
pkgs.openssl.out
pkgs.openssl.dev
]); ]);
in in
sbcl.buildASDFSystem { sbcl.buildASDFSystem {
@ -51,9 +53,12 @@ sbcl.buildASDFSystem {
lispLibs = with sbclPackages; [ lispLibs = with sbclPackages; [
hunchentoot hunchentoot
dexador dexador
clack
jzon jzon
serapeum serapeum
deploy
spinneret
lass
cl-smtp
]; ];
buildPhase = '' buildPhase = ''
@ -64,7 +69,7 @@ sbcl.buildASDFSystem {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp tfcapi $out/bin cp tfcapi $out/bin
wrapProgram $out/bin/tfcapi \ wrapProgram $out/bin/tfcserver \
--prefix LD_LIBRARY_PATH : $LD_LIBRARY_PATH \ --prefix LD_LIBRARY_PATH : $LD_LIBRARY_PATH \
''; '';