aboutsummaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)Author
2017-05-05Figure out the user's home directory if $HOME is not setEelco Dolstra
2017-04-29nix-daemon.service: set XDG_CONFIG_HOMEJörg Thalheim
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-11Dockerfile: 1.11.2 -> 1.11.7Domen Kožar
2017-03-05nix-daemon.plist: Set XDG_CACHE_HOMEShea Levy
2016-10-13SSL_CERT_FILE -> NIX_SSL_CERT_FILEEelco Dolstra
This prevents collisions with the "native" OpenSSL, in particular on OS X. Fixes #921.
2016-08-31nix-daemon.service: Set $XDG_CACHE_HOMEEelco Dolstra
Nix requires either $HOME or $XDG_CACHE_HOME to be set.
2016-08-12launchd: Set $SSL_CERT_FILEEelco Dolstra
Otherwise in particular https://cache.nixos.org won't work in the daemon.
2016-08-04Dockerfile: Add alpine dependencies (#1011)Aneesh Agrawal
* 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-20Dockerfile: specify NIX_PATHDomen Kožar
2016-05-03Merge pull request #894 from adevress/systemV-supportEelco Dolstra
SystemV init file for BSD systems, old Linux distributions (RHEL 6) a…
2016-05-02SystemV init file for BSD systems, old Linux distributions (RHEL 6) and ↵Adrien Devresse
Linux dist without systemd
2016-05-01nix-mode: set syntax and font properties for multiline stringsThomas Tuegel
2016-03-16Dockerfile: 1.9 -> 1.11.2, add more usersDomen Kožar
2015-10-10emacs mode: match keywords on the start/end of symbolsPascal Wittmann
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-17Add DockerfileJaka Hudoklin
2015-05-19Also remove misc/vim/README.mdEelco Dolstra
2015-05-19point to https://nixos.org/wiki/Vim_configuration insteadHoang Xuan Phu
2014-11-04TypoEelco Dolstra
2014-11-04Add a launchd configuration file to run nix-daemonEelco Dolstra
2014-09-17Derive Emacs nix-mode from prog-mode.Robert Helgesson
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-16Install systemd and Upstart stuff only on LinuxEelco Dolstra
2014-06-12Add autoloads, make code more concise & idiomaticSteve Purcell
- 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-13Prepare nix-mode to be uploaded to marmaladeRicky Elrod
Signed-off-by: Ricky Elrod <ricky@elrod.me>
2014-05-02Install an Upstart serviceEelco Dolstra
2014-04-08Ensure that systemd units to into lib, not lib64Eelco Dolstra
http://hydra.nixos.org/build/10170940
2014-04-07Install systemd unitsEelco Dolstra
2014-02-01Remove AutomakefilesEelco Dolstra
2014-02-01Build/install manualEelco Dolstra
2012-10-03Rename nix-worker to nix-daemonEelco Dolstra
2012-09-27Allow dashes in identifiersEelco Dolstra
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-31fixes to nix-worker systemd service descriptor: - remove commented-out lines ↵Michel Alexandre Salim
- register the file for distribution in Makefile.am
2012-05-31On systems with SystemD, install the service descriptor for nix-worker, and ↵Michel Alexandre Salim
enable and start it
2011-08-06* Handle <path> syntax.Eelco Dolstra
2011-07-13* Allow a default value in attribute selection by writingEelco Dolstra
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-14make nix-mode provide 'nix-modeFlorian Friesdorf
this enables (require 'nix-mode)
2009-06-18* Highlight URLs containing "=" properly.Eelco Dolstra
2009-06-18* Attributes names in attrsets can contain dots now.Eelco Dolstra
2009-01-28vim syntax: support for indented strings ('' .. '')Marc Weber
2007-12-12small udpateMarc Weber
2007-12-10Very basic nix vim syntax highlightingMarc Weber
2006-10-02* Finally, a real "let" syntax: `let x = ...; ... z = ...; in ...'.Eelco Dolstra
2006-05-12* Support for srcdir != builddir (NIX-41).Eelco Dolstra
2004-06-25* A flag `--keep-going / -k' to keep building goals if one fails, asEelco Dolstra
much as possible. (This is similar to GNU Make's `-k' flag.) * Refactoring to implement this: previously we just bombed out when a build failed, but now we have to clean up. In particular this means that goals must be freed quickly --- they shouldn't hang around until the worker exits. So the worker now maintains weak pointers in order not to prevent garbage collection. * Documented the `-k' and `-j' flags.
2004-06-20* README for the Emacs mode (written a while ago, but forgot to commit).Eelco Dolstra
2004-06-04* A Nix mode for Emacs.Eelco Dolstra