Skip to content

Commit

Permalink
docs: reference stdenv.mkDerivation instead of `stdenvNoCC.mkDeriva…
Browse files Browse the repository at this point in the history
…tion`

To my knowledge, there's no difference in the parameters accepted by
`stdenvNoCC.mkDerivation` and `stdenv.mkDerivation` (if there is, it's
not documented in the [Nixpkgs Reference Manual][nixpkgs].

[nixpkgs]: https://nixos.org/manual/nixpkgs/stable/
  • Loading branch information
loqusion committed Dec 29, 2024
1 parent 41f016d commit fae09f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/derivations/mk-typst-derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A generic derivation constructor for running Typst commands.

## Parameters

**Note:** All parameters for `stdenvNoCC.mkDerivation`[^stdenvNoCC] are also available.
**Note:** All parameters for `stdenv.mkDerivation`[^stdenv] are also available.

### `buildPhaseTypstCommand`

Expand Down Expand Up @@ -46,7 +46,7 @@ See also: [Typst CLI Usage][typst-cli-usage]

## Footnotes

[^stdenvNoCC]: [`stdenvNoCC`][nixpkgs-stdenv] (not for the faint of heart)
[^stdenv]: [`stdenv`][nixpkgs-stdenv] (not for the faint of heart)

[nixpkgs-buildphase]: https://nixos.org/manual/nixpkgs/stable/#build-phase
[nixpkgs-stdenv]: https://nixos.org/manual/nixpkgs/stable/#chap-stdenv
Expand Down

0 comments on commit fae09f6

Please sign in to comment.