Debian Codegraph @

tests/inputs/Prelude.dhall

raw
1 {- https://github.com/dhall-lang/dhall-nethack/raw/master/Prelude.dhall
2 This file provides a central `Prelude` import for the rest of the library to
3 use so that the integrity check only needs to be updated in one place
4 whenever upgrading the interpreter.
5
6 This allows the user to provide their own Prelude import using the
7 `DHALL_PRELUDE` environment variable, like this:
8
9 ```
10 $ export DHALL_PRELUDE='https://prelude.dhall-lang.org/package.dhall sha256:...'
11 ```
12
13 Note that overriding the Prelude in this way only works if this repository
14 is imported locally. Remote imports do not have access to environment
15 variables and any attempt to import one will fall back to the next available
16 import. To learn more, read:
17
18 * https://github.com/dhall-lang/dhall-lang/wiki/Safety-guarantees#cross-site-scripting-xss
19
20 This file also provides an import without the integrity check as a slower
21 fallback if the user is using a different version of the Dhall interpreter.
22 -}
23
24 env:DHALL_PRELUDE
25 ? https://raw.githubusercontent.com/dhall-lang/dhall-lang/v8.0.0/Prelude/package.dhall sha256:0c04cbe34f1f2d408e8c8b8cb0aa3ff4d5656336910f7e86190a6d14326f966d
26 ? https://raw.githubusercontent.com/dhall-lang/dhall-lang/v8.0.0/Prelude/package.dhall