diff options
author | Jan Malakhovski <oxij@oxij.org> | 2023-08-06 01:01:26 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 23:01:26 +0200 |
commit | 85d4248a4f5aa6bc55dd2cea8131bb68b2d43804 (patch) | |
tree | 48fd34596de327c29dc496db770be51e30e4c6e9 | |
parent | ef7c6db16f736f5f050642425796231220320375 (diff) | |
download | nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.tar nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.tar.gz nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.tar.bz2 nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.tar.lz nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.tar.xz nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.tar.zst nixpkgs-85d4248a4f5aa6bc55dd2cea8131bb68b2d43804.zip |
treewide: fix some comments (#247365)
* pkgs/top-level/splice.nix: fix broken comment * stdenv: use a value that actually works in the comment there
-rw-r--r-- | pkgs/stdenv/generic/make-derivation.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/splice.nix | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index 0799ca685f5..7a083660e44 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -48,7 +48,7 @@ let in finalPackage; - # makeDerivationExtensibleConst == makeDerivationExtensible (_: attrs), + #makeDerivationExtensibleConst = attrs: makeDerivationExtensible (_: attrs); # but pre-evaluated for a slight improvement in performance. makeDerivationExtensibleConst = attrs: mkDerivationSimple diff --git a/pkgs/top-level/splice.nix b/pkgs/top-level/splice.nix index 0a138947e8d..51fd6f420e8 100644 --- a/pkgs/top-level/splice.nix +++ b/pkgs/top-level/splice.nix @@ -6,10 +6,10 @@ # 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 -# `callPackage`d expression in fact gets both versions. Each# derivation (and -# each derivation's outputs) consists of the run-time version, augmented with a -# `__spliced.buildHost` field for the build-time version, and `__spliced.hostTarget` field for the -# run-time version. +# `callPackage`d expression in fact gets both versions. Each derivation (and +# each derivation's outputs) consists of the run-time version, augmented with +# a `__spliced.buildHost` field for the build-time version, and +# `__spliced.hostTarget` field for the run-time version. # # For performance reasons, rather than uniformally splice in all cases, we only # do so when `pkgs` and `buildPackages` are distinct. The `actuallySplice` |