Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 160edd3f5d55
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ddc6aaa8b242
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 24, 2020

  1. doc: Files in the store have modes 444/555, not 644/755

    This line has been this way since it was written, in 9e08f5e
    in 2006.
    
    I think it was just a small mistake then; Eelco's thesis earlier
    that year says the permission on each file is set to 0444 or 0555
    in a derivation's output as part of the build process.  In any
    case I'm pretty sure that's the behavior now.
    gnprice committed Mar 24, 2020
    Copy the full SHA
    e40e01c View commit details
  2. Merge pull request #3441 from gnprice/pr-doc-store-ro

    doc: Files in the store have modes 444/555, not 644/755
    domenkozar authored Mar 24, 2020
    Copy the full SHA
    ddc6aaa View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/manual/command-ref/nix-store.xml
2 changes: 1 addition & 1 deletion doc/manual/command-ref/nix-store.xml
Original file line number Diff line number Diff line change
@@ -1139,7 +1139,7 @@ the information that Nix considers important. For instance,
timestamps are elided because all files in the Nix store have their
timestamp set to 0 anyway. Likewise, all permissions are left out
except for the execute bit, because all files in the Nix store have
644 or 755 permission.</para>
444 or 555 permission.</para>

<para>Also, a NAR archive is <emphasis>canonical</emphasis>, meaning
that “equal” paths always produce the same NAR archive. For instance,