aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-03Fix the parsing of "$"'s in strings.Guillaume Maudoux
2015-07-03Fix the hack that resets the scanner state.Guillaume Maudoux
2015-07-02TypoEelco Dolstra
2015-07-01Preserve supplementary groups of build usersLudovic Courtès
The following patch is an attempt to address this bug (see <http://bugs.gnu.org/18994>) by preserving the supplementary groups of build users in the build environment. In practice, I would expect that supplementary groups would contain only one or two groups: the build users group, and possibly the “kvm” group. [Changed &at(0) to data() and removed tabs - Eelco]
2015-07-01Revert "add the manpath to the installer"Eelco Dolstra
This reverts commit 76f985b92d95fef967c1f3193d05244ced15420b. We shouldn't mess with $MANPATH, because on some "man" implementations (like NixOS'), the default value on $MANPATH is derived from $PATH. So if you set $MANPATH, you lose the default locations.
2015-06-30GC: Handle ENOSPC creating/moving to the trash directoryEelco Dolstra
Issue #564.
2015-06-22Use posix_fallocate to create /nix/var/nix/db/reservedEelco Dolstra
2015-06-22Make /nix/var/nix/db/reserved biggerEelco Dolstra
Issue #564.
2015-06-17Support URLs in $NIX_PATHEelco Dolstra
This didn't work (despite claims in the manual), because the colon in "http://" was parsed as a element separator. So handle "://" specially.
2015-06-17Debian package: Declare runtime dependency on libsodium13Eelco Dolstra
Fixes #558.
2015-06-15BumpEelco Dolstra
2015-06-12TyposEelco Dolstra
2015-06-12nix-channel: Fix bogus error message caused by ↵Eelco Dolstra
8a84bd8c8bda1e4c6764c10ecdef9d74e4884800
2015-06-12Update release notesEelco Dolstra
2015-06-10Export outputPaths functionEelco Dolstra
This is useful for the new hydra-queue-runner.
2015-06-09Install serve-protocol.hhEelco Dolstra
2015-06-09Use std::vector::data()Eelco Dolstra
2015-06-08nix-push: Support -jEelco Dolstra
Fixes #548.
2015-06-08Update cacert locationsEelco Dolstra
2015-06-08Fix manualEelco Dolstra
2015-06-04Allow substitutes for builds that have preferLocalBuild setEelco Dolstra
Not substituting builds with "preferLocalBuild = true" was a bad idea, because it didn't take the cost of dependencies into account. For instance, if we can't substitute a fetchgit call, then we have to download/build git and all its dependencies. Partially reverts 5558652709f27e8a887580b77b93c705659d7a4b and adds a new derivation attribute "allowSubstitutes" to specify whether a derivation may be substituted.
2015-06-04copy-from-other-stores: Use cpEelco Dolstra
2015-06-04Chown files created for passAsFileEelco Dolstra
Nixpkgs' writeTextAsFile does this: mv "$textPath" "$n" Since $textPath was owned by root, if $textPath is on the same filesystem as $n, $n will be owned as root. As a result, the build result was rejected as having suspicious ownership. http://hydra.nixos.org/build/22836807
2015-06-03Handle base-16 NarHash fields in signed .narinfo filesEelco Dolstra
2015-06-03Be more robust wrt broken .narinfo filesEelco Dolstra
2015-06-03NamingEelco Dolstra
2015-06-02Fix tarball testEelco Dolstra
The tarball cache is stored in $HOME, so the test should set up its own $HOME.
2015-06-02Build against libsodium on Ubuntu 15.04 and Debian 8Eelco Dolstra
2015-06-02Don't let unprivileged users repair pathsEelco Dolstra
2015-06-02Use StoreAPI::verifyStore()Eelco Dolstra
2015-06-02Add a ‘verifyStore’ RPCLudovic Courtès
Hello! The patch below adds a ‘verifyStore’ RPC with the same signature as the current LocalStore::verifyStore method. Thanks, Ludo’. >From aef46c03ca77eb6344f4892672eb6d9d06432041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org> Date: Mon, 1 Jun 2015 23:17:10 +0200 Subject: [PATCH] Add a 'verifyStore' remote procedure call.
2015-06-01Document setting up signed binary cachesEelco Dolstra
2015-06-01Include the cache.nixos.org signing key by defaultEelco Dolstra
2015-06-01Add tarball testsEelco Dolstra
2015-06-01Document tarball downloadingEelco Dolstra
2015-06-01Fix fetchurl/fetchTarballEelco Dolstra
2015-06-01readFile: Check against nul bytesEelco Dolstra
2015-06-01Document nix-shell #!-scriptsEelco Dolstra
2015-06-01nix-shell: Support multiple "#! nix-shell" linesEelco Dolstra
2015-06-01TypoEelco Dolstra
2015-06-01Nix 1.9 release notesEelco Dolstra
2015-05-29Add Debian 8.0 buildsBenjamin Staffin
Change-Id: I68a54a0c3f97da2d062f43b638de817fd40f2dcd
2015-05-22Build on Ubuntu 15.04Eelco Dolstra
2015-05-22Fix import-from-derivation in restricted eval modeEelco Dolstra
This relaxes restricted mode to allow access to anything in the store. In the future, it would be better to allow access to only paths that have been constructed in the current evaluation (so a hard-coded /nix/store/blabla in a Nix expression would still be rejected). However, note that reading /nix/store itself is still rejected, so you can't use this so get access to things you don't know about.
2015-05-22Remove dead codeEelco Dolstra
2015-05-21nix-shell: Barf if -p and -E are both usedEelco Dolstra
Closes #454, #455.
2015-05-21nix-collect-garbage: Don't call nix-envEelco Dolstra
Also, make sure --delete-older-than doesn't delete the current generation.
2015-05-21Move profiles.{cc,hh} to libstoreEelco Dolstra
2015-05-21nix-collect-garbage: Call collectGarbage() internallyEelco Dolstra
2015-05-21nix-collect-garbage: Don't barf on unreadable directoriesEelco Dolstra
And don't try to delete generations from unwritable directories.