- May 11, 2017
-
-
Frederik Rietdijk authored
Note that I refer to `nix-prefetch-url`.
-
- May 10, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses.
-
Domen Kožar authored
-
- May 08, 2017
-
-
Eelco Dolstra authored
This is a little convenience command that opens the Nix expression of the specified package. For example, nix edit nixpkgs.perlPackages.Moose opens <nixpkgs/pkgs/top-level/perl-packages.nix> in $EDITOR (at the right line number for some editors). This requires the package to have a meta.position attribute.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- May 05, 2017
-
-
Eelco Dolstra authored
This is mostly for use in the sandbox tests, since if the Nix store is under /build, then we can't use /build as the build directory.
-
Eelco Dolstra authored
-
- May 04, 2017
-
-
Eelco Dolstra authored
There is a security issue when a build accidentally stores its $TMPDIR in some critical place, such as an RPATH. If TMPDIR=/tmp/nix-build-..., then any user on the system can recreate that directory and inject libraries into the RPATH of programs executed by other users. Since /build probably doesn't exist (or isn't world-writable), this mitigates the issue.
-
Eelco Dolstra authored
This is primarily useful for extracting NARs from other stores (like binary caches), which "nix-store --dump" cannot do.
-
- May 03, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Similar to "jq -r", this prints the evaluation result (which must be a string value) unquoted.
-
Eelco Dolstra authored
fix the description of --xml and --json
-
regnat authored
Those options seem to only apply with --eval and not with --parse.
- May 02, 2017
-
-
Eelco Dolstra authored
This only runs on Linux because it requires a diverted store (which uses mount/user namespaces).
-
Eelco Dolstra authored
When "--all" is used, we should not fill in a default installable.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Also, to unify with hydra-queue-runner, allow it to be a list of files.
-
Eelco Dolstra authored
Opening an SSHStore or LegacySSHStore does not actually establish a connection, so the try/catch block here did nothing. Added a Store::connect() method to test whether a connection can be established.
-
Eelco Dolstra authored
This is useful for one-off situations where you want to specify a builder on the command line instead of having to mess with nix.machines. E.g. $ nix-build -A hello --argstr system x86_64-darwin \ --option builders 'root@macstadium1 x86_64-darwin' will perform the specified build on "macstadium1". It also removes the need for a separate nix.machines file since you can specify builders in nix.conf directly. (In fact nix.machines is yet another hack that predates the general nix.conf configuration file, IIRC.) Note: this option is supported by the daemon for trusted users. The fact that this allows trusted users to specify paths to SSH keys to which they don't normally have access is maybe a bit too much trust...
-
Eelco Dolstra authored
This allows hydra-queue-runner to use it.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
The build hook mechanism expects build log output to go to file descriptor 4, so do that.
-
- May 01, 2017
-
-
Eelco Dolstra authored
This restores the old behaviour.
-
Eelco Dolstra authored
For backwards compatibility, if the URI is just a hostname, ssh:// (i.e. LegacySSHStore) is prepended automatically. Also, all fields except the URI are now optional. For example, this is a valid nix.machines file: local?root=/tmp/nix This is useful for testing the remote build machinery since you don't have to mess around with ssh.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This makes LegacySSHStore usable by build-remote and hydra-queue-runner.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This is to simplify remote build configuration. These environment variables predate nix.conf. The build hook now has a sensible default (namely build-remote). The current load is kept in the Nix state directory now.
-
Eelco Dolstra authored
Since build-remote uses buildDerivation() now, we don't need to copy the .drv file anymore. This greatly reduces the set of input paths copied to the remote side (e.g. from 392 to 51 store paths for GNU hello on x86_64-darwin).
-
Eelco Dolstra authored
-