about summary refs log tree commit diff
path: root/misc
AgeCommit message (Collapse)AuthorFilesLines
2019-02-09 nix-daemon: add variable to disable fork safetyDaiderd Jordan1-0/+5
Since macOS 10.14 this has become an error, causing problems if the nix-daemon loads nix during substitution (this is a forked process). Workaround for #2523.
2018-06-21 docker: move the docker file to https://github.com/NixOS/dockerPeter Simons2-36/+0
We have automated builds at https://hub.docker.com/r/nixos/nix/ now. The master branch of the "docker" repository is available as "latest". Branches that match the regular expression "^[0-9.]+$" are pushed to the tag that corresponds to their branch name. Other branches are ignored.
2018-06-06 Dockerfile: 2.0.4Lorenzo Manacorda1-2/+2
2018-05-08 docker readme: simplifyDomen Kožar1-4/+2
2018-05-08 Dockerfile: 2.0.2Domen Kožar1-2/+2
2018-05-08 Add README for dockerDomen Kožar1-0/+10
2018-05-08 Dockerfile: update to 2.0.1Domen Kožar1-2/+2
2018-03-19 Dockerfile: verify tar file with sha256sumBen Challenor1-1/+3
2018-03-18 Dockerfile: 1.11.14 -> 2.0Ben Challenor1-1/+1
2018-02-28 launchd: enable keepalive for the nix-daemon serviceDaiderd Jordan1-0/+2
Without this the daemon won't be restarted if the process ever dies, for example when sending a SIGHUP to reload nix.conf.
2017-10-07 docker: ensure that the installation works for users other than 'root', tooPeter Simons1-8/+8
The path /root/.nix-profile is a sym-link to /nix/var/nix/profiles/default. The latter path, however, works for everyone while the former path works only for root, so we prefer the public path whenever possible.
2017-09-11 docker: update to Nix 1.11.14Peter Simons1-8/+11
- Use the latest Nix version 1.11.14. - Attempts to download the Nix installation tarball from http://nixos.org redirect to https these days, which wget doesn't support unless OpenSSL is available. - Use addgroup and adduser commands to create the Nix build users. - Link the Nix profile script into /etc/profile.d, where it's run automatically. - Dropped installation of bash and tar. Neither tool is essential for running Nix. Use the command "docker build -t nix . && docker run -it --rm nix sh -" to build and run the Nix docker container.
2017-08-19 Remove nix-mode.el from Nix.Matthew Bauer3-188/+0
This removes the file nix-mode.el from Nix. The file is now available within the repository https://github.com/NixOS/nix-mode. Fixes #662 Fixes #1040 Fixes #1054 Fixes #1055 Closes #1119 Fixes #1419 NOTE: all of the above should be fixed within NixOS/nix-mode. If one of those hasn’t please reopen within NixOS/nix-mode and not within NixOS/nix.
2017-06-12 Provide a builtin default for $NIX_SSL_CERT_FILEEelco Dolstra1-5/+0
This is mostly to ensure that when Nix is started on macOS via a launchd service or sshd (for a remote build), it gets a certificate bundle.
2017-05-05 Figure out the user's home directory if $HOME is not setEelco Dolstra2-4/+0
2017-04-29 nix-daemon.service: set XDG_CONFIG_HOMEJörg Thalheim1-0/+1
Otherwise starting nix-daemon fails ● nix-daemon.service - Nix Daemon Loaded: loaded (/nix/store/mnf00a6gc55xl47smk0b32gmi7xpvlfp-nix-1.12pre5308_2f21d522/lib/systemd/system/nix-daemon.service; enabled; vendor preset: enabled) Drop-In: /nix/store/m2rgjp71n4kyp8j5fxgbrlv13scd5vvv-system-units/nix-daemon.service.d └─overrides.conf Active: failed (Result: exit-code) since Sat 2017-04-29 11:29:21 CEST; 9s ago Process: 7299 ExecStart=nix-daemon --daemon (code=exited, status=1/FAILURE) Main PID: 7299 (code=exited, status=1/FAILURE) CPU: 19ms ... systemd[1]: Started Nix Daemon. ... nix-daemon[7299]: error: $XDG_CONFIG_HOME and $HOME are not set ... systemd[1]: nix-daemon.service: Main process exited, code=exited, status=1/FAILURE ... systemd[1]: nix-daemon.service: Unit entered failed state. ... systemd[1]: nix-daemon.service: Failed with result 'exit-code'. ... systemd[1]: nix-daemon.service: Start request repeated too quickly. ... systemd[1]: Failed to start Nix Daemon. ... systemd[1]: nix-daemon.service: Failed with result 'exit-code'.
2017-03-11 Dockerfile: 1.11.2 -> 1.11.7Domen Kožar1-1/+1
2017-03-05 nix-daemon.plist: Set XDG_CACHE_HOMEShea Levy1-0/+2
2016-10-13 SSL_CERT_FILE -> NIX_SSL_CERT_FILEEelco Dolstra2-3/+3
This prevents collisions with the "native" OpenSSL, in particular on OS X. Fixes #921.
2016-08-31 nix-daemon.service: Set $XDG_CACHE_HOMEEelco Dolstra1-0/+1
Nix requires either $HOME or $XDG_CACHE_HOME to be set.
2016-08-12 launchd: Set $SSL_CERT_FILEEelco Dolstra1-0/+5
Otherwise in particular https://cache.nixos.org won't work in the daemon.
2016-08-04 Dockerfile: Add alpine dependencies (#1011)Aneesh Agrawal1-1/+3
* Dockerfile: add GNU tar native dependency `builtins.fetchTarball` requires GNU tar to be available in the $PATH in order to unpack the fetched tarball (there is a FIXME comment for this), which Alpine does not ship by default (it ships BusyBox tar). * Dockerfile: add GNU bash native dependency `nix-shell` defaults to invoking `bash` from the $PATH for the subshell. In theory this can be overriden with the NIX_BUILD_SHELL environment variable, but this does not work properly. `nix-shell` generates and passes a script (`$rcFile`) to be executed by the subshell which uses bashisms (`source` and `shopt`). Additionally, in interactive mode, `nix-shell` passes the `--rcfile` argument to the shell, which is another bashism. Because `bash` is thus de-facto required, add `bash` as a native package dependency to make it available for `nix-shell`.
2016-07-20 Dockerfile: specify NIX_PATHDomen Kožar1-1/+2
2016-05-03 Merge pull request #894 from adevress/systemV-supportEelco Dolstra1-0/+113
SystemV init file for BSD systems, old Linux distributions (RHEL 6) a…
2016-05-02 SystemV init file for BSD systems, old Linux distributions (RHEL 6) and ↵Adrien Devresse1-0/+113
Linux dist without systemd
2016-05-01 nix-mode: set syntax and font properties for multiline stringsThomas Tuegel1-2/+84
2016-03-16 Dockerfile: 1.9 -> 1.11.2, add more usersDomen Kožar1-13/+10
2015-10-10 emacs mode: match keywords on the start/end of symbolsPascal Wittmann1-10/+10
If keywords are matched on the start/end of words then keywords are also matched if they are surrounded by dashes or underscores. For example the keyword with is highlighted in geany-with-vte. When matching on the start/end of symbols the keyword is only highlighted if it is not part of an other identifier.
2015-07-17 Add DockerfileJaka Hudoklin1-0/+23
2015-05-19 Also remove misc/vim/README.mdEelco Dolstra1-1/+0
2015-05-19 point to https://nixos.org/wiki/Vim_configuration insteadHoang Xuan Phu2-37/+1
2014-11-04 TypoEelco Dolstra1-1/+1
2014-11-04 Add a launchd configuration file to run nix-daemonEelco Dolstra2-0/+21
2014-09-17 Derive Emacs nix-mode from prog-mode.Robert Helgesson1-1/+1
Emacs 24.1 introduced the notion of "basic major modes" and among these is prog-mode, see section "23.2.5 Basic Major Modes" in the Emacs manual. The prog-mode basic major mode is recommended as a base for derived major modes that are intended for editing source code.
2014-07-16 Install systemd and Upstart stuff only on LinuxEelco Dolstra2-2/+10
2014-06-12 Add autoloads, make code more concise & idiomaticSteve Purcell1-78/+55
- Use define-derived-mode to declare nix-mode - Use autoloads to ensure nix-mode is usable (and enabled) without needing `require` - Use set + make-local-variable instead of longer 2-step equivalent
2014-05-13 Prepare nix-mode to be uploaded to marmaladeRicky Elrod1-9/+14
Signed-off-by: Ricky Elrod <ricky@elrod.me>
2014-05-02 Install an Upstart serviceEelco Dolstra2-0/+6
2014-04-08 Ensure that systemd units to into lib, not lib64Eelco Dolstra1-1/+1
http://hydra.nixos.org/build/10170940
2014-04-07 Install systemd unitsEelco Dolstra4-10/+21
2014-02-01 Remove AutomakefilesEelco Dolstra2-6/+0
2014-02-01 Build/install manualEelco Dolstra1-0/+1
2012-10-03 Rename nix-worker to nix-daemonEelco Dolstra1-1/+1
2012-09-27 Allow dashes in identifiersEelco Dolstra1-1/+1
In Nixpkgs, the attribute in all-packages.nix corresponding to a package is usually equal to the package name. However, this doesn't work if the package contains a dash, which is fairly common. The convention is to replace the dash with an underscore (e.g. "dbus-lib" becomes "dbus_glib"), but that's annoying. So now dashes are valid in variable / attribute names, allowing you to write: dbus-glib = callPackage ../development/libraries/dbus-glib { }; and buildInputs = [ dbus-glib ]; Since we don't have a negation or subtraction operation in Nix, this is unambiguous.
2012-05-31 fixes to nix-worker systemd service descriptor: - remove commented-out lines ↵Michel Alexandre Salim1-2/+0
- register the file for distribution in Makefile.am
2012-05-31 On systems with SystemD, install the service descriptor for nix-worker, and ↵Michel Alexandre Salim1-0/+12
enable and start it
2011-08-06 * Handle <path> syntax.Eelco Dolstra1-0/+2
2011-07-13 * Allow a default value in attribute selection by writingEelco Dolstra1-1/+1
x.y.z or default (as originally proposed in https://mail.cs.uu.nl/pipermail/nix-dev/2009-September/002989.html). For instance, an expression like stdenv.lib.attrByPath ["features" "ckSched"] false args can now be written as args.features.ckSched or false
2011-02-14 make nix-mode provide 'nix-modeFlorian Friesdorf1-0/+2
this enables (require 'nix-mode)
2009-06-18 * Highlight URLs containing "=" properly.Eelco Dolstra1-2/+2