stdenv.mkDerivation: add comments w/ manual links (#18707)
This commit is contained in:
parent
d5e24d3f80
commit
10f2befa58
|
@ -89,8 +89,16 @@ let
|
|||
cc
|
||||
];
|
||||
|
||||
# Add a utility function to produce derivations that use this
|
||||
# stdenv and its shell.
|
||||
# `mkDerivation` wraps the builtin `derivation` function to
|
||||
# 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 =
|
||||
{ buildInputs ? []
|
||||
, nativeBuildInputs ? []
|
||||
|
|
Loading…
Reference in New Issue