Skip to content

Fix typos, especially those that end up in the Nix manual - #155

Closed
ivan wants to merge 2 commits into
NixOS:masterfrom
ivan:typo-fix-1
Closed

ivan wants to merge 2 commits into
NixOS:masterfrom
ivan:typo-fix-1

Conversation

@ivan

@ivan ivan commented Aug 10, 2013

Copy link
Copy Markdown
Member

No description provided.

@bjornfor

Copy link
Copy Markdown
Contributor

@ivan: I have one extra line you can add to this pull (I'm too lazy to send a separate pull request for this now):

    Fix typo

    I'm pretty sure commit 2bc5de86357fddcc52e2ce0c1b432a9509dea27e (Rename
    ‘nix-build --run-env’ to ‘nix-shell’) meant to rename all instances, but it
    missed this one.
---
 doc/manual/nix-shell.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/manual/nix-shell.xml b/doc/manual/nix-shell.xml
index 4e9735a..866b341 100644
--- a/doc/manual/nix-shell.xml
+++ b/doc/manual/nix-shell.xml
@@ -37,7 +37,7 @@

 <refsection><title>Description</title>

-<para>The command <command>nix-shell --run-env</command> will build
+<para>The command <command>nix-shell</command> will build
 the dependencies of the specified derivation, but not the derivation
 itself.  It will then start an interactive shell in which all
 environment variables defined by the derivation have been set to their

@edolstra

Copy link
Copy Markdown
Member

Applied!

@edolstra edolstra closed this Aug 26, 2013
ConnorBaker pushed a commit to ConnorBaker/nix that referenced this pull request Jul 25, 2025
…rrent-eval-cache

Revert "Use WAL mode for SQLite cache databases"
angerman added a commit to angerman/nix that referenced this pull request Aug 5, 2026
Kills hypothesis: "the 402MB Boehm is v3->TW bridge Values from FFI primop
wrappers, reducible by moving heavy crossings native."

Measure-first (firefox.drvPath):
- bridge=0 (NIX_VM_STATS): zero TW thunk-routing. Not bridge.
- GC_get_heap_size = constant ~402.9MB (appears even for 1+1, RSS 31MB) = Boehm's
  upfront mapped reservation, NOT a workload metric. Methodology trap; M1's vmmap
  402MB-resident on M5 is the real number.
- GC_get_total_bytes (cumulative): 1+1=0, firefox=452MB -> v3 churns ~431MB TW.
- Per-primop self-attribution (NIX_V3_BOEHM_ATTR, gated, now retired): store-
  boundary leaves allocate ~0 (readFile 0.0MB, pathExists 0.0MB); churn attributed
  to higher-order list primops (concatMap 228, all 96, ...) -- but those are
  v3-NATIVE (primConcatMap=allocList=arena), so that's an INCLUSIVE artifact (the
  main OP_CALL_PRIMOP path bypasses the child-accounting -> native higher-order
  primops absorb their callback subtree's Boehm).

Robust findings: NOT store/FFI boundaries (those are ~0), NOT bridge (=0); it's
~431MB transient TW churn under the package-set subtree, held resident by macOS
no-unmap (same wall as NixOS#134/NixOS#136). Change-5 premise ("move store primops native")
FALSIFIED -- store leaves don't allocate it. NixOS#156/NixOS#157 re-scoped; the precise leaf
needs a complete-attribution instrument (hook the main OP_CALL_PRIMOP path) =
follow-up. Pattern holds: Changes 1/3/5 all modest/blocked; real levers = Change 2
(HAMT) + Change 4 (JIT).

Instrument retired per Rule 0 (per-primop numbers carry the inclusive artifact).
hello.drvPath byte-id; vm.cc reverted to baseline.

lode/C5_BOEHM_RCA_2026-06-23.md.

Copyright (c) 2026 Moritz Angermann <[email protected]>, Input Output
Group. SPDX-License-Identifier: Apache-2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants