mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-18 12:59:56 +00:00
fix(amm): lock macOS flake inputs
This commit is contained in:
parent
2538f0c460
commit
3ef4d62ec3
36
apps/amm/flake.lock
generated
36
apps/amm/flake.lock
generated
@ -6,14 +6,19 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"path": "../..",
|
"lastModified": 1784212840,
|
||||||
"type": "path"
|
"narHash": "sha256-UKdadH6igQ2LG1chaiYPwK9I38QqkyHbAdEZOgSL9j8=",
|
||||||
|
"owner": "logos-blockchain",
|
||||||
|
"repo": "lez-programs",
|
||||||
|
"rev": "2538f0c460c11d1331b904b59a2a4530104e2df8",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "../..",
|
"owner": "logos-blockchain",
|
||||||
"type": "path"
|
"ref": "feat/amm-pool-creation",
|
||||||
},
|
"repo": "lez-programs",
|
||||||
"parent": []
|
"type": "github"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -26901,14 +26906,21 @@
|
|||||||
"shared_wallet": {
|
"shared_wallet": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"path": "../shared/wallet",
|
"dir": "apps/shared/wallet",
|
||||||
"type": "path"
|
"lastModified": 1784212840,
|
||||||
|
"narHash": "sha256-UKdadH6igQ2LG1chaiYPwK9I38QqkyHbAdEZOgSL9j8=",
|
||||||
|
"owner": "logos-blockchain",
|
||||||
|
"repo": "lez-programs",
|
||||||
|
"rev": "2538f0c460c11d1331b904b59a2a4530104e2df8",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "../shared/wallet",
|
"dir": "apps/shared/wallet",
|
||||||
"type": "path"
|
"owner": "logos-blockchain",
|
||||||
},
|
"ref": "feat/amm-pool-creation",
|
||||||
"parent": []
|
"repo": "lez-programs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@ -4,9 +4,10 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
logos-module-builder.url = "github:logos-co/logos-module-builder";
|
logos-module-builder.url = "github:logos-co/logos-module-builder";
|
||||||
|
|
||||||
# Shared C++ wallet access and Logos.Wallet QML sources.
|
# Shared C++ wallet access and Logos.Wallet QML sources. Nix 2.25 rejects
|
||||||
|
# committed relative-path locks, so flake.lock pins this Git source.
|
||||||
shared_wallet = {
|
shared_wallet = {
|
||||||
url = "path:../shared/wallet";
|
url = "github:logos-blockchain/lez-programs/feat/amm-pool-creation?dir=apps/shared/wallet";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -27,7 +28,10 @@
|
|||||||
"github:logos-blockchain/logos-execution-zone?rev=a7e06a660940a00093b1760560d37ff84aff5a05";
|
"github:logos-blockchain/logos-execution-zone?rev=a7e06a660940a00093b1760560d37ff84aff5a05";
|
||||||
};
|
};
|
||||||
|
|
||||||
amm_client.url = "path:../..";
|
# Nix 2.25 rejects a committed lock entry for the relative repository root.
|
||||||
|
# The lock pins this PR's root flake to an immutable Git revision, so
|
||||||
|
# consumers can evaluate the AMM flake without local lock overrides.
|
||||||
|
amm_client.url = "github:logos-blockchain/lez-programs/feat/amm-pool-creation";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ logos-module-builder, shared_wallet, ... }:
|
outputs = inputs@{ logos-module-builder, shared_wallet, ... }:
|
||||||
@ -36,7 +40,9 @@
|
|||||||
configFile = ./metadata.json;
|
configFile = ./metadata.json;
|
||||||
flakeInputs = inputs;
|
flakeInputs = inputs;
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cmakeFlagsArray+=("-DLOGOS_WALLET_SOURCE_DIR=${shared_wallet}")
|
# A non-flake Git input is materialized at the repository root; its
|
||||||
|
# `dir` selector is retained in the lock but does not change this path.
|
||||||
|
cmakeFlagsArray+=("-DLOGOS_WALLET_SOURCE_DIR=${shared_wallet}/apps/shared/wallet")
|
||||||
'';
|
'';
|
||||||
externalLibInputs = {
|
externalLibInputs = {
|
||||||
amm_client = {
|
amm_client = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user