mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-04-08 03:33:06 +00:00
Add bundler required extraDirs.
This commit is contained in:
parent
27258e2a75
commit
e400dca9bc
@ -80,6 +80,13 @@
|
||||
"-DLOGOS_BLOCKCHAIN_INCLUDE=${logosBlockchainC}/include"
|
||||
];
|
||||
|
||||
# Logos Core Edge-case
|
||||
# The current version of the (bundler)[https://github.com/logos-co/nix-bundle-dir] does not support
|
||||
# directories other than `lib/` and `bin/` for bundling.
|
||||
# Since the circuits' binaries are placed in `share/circuits/`, we need to add a special case so the bundler
|
||||
# can find them and include them in the final bundle.
|
||||
extraDirs = [ "share" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/share
|
||||
cp -r ${logosBlockchainC}/circuits $out/share
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user