diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-03-06 13:35:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 22:35:43 +0100 |
commit | 86ae7a6243810da69ee04483a48cac17a9e49448 (patch) | |
tree | 4e04d42661cf53cb847787842812b7df53d61f03 /doc/languages-frameworks | |
parent | ff352fc505484a6c2fcc68632e5676d4375485fd (diff) |
Remove top level `with lib;` in docs (#293829)
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/coq.section.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/languages-frameworks/coq.section.md b/doc/languages-frameworks/coq.section.md index 6ca199708377..db3724773345 100644 --- a/doc/languages-frameworks/coq.section.md +++ b/doc/languages-frameworks/coq.section.md @@ -55,7 +55,13 @@ Here is a simple package example. It is a pure Coq library, thus it depends on C ```nix { lib, mkCoqDerivation, version ? null , coq, mathcomp, mathcomp-finmap, mathcomp-bigenough }: -with lib; mkCoqDerivation { + +let + inherit (lib) licenses maintainers switch; + inherit (lib.versions) range; +in + +mkCoqDerivation { /* namePrefix leads to e.g. `name = coq8.11-mathcomp1.11-multinomials-1.5.2` */ namePrefix = [ "coq" "mathcomp" ]; pname = "multinomials"; |