jade
9eebd9ed1d
Restore system-install profile files from the previous installer
...
These files are required to get Nix in PATH in existing multi-user installs using
the legacy installer. We really could use some tests.
Cc: lix-project/lix#33
This partially reverts commit 93cc063344
.
Fixes: lix-project/lix#173
Change-Id: Iafb55280596732670a432f604b897f48562868e4
2024-03-25 04:17:14 +00:00
puck
93cc063344
Delete the existing installer
...
We're not going to use it.
Fixes : #31
Change-Id: Ib17a2eb6cae1ecbbf9ad1062e576ba6107a3c13b
2024-03-14 18:15:46 +00:00
Ana Hobden
8ebdbeb257
Add fish suport to installer
...
Before this patch, installing Nix using the Fish shell did not
work because Fish wasn't configured to add Nix to the PATH. Some
options in #1512 offered workarounds, but they typically involve
extra plugins or packages.
This patch adds native, out-of-the-box support for the Fish shell.
Note that Fish supports a `conf.d` directory, which is intended
for exactly use cases like this: software projects distributing
shell snippets. This patch takes advantage of it. The installer
doesn't append any Nix loader behavior to any Fish config file.
Because of that, the uninstall process is smooth and a reinstall
obliterates the existing nix.fish files that we place instead of
bothering the user with a backup / manual removal.
Both single-user and multi-user cases are covered. It has been
tested on Ubuntu, and a Mac with MacPorts, homebrew, and the
Fish installer pkg.
Closes #1512
Co-authored-by: Graham Christensen <graham@grahamc.com>
2022-09-13 12:56:16 -04:00
Eelco Dolstra
9de324f554
Remove nix-reduce-build and nix-http-export
...
These scripts are not installed and haven't been updated in many
years.
2021-11-18 21:17:57 +01:00
Shea Levy
6a037a738a
Pull nix-profile-daemon from 1.11
2017-10-16 14:51:39 -04:00
Eelco Dolstra
6f4682ad36
Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix
2017-02-07 20:47:45 +01:00
Eelco Dolstra
27dc76c1a5
Remove build-remote.pl.in
2017-02-07 18:49:17 +01:00
Shea Levy
bfa41eb671
nix-copy-closure: Implement in C++.
...
Tests fail currently because the database is not given proper hashes in the VM
2017-01-20 09:47:58 -05:00
Shea Levy
87b189c2b3
Merge branch 'nix-build-c++'
2016-08-31 12:10:21 -04:00
Shea Levy
572aba284a
Merge branch 'nix-channel-c++'
2016-08-31 09:49:24 -04:00
Jude Taylor
596e4a5693
remove old traces of resolve-system-dependencies
2016-08-13 15:27:49 -07:00
Shea Levy
59124228b3
nix-channel: implement in c++
2016-08-11 11:34:43 -04:00
Shea Levy
6e51af8023
Nuke nix-push.
...
Rarely used, nix copy replaces it.
2016-08-10 11:13:11 -04:00
Shea Levy
15c035c13f
Remove nix-install-package.
...
Refs #831
2016-08-10 08:20:51 -04:00
Shea Levy
80ebc553ec
nix-build: Port to c++
...
This was a dumb line-for-line rewrite, because nix build/nix run/etc.
will replace it.
2016-08-09 07:42:20 -04:00
Shea Levy
ee3032e4de
Merge branch 'find-runtime-roots-c++'
2016-07-24 07:33:49 -04:00
Shea Levy
3c68a661f2
resolve-system-dependencies.pl: Only install on darwin
2016-07-21 19:00:54 -04:00
Shea Levy
3c46fe62b8
find-runtime-roots: fold into gc.cc
2016-07-21 07:04:41 -04:00
Eelco Dolstra
aa3bc3d5dc
Eliminate the substituter mechanism
...
Substitution is now simply a Store -> Store copy operation, most
typically from BinaryCacheStore to LocalStore.
2016-04-29 13:57:08 +02:00
Eelco Dolstra
867967265b
Remove manifest support
...
Manifests have been superseded by binary caches for years. This also
gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-04-11 16:20:15 +02:00
Jude Taylor
ff6953cb03
Add resolve-system-dependencies.pl
2015-10-21 12:38:52 -07:00
Eelco Dolstra
bec3c31608
nix-prefetch-url: Rewrite in C++
2015-10-01 16:47:43 +02:00
Luca Bruno
ab2b3d6668
nix-collect-garbage: translate to C++
2015-04-22 15:08:48 +00:00
Eelco Dolstra
6ef32bddc1
Fix "make dist"
2014-02-01 14:38:12 +01:00
Eelco Dolstra
16e7d69209
Update Makefile variable names
2014-02-01 13:54:38 +01:00
Eelco Dolstra
e0234dfddc
Rename Makefile -> local.mk
2014-01-30 12:11:06 +01:00