diff options
author | Pragmatic Cypher <slackbuilds@server.ky> | 2016-11-20 20:51:49 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-26 11:47:24 +0700 |
commit | 106a4ec9c91ab079ea086ab7745030554cce5506 (patch) | |
tree | cbb8d2bc44cf8cd679f2cbd58722c11ddba1886e /system/nix/README | |
parent | 379e0016752c6a561ac6625e387265e3afb20189 (diff) | |
download | slackbuilds-106a4ec9c91ab079ea086ab7745030554cce5506.tar.gz |
system/nix: Updated for version 1.11.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nix/README')
-rw-r--r-- | system/nix/README | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/system/nix/README b/system/nix/README index a741331aae..1da6a2ec68 100644 --- a/system/nix/README +++ b/system/nix/README @@ -1,5 +1,3 @@ -nix (functional package manager) - Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell -- they are built by functions that don't have side-effects, @@ -9,9 +7,9 @@ has its own unique subdirectory such as /nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-33.1/ -where b6gvzjyb2pg0... is a unique identifier for the package that captures all -its dependencies (it's a cryptographic hash of the package's build dependency -graph). +where b6gvzjyb2pg0... is a unique identifier for the package that +captures all its dependencies (it's a cryptographic hash of the +package's build dependency graph). Nix may be run in single or multi-user mode (which requires the nix-daemon). To have the nix daemon start and stop with your host, @@ -35,14 +33,18 @@ be added under the 'nixbld' group. -d /var/empty -g nixbld -G nixbld -M -N -r -s "$(which nologin)" \ nixbld$n; done -Restricting access to the daemon is acheived by setting file permissions -for the daemon's socket's folder. +Restricting access to the daemon is acheived by setting file +permissions for the daemon's socket's folder. chgrp nix-users /nix/var/nix/daemon-socket chmod ug=rwx,o= /nix/var/nix/daemon-socket -Correct permissions must also be set for the following profile directories -to give users access. +Correct permissions must also be set for the following profile +directories to give users access. /nix/var/nix/profiles /var/nix/profiles + +If you have patches email me, or send a pull request via github: + + https://github.com/PragmaticCypher/slackbuilds |