Skip to content

Commit 047b105

Browse files
authored
lisp-modules: mass updates - including new quicklisp dist (#349892)
2 parents d5627df + f6b9e01 commit 047b105

File tree

7 files changed

+5321
-4269
lines changed

7 files changed

+5321
-4269
lines changed

pkgs/development/lisp-modules/imported.nix

Lines changed: 5194 additions & 4010 deletions
Large diffs are not rendered by default.

pkgs/development/lisp-modules/nix-cl.nix

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,23 @@ let
177177
asdf = "${asdfFasl}/asdf.${faslExt}";
178178
};
179179

180-
preConfigure = ''
180+
configurePhase = ''
181+
runHook preConfigure
182+
181183
source ${./setup-hook.sh}
182184
buildAsdfPath
185+
186+
runHook postConfigure
183187
'';
184188

185189
buildPhase = optionalString (src != null) ''
190+
runHook preBuild
191+
186192
export CL_SOURCE_REGISTRY=$CL_SOURCE_REGISTRY:$src//
187193
export ASDF_OUTPUT_TRANSLATIONS="$src:$(pwd):${storeDir}:${storeDir}"
188194
${pkg}/bin/${program} ${toString flags} < $buildScript
195+
196+
runHook postBuild
189197
'';
190198

191199
# Copy compiled files to store
@@ -200,13 +208,17 @@ let
200208
concatMapStringsSep "\\|" (replaceStrings ["." "+"] ["[.]" "[+]"]) systems;
201209
in
202210
''
211+
runHook preInstall
212+
203213
mkdir -pv $out
204214
cp -r * $out
205215
206216
# Remove all .asd files except for those in `systems`.
207217
find $out -name "*.asd" \
208218
| grep -v "/\(${mkSystemsRegex systems}\)\.asd$" \
209219
| xargs rm -fv || true
220+
221+
runHook postInstall
210222
'';
211223

212224
dontPatchShebangs = true;

0 commit comments

Comments
 (0)