mirror of
https://github.com/logos-blockchain/logos-blockchain-ui.git
synced 2026-04-01 17:03:31 +00:00
Merge pull request #7 from logos-blockchain/fix/circuits
fix: update nix path to add circuits
This commit is contained in:
commit
0baedaae98
@ -173,6 +173,11 @@ pkgs.stdenv.mkDerivation rec {
|
||||
cp -L "${logosBlockchainModule}/lib/liblogos_blockchain.$OS_EXT" "$out/modules/"
|
||||
fi
|
||||
|
||||
# Copy circuits from blockchain module to lib (needed at runtime)
|
||||
if [ -d "${logosBlockchainModule}/lib/circuits" ]; then
|
||||
cp -r "${logosBlockchainModule}/lib/circuits" "$out/modules/"
|
||||
fi
|
||||
|
||||
# Copy blockchain_ui Qt plugin to root directory (not modules, as it's loaded differently)
|
||||
if [ -f "${logosBlockchainUI}/lib/blockchain_ui.$OS_EXT" ]; then
|
||||
cp -L "${logosBlockchainUI}/lib/blockchain_ui.$OS_EXT" "$out/"
|
||||
|
||||
@ -41,6 +41,11 @@ pkgs.stdenv.mkDerivation {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy circuits from blockchain module so result/lib/circuits is available
|
||||
if [ -d "${logosBlockchainModule}/lib/circuits" ]; then
|
||||
cp -r "${logosBlockchainModule}/lib/circuits" $out/modules/
|
||||
fi
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user