Eelco Dolstra
c9f51e8705
Remove corepkgs/config.nix
...
This isn't used anywhere except in the configure script of the Perl
bindings. I've changed the latter to use the C++ API's Settings object
at runtime.
2020-09-17 10:42:51 +02:00
Eelco Dolstra
733d2e9402
.gitignore: inst -> outputs
2020-09-15 13:48:42 +02:00
Brian Leung
c8b17212c8
Add ccls files to .gitignore
2020-09-13 14:40:23 -07:00
Eelco Dolstra
0f314f3c25
Generate builtins section of the manual
2020-08-24 14:49:30 +02:00
Eelco Dolstra
c8fa39324a
Generate the nix.conf docs from the source code
...
This means we don't have two (divergent) sets of option descriptions
anymore.
2020-08-19 18:28:04 +02:00
Eelco Dolstra
6f19c776db
Start generation of the nix.1 manpage
2020-08-17 19:33:18 +02:00
Eelco Dolstra
1308c8404e
Remove DocBook manual
2020-07-24 15:48:40 +02:00
John Ericson
efc5e45e95
Add src/libutil/tests/libutil-tests
to .gitignore
...
I gather this comes from the new unit tests.
2020-06-04 21:05:41 +00:00
Ben Burdette
2248cc6716
ignore error-demo
2020-04-06 12:05:17 -06:00
Eelco Dolstra
0a10854f85
Misc changes from the flakes branch
2020-03-24 14:34:47 +01:00
Eelco Dolstra
f102d793f1
Merge pull request #2748 from edolstra/rust
...
Make nix/unpack-channel.nix a builtin builder
2019-11-29 19:33:31 +01:00
Eelco Dolstra
895ed4cef0
Remove RPM spec file
...
Closes #3225 .
Closes #3226 .
2019-11-28 15:10:18 +01:00
Eelco Dolstra
6a9c815734
Remove most of <nix/config.nix>
...
This is no longer needed.
2019-11-26 22:07:28 +01:00
Eelco Dolstra
11da5b2816
Add some Rust code
2019-11-26 22:07:28 +01:00
Jonas Chevalier
a08f353922
gitignore /precompiled-headers.h.?ch
2019-11-08 14:48:52 +00:00
Shea Levy
087be7281a
Treat plain derivation paths in context as normal paths.
...
Previously, plain derivation paths in the string context (e.g. those
that arose from builtins.storePath on a drv file, not those that arose
from accessing .drvPath of a derivation) were treated somewhat like
derivaiton paths derived from .drvPath, except their dependencies
weren't recursively added to the input set. With this change, such
plain derivation paths are simply treated as paths and added to the
source inputs set accordingly, simplifying context handling code and
removing the inconsistency. If drvPath-like behavior is desired, the
.drv file can be imported and then .drvPath can be accessed.
This is a backwards-incompatibility, but storePath is never used on
drv files within nixpkgs and almost never used elsewhere.
2019-01-13 11:29:55 -05:00
Eelco Dolstra
668ac3ea2c
Make <nix/buildenv.nix> a builtin builder
...
This avoids sandbox annoyances.
2018-03-20 17:28:09 +01:00
Shea Levy
88cd2d41ac
Add plugins to make Nix more extensible.
...
All plugins in plugin-files will be dlopened, allowing them to
statically construct instances of the various Register* types Nix
supports.
2018-02-08 12:44:37 -05:00
Dan Peebles
476493dbf5
Reverse retry logic to retry in all but a few cases
...
It was getting too much like whac-a-mole listing all the retriable error
conditions, so we now retry by default and list the cases where retrying
is almost certainly hopeless.
2017-10-02 23:22:02 -04:00
Eelco Dolstra
85e93d7b87
Always use the Darwin sandbox
...
Even with "build-use-sandbox = false", we now use sandboxing with a
permissive profile that allows everything except the creation of
setuid/setgid binaries.
2017-06-06 18:44:49 +02:00
Eelco Dolstra
c96e8cd097
OS X sandbox: Improve builtin sandbox profile
...
Also, add rules to allow fixed-output derivations to access the
network.
These rules are sufficient to build stdenvDarwin without any
__sandboxProfile magic.
2017-05-31 17:25:51 +02:00
Eelco Dolstra
acc889c821
Darwin sandbox: Use sandbox-defaults.sb
...
Issue #759 .
Also, remove nix.conf from the sandbox since I don't really see a
legitimate reason for builders to access the Nix configuration.
2017-05-30 17:40:12 +02:00
Shea Levy
f7b7df8d1f
Add nix-perl package for the perl bindings
2017-02-07 15:56:32 -05: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
c54814b175
Remove download-via-ssh
...
Replaced by SSHStore.
2017-02-07 18:54:33 +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
167d12b02c
build-remote: Implement in C++
2016-11-10 11:09:15 -05:00
Alexander Ried
8d2f156c32
.gitignore: catch up with perl -> c conversion
2016-10-17 00:15:18 +02: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
Shea Levy
59124228b3
nix-channel: implement in c++
2016-08-11 11:34:43 -04:00
Eelco Dolstra
b0ebad88cd
Merge branch 'buildenv-c++' of https://github.com/shlevy/nix
2016-08-11 17:11:17 +02:00
Shea Levy
91978e3b9a
buildenv: perl -> c++
2016-08-11 07:58:33 -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
3c46fe62b8
find-runtime-roots: fold into gc.cc
2016-07-21 07:04:41 -04:00
Eelco Dolstra
4494000e04
LocalStore: Allow the physical and logical store directories to differ
...
This is primarily to subsume the functionality of the
copy-from-other-stores substituter. For example, in the NixOS
installer, we can now do (assuming we're in the target chroot, and the
Nix store of the installation CD is bind-mounted on /tmp/nix):
$ nix-build ... --option substituters 'local?state=/tmp/nix/var&real=/tmp/nix/store'
However, unlike copy-from-other-stores, this also allows write access
to such a store. One application might be fetching substitutes for
/nix/store in a situation where the user doesn't have sufficient
privileges to create /nix, e.g.:
$ NIX_REMOTE="local?state=/home/alice/nix/var&real=/home/alice/nix/store" nix-build ...
2016-06-02 16:02:48 +02:00
Eelco Dolstra
697e0b3a6f
Remove nix-log2xml
2016-04-25 19:18:45 +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
Eelco Dolstra
cd2196b089
Start of new Nix command-line interface
2016-02-09 21:28:29 +01:00
Linquize
4579a44617
Add exe, dll to .gitignore
2014-12-15 23:34:13 +08:00
Eelco Dolstra
8be9990cdb
Install some pkgconfig files
2014-09-18 12:00:40 +02:00
Eelco Dolstra
7a740c9288
Drop separate release notes
2014-09-16 14:52:44 +02:00
Eelco Dolstra
20668b1363
Install an Upstart service
2014-05-02 13:14:10 +02:00
Eelco Dolstra
b0a09a6f32
Add docbook icons to the distribution
...
Grmbl...
2014-04-09 14:52:43 +02:00
Eelco Dolstra
84d6936371
Install systemd units
2014-04-07 11:50:55 +02:00
Eelco Dolstra
d435e46daa
Generate release notes again
2014-03-12 14:24:29 +01:00
Shea Levy
70a558e202
Update ignores
2014-02-18 17:31:30 +01:00
Eelco Dolstra
0202ce6b94
Add support for ‘make installcheck’
2013-11-25 18:47:03 +01:00
Eelco Dolstra
7ce0e05ad8
Rename Makefile.new -> Makefile
2013-11-25 15:25:13 +00:00
Eelco Dolstra
b225ccb654
Add config.guess, config.sub and install-sh
...
Autoreconf doesn't install these if you're not using Automake.
2013-11-25 11:26:02 +00:00
Eelco Dolstra
bc96c4518e
Automatically emit make rules for header files
2013-11-22 15:11:54 +00:00
Eelco Dolstra
b8e9efc476
New non-recursive, plain Make-based build system
2013-11-22 15:54:18 +01:00
Eelco Dolstra
a478e8a7bb
Remove nix-setuid-helper
...
AFAIK, nobody uses it, it's not maintained, and it has no tests.
2013-11-14 11:57:37 +01:00
Eelco Dolstra
e35d6f78dc
Rename nix-worker to nix-daemon
2012-10-03 17:59:23 -04:00
Eelco Dolstra
7586095504
Remove bin2c
2012-10-03 16:59:28 -04:00
Eelco Dolstra
a562d544d8
When ‘--help’ is given, just run ‘man’ to show the manual page
...
I.e. do what git does. I'm too lazy to keep the builtin help text up
to date :-)
Also add ‘--help’ to various commands that lacked it
(e.g. nix-collect-garbage).
2012-10-03 16:40:09 -04:00
Eelco Dolstra
dbce685e91
Add some .gitignore entries
2012-07-26 17:10:28 -04:00
Eelco Dolstra
8c79100839
Merge branch 'master' into no-manifests
2012-07-26 15:14:33 -04:00
Eelco Dolstra
b7fd2c2822
Use "#pragma once" to prevent repeated header file inclusion
2012-07-18 14:59:03 -04:00
Eelco Dolstra
37f7098464
First attempt at the manifest-less substituter
2012-06-29 18:28:52 -04:00
Eelco Dolstra
b006a31d52
Drop the externals directory
...
Nix now requires SQLite and bzip2 to be pre-installed. SQLite is
detected using pkg-config. We required DBD::SQLite anyway, so
depending on SQLite is not a big problem.
The --with-bzip2, --with-openssl and --with-sqlite flags are gone.
2012-03-18 23:54:57 +01:00
Eelco Dolstra
ec2827f5fc
Update .gitignore
2012-02-08 19:25:43 +01:00
Shea Levy
bffe35aced
Update gitignore
2011-09-19 04:36:49 +00:00
Ludovic Courtès
d0bf4adb1f
Add `.gitignore'.
2010-02-10 15:55:46 +00:00