|
126 | 126 | allow-newer: size-based:template-haskell |
127 | 127 | ''; |
128 | 128 |
|
129 | | - haskellModules = [( |
130 | | - { pkgs, ... }: |
131 | | - { |
132 | | - packages = { |
133 | | - marlowe.flags.defer-plugin-errors = true; |
134 | | - plutus-use-cases.flags.defer-plugin-errors = true; |
135 | | - plutus-ledger.flags.defer-plugin-errors = true; |
136 | | - plutus-contract.flags.defer-plugin-errors = true; |
137 | | - cardano-crypto-praos.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf ] ]; |
138 | | - cardano-crypto-class.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf ] ]; |
139 | | - cardano-wallet-core.components.library.build-tools = [ |
140 | | - pkgs.buildPackages.buildPackages.gitMinimal |
141 | | - ]; |
142 | | - cardano-config.components.library.build-tools = [ |
143 | | - pkgs.buildPackages.buildPackages.gitMinimal |
144 | | - ]; |
145 | | - }; |
146 | | - } |
147 | | - )]; |
| 129 | + haskellModules = [ |
| 130 | + ({ pkgs, ... }: |
| 131 | + { |
| 132 | + packages = { |
| 133 | + marlowe.flags.defer-plugin-errors = true; |
| 134 | + plutus-use-cases.flags.defer-plugin-errors = true; |
| 135 | + plutus-ledger.flags.defer-plugin-errors = true; |
| 136 | + plutus-contract.flags.defer-plugin-errors = true; |
| 137 | + cardano-crypto-praos.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf ] ]; |
| 138 | + cardano-crypto-class.components.library.pkgconfig = pkgs.lib.mkForce [ [ pkgs.libsodium-vrf ] ]; |
| 139 | + cardano-wallet-core.components.library.build-tools = [ |
| 140 | + pkgs.buildPackages.buildPackages.gitMinimal |
| 141 | + ]; |
| 142 | + cardano-config.components.library.build-tools = [ |
| 143 | + pkgs.buildPackages.buildPackages.gitMinimal |
| 144 | + ]; |
| 145 | + }; |
| 146 | + } |
| 147 | + ) |
| 148 | + ]; |
148 | 149 |
|
149 | 150 | extraSources = [ |
150 | 151 | { |
|
316 | 317 | let |
317 | 318 | pkgs = nixpkgsFor system; |
318 | 319 | pkgs' = nixpkgsFor' system; |
319 | | - in pkgs.haskell-nix.cabalProject' { |
| 320 | + in |
| 321 | + pkgs.haskell-nix.cabalProject' { |
320 | 322 | src = ./.; |
321 | 323 | inherit cabalProjectLocal extraSources; |
322 | 324 | name = "bot-plutus-interface"; |
|
326 | 328 | ps.plutus-pab |
327 | 329 | ]; |
328 | 330 | withHoogle = true; |
329 | | - tools.haskell-language-server = {}; |
| 331 | + tools.haskell-language-server = { }; |
330 | 332 | exactDeps = true; |
331 | 333 | nativeBuildInputs = with pkgs'; [ |
332 | 334 | cabal-install |
|
0 commit comments