mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 10:04:08 +00:00
treewide: fix some comments (#247365)
* pkgs/top-level/splice.nix: fix broken comment * stdenv: use a value that actually works in the comment there
This commit is contained in:
parent
ef7c6db16f
commit
85d4248a4f
@ -48,7 +48,7 @@ let
|
|||||||
|
|
||||||
in finalPackage;
|
in finalPackage;
|
||||||
|
|
||||||
# makeDerivationExtensibleConst == makeDerivationExtensible (_: attrs),
|
#makeDerivationExtensibleConst = attrs: makeDerivationExtensible (_: attrs);
|
||||||
# but pre-evaluated for a slight improvement in performance.
|
# but pre-evaluated for a slight improvement in performance.
|
||||||
makeDerivationExtensibleConst = attrs:
|
makeDerivationExtensibleConst = attrs:
|
||||||
mkDerivationSimple
|
mkDerivationSimple
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
# run-time) of a package to a consumer that isn't used to thinking so cleverly.
|
# run-time) of a package to a consumer that isn't used to thinking so cleverly.
|
||||||
#
|
#
|
||||||
# The solution is to splice the package sets together as we do below, so every
|
# The solution is to splice the package sets together as we do below, so every
|
||||||
# `callPackage`d expression in fact gets both versions. Each# derivation (and
|
# `callPackage`d expression in fact gets both versions. Each derivation (and
|
||||||
# each derivation's outputs) consists of the run-time version, augmented with a
|
# each derivation's outputs) consists of the run-time version, augmented with
|
||||||
# `__spliced.buildHost` field for the build-time version, and `__spliced.hostTarget` field for the
|
# a `__spliced.buildHost` field for the build-time version, and
|
||||||
# run-time version.
|
# `__spliced.hostTarget` field for the run-time version.
|
||||||
#
|
#
|
||||||
# For performance reasons, rather than uniformally splice in all cases, we only
|
# For performance reasons, rather than uniformally splice in all cases, we only
|
||||||
# do so when `pkgs` and `buildPackages` are distinct. The `actuallySplice`
|
# do so when `pkgs` and `buildPackages` are distinct. The `actuallySplice`
|
||||||
|
Loading…
Reference in New Issue
Block a user