fix: Nix: compatibility with standard build
This commit is contained in:
parent
79dec8fa7c
commit
fb57b73e1f
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ rec {
|
|||
name = "lean-${desc}";
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin $out/lib/lean
|
||||
ln -sf ${leancpp}/lib/lean/* ${lib.concatMapStringsSep " " (l: "${l.modRoot}/* ${l.staticLib}/*") (lib.reverseList extlib)} $out/lib/lean/
|
||||
ln -sf ${leancpp}/lib/lean/* ${lib.concatMapStringsSep " " (l: "${l.modRoot}/* ${l.staticLib}/*") (lib.reverseList extlib)} ${leanshared}/* $out/lib/lean/
|
||||
# put everything in a single final derivation so `IO.appDir` references work
|
||||
cp ${lean}/bin/lean ${leanpkg}/bin/leanpkg ${leanc}/bin/leanc $out/bin
|
||||
# NOTE: `lndir` will not override existing `bin/leanc`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue