Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
description: Removed SRP for `haskell-lmdb-mock` which is no longer needed.
Comment thread
palas marked this conversation as resolved.
kind:
- maintenance
Comment thread
palas marked this conversation as resolved.
pr: 1192
project: cardano-wasm
6 changes: 0 additions & 6 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ if arch(wasm32)
criterion-measurement
--sha256: sha256-wzEwOUTeFL0C3QnS25/3X1ue2tUuedrLqtT0h1JZW6c=

source-repository-package
type: git
location: https://github.com/palas/haskell-lmdb-mock.git
tag: c8d61e6eee03ee271e7768c0576110da885aec48
--sha256: sha256-+gB1MmM6qRApz1p7tFsdvKoAWDrYB4a+bJ9Djm6ieYI=

source-repository-package
type: git
location: https://github.com/palas/double-conversion.git
Expand Down
14 changes: 14 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,19 @@
src = nixpkgs.blst.src;
});
};
# Stub pkg-config file so the cabal solver can resolve
# cardano-lmdb (a transitive dependency of ouroboros-consensus
# that nothing in this project actually needs). Without this,
# the solver rejects cardano-lmdb because lmdb is not
# available for wasm. Per-component builds ensure it is never
# actually compiled.
lmdb-pkg-config-stub = wasm-pkgs.writeTextDir "lib/pkgconfig/lmdb.pc" ''
Name: lmdb
Description: Stub for cabal solver — not actually built
Version: 0.9.33
Libs: -llmdb
Cflags:
'';
in
lib.optionalAttrs (system != "x86_64-darwin") {
wasm = wasm-pkgs.mkShell {
Expand All @@ -308,6 +321,7 @@
wasm.libsodium
wasm.secp256k1
wasm.blst
lmdb-pkg-config-stub
]
++ lib.optional (system == "x86_64-linux" || system == "aarch64-linux") wasm-pkgs.envoy-bin;
};
Expand Down
Loading