lix/src
Matthew Bauer 74f6d8767d Get effective user in Nix commands
‘geteuid’ gives us the user that the command is being run as,
including in setuid modes. By using geteuid to determind id, we can
avoid the ‘sudo -i’ hack when upgrading Nix. So now, upgrading Nix on
macOS is as simple as:

$ sudo nix-channel --update
$ sudo nix-env -u

$ sudo launchctl stop org.nixos.nix-daemon
$ sudo launchctl start org.nixos.nix-daemon
or
$ sudo systemctl restart nix-daemon
2018-09-04 19:32:39 -05:00
..
build-remote Merge branch 'aarch64-armv7' of git://github.com/lheckemann/nix 2018-04-23 08:48:22 -04:00
cpptoml Include cpptoml for build simplicity 2018-07-03 18:39:36 +02:00
libexpr fetchGit/fetchMercurial: Don't absolutize paths 2018-09-01 00:19:49 +02:00
libmain Modularize config settings 2018-05-30 13:28:01 +02:00
libstore download: fix size reported to progress bar 2018-09-03 14:12:54 -05:00
libutil Get effective user in Nix commands 2018-09-04 19:32:39 -05:00
linenoise linenoise.cpp: allow completions from empty input 2017-12-19 12:52:10 -06:00
nix nix path-info: Remove trailing spaces 2018-09-01 00:04:57 +02:00
nix-build nix-build: Print stats even in failing builds 2018-08-31 21:03:32 -04:00
nix-channel Get effective user in Nix commands 2018-09-04 19:32:39 -05:00
nix-collect-garbage Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-copy-closure Fix library ordering in Makefiles 2018-04-21 21:10:52 -07:00
nix-daemon Make adding paths via nix-store --serve run in constant memory 2018-08-03 21:21:16 +02:00
nix-env Merge pull request #767 from mogorman/garbage_collect_keep_last_few 2018-05-31 10:00:21 +02:00
nix-instantiate Move EvalState from the stack to the heap 2018-06-12 17:49:55 +02:00
nix-prefetch-url nix-prefetch-url: Download file in constant memory 2018-07-12 18:48:41 +02:00
nix-store Make adding paths via nix-store --serve run in constant memory 2018-08-03 21:21:16 +02:00
nlohmann nlohmann-json: 2.1.1 -> 3.0.1 2018-01-22 12:19:50 -06:00
resolve-system-dependencies Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00