Skip to content

Commit ea23315

Browse files
committed
Make extra-packages: cardano-cli nix only
1 parent ed03872 commit ea23315

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

cabal.project

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ packages:
2121
cardano-smash-server
2222
cardano-chain-gen
2323

24-
extra-packages: cardano-cli
25-
2624
package cardano-chain-gen
2725
ghc-options: -Wall -Werror -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Wunused-imports -Wunused-packages
2826

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@
170170
in
171171
lib.genAttrs compilers (c: { compiler-nix-name = c; });
172172

173+
# cardano-cli is needed when building the docker image
174+
cabalProjectLocal = ''
175+
extra-packages: cardano-cli
176+
'';
177+
173178
crossPlatforms = p:
174179
lib.optional (system == "x86_64-linux") p.musl64 ++
175180
lib.optional

0 commit comments

Comments
 (0)