stdenv.mkDerivation: add comments w/ manual links (#18707)
This commit is contained in:
parent
d5e24d3f80
commit
10f2befa58
|
@ -89,8 +89,16 @@ let
|
||||||
cc
|
cc
|
||||||
];
|
];
|
||||||
|
|
||||||
# Add a utility function to produce derivations that use this
|
# `mkDerivation` wraps the builtin `derivation` function to
|
||||||
# stdenv and its shell.
|
# produce derivations that use this stdenv and its shell.
|
||||||
|
#
|
||||||
|
# See also:
|
||||||
|
#
|
||||||
|
# * https://nixos.org/nixpkgs/manual/#sec-using-stdenv
|
||||||
|
# Details on how to use this mkDerivation function
|
||||||
|
#
|
||||||
|
# * https://nixos.org/nix/manual/#ssec-derivation
|
||||||
|
# Explanation about derivations in general
|
||||||
mkDerivation =
|
mkDerivation =
|
||||||
{ buildInputs ? []
|
{ buildInputs ? []
|
||||||
, nativeBuildInputs ? []
|
, nativeBuildInputs ? []
|
||||||
|
|
Loading…
Reference in New Issue