diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-06-17 23:05:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 23:05:58 +0200 |
commit | 19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf (patch) | |
tree | 0b118b488d48ac353be0005d0e607342079c28ed | |
parent | fb02974b97768ec4b553a5c9b8bec7f5e00e7499 (diff) | |
parent | 5baa7541d73e57f26d1da9ca0c663cc7be31f256 (diff) | |
download | nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.tar nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.tar.gz nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.tar.bz2 nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.tar.lz nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.tar.xz nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.tar.zst nixlib-19dfc1b01149e5d60860cd0f4b0f8abcb3faabbf.zip |
Merge pull request #90689 from cole-h/fix-manual
agda: fix manual build -- blocks nixpkgs-unstable
-rw-r--r-- | doc/languages-frameworks/agda.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/agda.section.md b/doc/languages-frameworks/agda.section.md index 72b895f5da12..9ce046d05b6f 100644 --- a/doc/languages-frameworks/agda.section.md +++ b/doc/languages-frameworks/agda.section.md @@ -67,13 +67,13 @@ A derivation can then be written using `agdaPackages.mkDerivation`. This has sim + `libraryName` should be the name that appears in the `*.agda-lib` file, defaulting to `pname`. + `libraryFile` should be the file name of the `*.agda-lib` file, defaulting to `${libraryName}.agda-lib`. -### Build phase +### Building Agda packages The default build phase for `agdaPackages.mkDerivation` simply runs `agda` on the `Everything.agda` file. If something else is needed to build the package (e.g. `make`) then the `buildPhase` should be overridden. Additionally, a `preBuild` or `configurePhase` can be used if there are steps that need to be done prior to checking the `Everything.agda` file. `agda` and the Agda libraries contained in `buildInputs` are made available during the build phase. -### Install phase +### Installing Agda packages The default install phase copies agda source files, agda interface files (`*.agdai`) and `*.agda-lib` files to the output directory. This can be overridden. |