1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 22:42:41 +01:00
nix/scripts
Graham Christensen 9a04bc6f5e
Test to see if nix-daemon is running already
A user had an install, uninstalled it via the instructions, and found their nix broken.

The issue was based around nix-daemon already running.

I tried to be very smart around searching their launchctl files:

  $ grep -ri nix-daemon  ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons /System/Library/LaunchAgents /System/Library/LaunchDaemons

but then couldn't figure out how to write out (nicely) commands for uninstalling
or unloading them based on their name, and also couching the instrunctions in a
bit of doubt so we don't piss off some poor mac admin because their users just
deleted some important launchd files.
2017-07-24 22:37:22 -04:00
..
build-remote.pl.in nix-copy-closure: Add -v flag 2015-07-20 01:52:07 +02:00
copy-from-other-stores.pl.in copy-from-other-stores: Use cp 2015-06-04 14:55:40 +02:00
download-from-binary-cache.pl.in download-from-binary-cache.pl: Respect netrc-file 2017-03-05 17:40:17 -05:00
download-using-manifests.pl.in Propagate path of CA bundle to curl child processes 2017-02-22 12:43:13 +01:00
find-runtime-roots.pl.in Revert "Scan /proc/<pid>/cmdline for GC roots" 2013-12-20 14:18:24 +01:00
install-darwin-multi-user.sh Test to see if nix-daemon is running already 2017-07-24 22:37:22 -04:00
install-nix-from-closure.sh Address feedback around printf & exec 2017-07-12 11:45:35 -04:00
local.mk Create a profile suitable for multi-user installs 2017-07-09 14:52:33 -04:00
nix-build.in nix-shell: Fix 'nix-shell --command' doing nothing without TTY 2017-01-07 19:36:45 +02:00
nix-channel.in Add support for the curl netrc file in nix-channel/nix-pull. 2017-06-13 18:18:20 -05:00
nix-copy-closure.in Fix bad characters in "copying 7 missing paths from ..." 2015-11-10 16:12:26 +01:00
nix-generate-patches.in Use $XDG_RUNTIME_DIR for temporary files 2014-08-13 23:12:57 +02:00
nix-http-export.cgi.in Replace wrong (w.r.t. PATH) sed call with in-shell substitution 2009-02-19 20:46:45 +00:00
nix-install-package.in nix-install-package: follow symlinks 2015-01-30 11:30:21 +01:00
nix-profile-daemon.sh.in Create a profile suitable for multi-user installs 2017-07-09 14:52:33 -04:00
nix-profile.sh.in SSL_CERT_FILE -> NIX_SSL_CERT_FILE 2017-02-22 12:30:45 +01:00
nix-pull.in Add support for the curl netrc file in nix-channel/nix-pull. 2017-06-13 18:18:20 -05:00
nix-push.in nix-push: Support -j 2015-06-08 14:16:06 +02:00
nix-reduce-build.in Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00
resolve-system-dependencies.pl.in reintroduce host deps in tandem with sandbox profiles 2015-11-21 15:57:06 -08:00
show-duplication.pl * `show-duplication.pl', a small utility that shows the amount of 2006-09-19 13:53:35 +00:00