Skip to content

Commit bc167c9

Browse files
authored
Merge pull request #199 from tqtezos/rvem/fix-ligo-binary-hash
[Chore] Fix ligo binary hash
2 parents ba61ef0 + f9aad22 commit bc167c9

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

default.nix

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ let
5656
# disable haddock for dependencies
5757
doHaddock = false;
5858
}
59+
{
60+
packages.stablecoin.components.library = {
61+
preBuild = ''
62+
cp -rT ${projectSrc}/test/resources test/resources/
63+
'';
64+
};
65+
}
5966
];
6067
};
6168
tezos-contract = pkgs.stdenv.mkDerivation {
@@ -88,7 +95,11 @@ let
8895
in
8996
{
9097
lib = project.stablecoin.components.library;
91-
haddock = project.stablecoin.components.library.haddock;
98+
haddock = project.stablecoin.components.library.haddock.overrideAttrs(o: {
99+
buildPhase = ''
100+
cp -rT ${projectSrc}/test/resources test/resources/
101+
'' + o.buildPhase;
102+
});
92103
test = project.stablecoin.components.tests.stablecoin-test;
93104
nettest = project.stablecoin.components.tests.stablecoin-nettest;
94105
stablecoin-client = project.stablecoin.components.exes.stablecoin-client;

nix/sources.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"ligo": {
2727
"rev": "0.46.1",
28-
"sha256": "165xh33c88inh3wimrm82hw8szl1say2xl9cm0dkvxkkd93p0gqq",
28+
"sha256": "167lq0kjxq1m48sp7cpwka9c3jgypryww5xwkp3j065rrw4y9di3",
2929
"type": "file",
3030
"url": "https://gitlab.com/ligolang/ligo/-/jobs/2702841321/artifacts/raw/ligo",
3131
"url_template": "https://gitlab.com/ligolang/ligo/-/jobs/2702841321/artifacts/raw/ligo"

0 commit comments

Comments
 (0)