mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-05-24 01:59:50 +00:00
Add bundler required extraDirs.
This commit is contained in:
parent
bf51606f66
commit
bd8997d347
@ -80,6 +80,13 @@
|
|||||||
"-DLOGOS_BLOCKCHAIN_INCLUDE=${logosBlockchainC}/include"
|
"-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 = ''
|
postInstall = ''
|
||||||
mkdir $out/share
|
mkdir $out/share
|
||||||
cp -r ${logosBlockchainC}/circuits $out/share
|
cp -r ${logosBlockchainC}/circuits $out/share
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user