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: 561e977f51c1
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a2778988f2b7
Choose a head ref
  • 3 commits
  • 8 files changed
  • 2 contributors

Commits on Jul 30, 2017

  1. replace "Mac OS X" with "macOS"

    except in older release notes where the name was actually Mac OS X.
    davidak committed Jul 30, 2017
    Copy the full SHA
    92bcb61 View commit details
  2. replace "OS X" with "macOS"

    davidak committed Jul 30, 2017

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fcb8d6a View commit details

Commits on Jul 31, 2017

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a277898 View commit details
2 changes: 1 addition & 1 deletion doc/manual/command-ref/conf-file.xml
Original file line number Diff line number Diff line change
@@ -262,7 +262,7 @@ false</literal>.</para>
system (except that fixed-output derivations do not run in private
network namespace to ensure they can access the network).</para>

<para>Currently, sandboxing only work on Linux and Mac OS X. The use
<para>Currently, sandboxing only work on Linux and macOS. The use
of a sandbox requires that Nix is run as root (so you should use
the <link linkend='conf-build-users-group'>“build users”
feature</link> to perform the actual builds under different users
4 changes: 2 additions & 2 deletions doc/manual/installation/installing-binary.xml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

<title>Installing a Binary Distribution</title>

<para>If you are using Linux or Mac OS X, the easiest way to install
<para>If you are using Linux or macOS, the easiest way to install
Nix is to run the following command:

<screen>
@@ -39,7 +39,7 @@ behaviour.
<!--
<para>You can also manually download and install a binary package.
Binary packages of the latest stable release are available for Fedora,
Debian, Ubuntu, Mac OS X and various other systems from the <link
Debian, Ubuntu, macOS and various other systems from the <link
xlink:href="http://nixos.org/nix/download.html">Nix homepage</link>.
You can also get builds of the latest development release from our
<link
2 changes: 1 addition & 1 deletion doc/manual/installation/multi-user.xml
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ This creates 10 build users. There can never be more concurrent builds
than the number of build users, so you may want to increase this if
you expect to do many builds at the same time.</para>

<para>On Mac OS X, you can create the required group and users by
<para>On macOS, you can create the required group and users by
running the following script:

<programlisting>
2 changes: 1 addition & 1 deletion doc/manual/installation/supported-platforms.xml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@

<listitem><para>Linux (i686, x86_64).</para></listitem>

<listitem><para>Mac OS X (x86_64).</para></listitem>
<listitem><para>macOS (x86_64).</para></listitem>

<!--
<listitem><para>FreeBSD (only tested on Intel).</para></listitem>
2 changes: 1 addition & 1 deletion doc/manual/introduction/about-nix.xml
Original file line number Diff line number Diff line change
@@ -236,7 +236,7 @@ href="[%root%]hydra">a continuous build system</a>.</para>

<simplesect><title>Portability</title>

<para>Nix runs on Linux and Mac OS X.</para>
<para>Nix runs on Linux and macOS.</para>

</simplesect>

2 changes: 1 addition & 1 deletion src/build-remote/build-remote.cc
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ int main (int argc, char * * argv)
settings.builders = argv[5];

/* It would be more appropriate to use $XDG_RUNTIME_DIR, since
that gets cleared on reboot, but it wouldn't work on OS X. */
that gets cleared on reboot, but it wouldn't work on macOS. */
currentLoad = settings.nixStateDir + "/current-load";

std::shared_ptr<Store> sshStore;
4 changes: 2 additions & 2 deletions src/libstore/optimise-store.cc
Original file line number Diff line number Diff line change
@@ -98,14 +98,14 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path, InodeHa
throw SysError(format("getting attributes of path '%1%'") % path);

#if __APPLE__
/* HFS/OS X has some undocumented security feature disabling hardlinking for
/* HFS/macOS has some undocumented security feature disabling hardlinking for
special files within .app dirs. *.app/Contents/PkgInfo and
*.app/Contents/Resources/\*.lproj seem to be the only paths affected. See
https://github.com/NixOS/nix/issues/1443 for more discussion. */

if (std::regex_search(path, std::regex("\\.app/Contents/PkgInfo$")) ||
std::regex_search(path, std::regex("\\.app/Contents/Resources/.+\\.lproj$"))) {
debug(format("'%1%' is not allowed to be linked in OS X") % path);
debug(format("'%1%' is not allowed to be linked in macOS") % path);
return;
}
#endif
2 changes: 1 addition & 1 deletion src/libutil/archive.cc
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ static void dump(const Path & path, Sink & sink, PathFilter & filter)
else if (S_ISDIR(st.st_mode)) {
sink << "type" << "directory";

/* If we're on a case-insensitive system like Mac OS X, undo
/* If we're on a case-insensitive system like macOS, undo
the case hack applied by restorePath(). */
std::map<string, string> unhacked;
for (auto & i : readDirectory(path))