Skip to content

Commit 58d6cbc

Browse files
committed
Added resources files to the Nix config
1 parent 42406e4 commit 58d6cbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ was provided to demonstrate how to authenticate [Fact Statement
11061106
UTxOs](coop-docs/02-plutus-protocol.md#fs-validator) on-chain. The script
11071107
performs a simple assertion on the
11081108
[Value](https://github.com/input-output-hk/plutus/blob/c3918d6027a9a34b6f72a6e4c7bf2e5350e6467e/plutus-ledger-api/src/PlutusLedgerApi/V1/Value.hs#L185)
1109-
a referenced UTxO to make sure it contains a
1109+
of a referenced UTxO to make sure it contains a
11101110
[CurrencySymbol](https://github.com/input-output-hk/plutus/blob/c3918d6027a9a34b6f72a6e4c7bf2e5350e6467e/plutus-ledger-api/src/PlutusLedgerApi/V1/Value.hs#L79)
11111111
of the [$FS](coop-docs/02-plutus-protocol.md#fs-token) tokens it trusts
11121112

coop-plutus/build.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ haskell-nix.cabalProject' (plutarch.applyPlutarchDep pkgs rec {
1818
packages = {
1919
# Enable strict builds
2020
coop-plutus.configureFlags = [ "-f-dev" ];
21-
21+
coop-plutus.package.extraSrcFiles = [ "resources/sample.json" "resources/sample.pd.cbor" ]; # TODO(bladyjoker): I would like to get rid of this as haskell-nix should pick it up from the Cabal file
2222
# Use the new-ledger-namespace
2323
coop-hs-types.configureFlags = [ "-fnew-ledger-namespace" ];
2424
};

0 commit comments

Comments
 (0)