fix: Nix: put wrapped leanc in #lean-all
This commit is contained in:
parent
fc821745ae
commit
b48831cda7
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ rec {
|
|||
ln -sf ${leancpp}/lib/lean/libleancpp.* ${Leanpkg.modRoot}/* ${Lean.staticLib}/* ${Lean.modRoot}/* ${Std.staticLib}/* ${Std.modRoot}/* ${Init.staticLib}/* ${Init.modRoot}/* $out/lib/lean/
|
||||
# put everything in a single final derivation so `IO.appDir` references work
|
||||
cp ${lean}/bin/lean ${leanpkg}/bin/leanpkg $out/bin
|
||||
for i in ${lean-bin-tools-unwrapped} ${leanc}; do
|
||||
# NOTE: first `bin/leanc` wins in case of `lndir`
|
||||
for i in ${leanc} ${lean-bin-tools-unwrapped}; do
|
||||
${lndir}/bin/lndir -silent $i $out
|
||||
done
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue