Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-30 | * Add an option ‘build-use-substitutes’, which can be set to ‘false’ | Eelco Dolstra | 6 | -4/+23 | |
to disable use of substitutes; i.e., force building from source. Fixes Nix/221. | |||||
2012-04-30 | Support mandatory system features in the build hook | Eelco Dolstra | 2 | -7/+22 | |
Mandatory features are features that MUST be present in a derivation's requiredSystemFeatures attribute. One application is performance testing, where we have a dedicated machine to run performance tests (and nothing else). Then we would add the label "perf" to the machine's mandatory features and to the performance testing derivations. | |||||
2012-04-30 | Update the documentation of build-remote.pl | Eelco Dolstra | 3 | -96/+62 | |
2012-04-30 | Handle EPERM when creating a hard link for the chroot | Eelco Dolstra | 1 | -2/+5 | |
There is a race condition when doing parallel builds with chroots and the immutable bit enabled. One process may call makeImmutable() before the other has called link(), in which case link() will fail with EPERM. We could retry or wrap the operation in a lock, but since this condition is rare and I'm lazy, we just use the existing copy fallback. Fixes #9. | |||||
2012-04-26 | Don't use the build hook for unpacking channels | Eelco Dolstra | 1 | -0/+2 | |
2012-04-24 | Fix a warning in the build hook about $progressViewer | Eelco Dolstra | 1 | -1/+1 | |
2012-04-23 | Merge pull request #2 from viric/master | Eelco Dolstra | 1 | -0/+6 | |
Again, adding the sync option | |||||
2012-04-18 | Fix URL set by nix-channel | Eelco Dolstra | 1 | -1/+1 | |
2012-04-17 | nix-instantiate: default to "default.nix" if no arguments are given | Eelco Dolstra | 2 | -3/+5 | |
2012-04-17 | Added utility command ‘nix-instantiate --find-file’ to look up a file in ↵ | Eelco Dolstra | 2 | -0/+26 | |
Nix's search path | |||||
2012-04-16 | Hack to prevent accumulation of old manifests | Eelco Dolstra | 2 | -1/+3 | |
2012-04-16 | Fix obscure race condition in GC root creation | Eelco Dolstra | 1 | -16/+18 | |
This should fix rare Hydra errors of the form: error: symlinking `/nix/var/nix/gcroots/per-user/hydra/hydra-roots/7sfhs5fdmjxm8sqgcpd0pgcsmz1kq0l0-nixos-iso-0.1pre33785-33795' to `/nix/store/7sfhs5fdmjxm8sqgcpd0pgcsmz1kq0l0-nixos-iso-0.1pre33785-33795': File exists | |||||
2012-04-15 | Set a few more close-on-exec flags | Eelco Dolstra | 1 | -0/+4 | |
2012-04-15 | Close almost all file descriptors in the builder | Eelco Dolstra | 1 | -0/+3 | |
This regression was accidentally introduced in 35355fc1fcffbe859395e360c0a6a1463f137d63. | |||||
2012-04-14 | If the (redirected) channel URL contains a version number, use it | Eelco Dolstra | 3 | -4/+10 | |
2012-04-14 | Follow redirects early to ensure consistency between the manifest and the ↵ | Eelco Dolstra | 1 | -0/+8 | |
tarball Without this change, if the URL is a redirect that changes in between, we can get a manifest that doesn't match the tarball. | |||||
2012-04-14 | Urgh, modified the wrong file... | Eelco Dolstra | 1 | -1/+1 | |
2012-04-14 | Remove unnecessary "system" argument | Eelco Dolstra | 4 | -6/+6 | |
2012-04-14 | nix-channel improvements | Eelco Dolstra | 6 | -120/+104 | |
"nix-channel --add" now accepts a second argument: the channel name. This allows channels to have a nicer name than (say) nixpkgs_unstable. If no name is given, it defaults to the last component of the URL (with "-unstable" or "-stable" removed). Also, channels are now stored in a profile (/nix/var/nix/profiles/per-user/$USER/channels). One advantage of this is that it allows rollbacks (e.g. if "nix-channel --update" gives an undesirable update). | |||||
2012-04-13 | If "pv" is available at compile time, hard-code its path | Eelco Dolstra | 3 | -1/+3 | |
2012-04-13 | nix-copy-closure: Move the progressViewer directly adjacent to the ssh call ↵ | Shea Levy | 2 | -2/+2 | |
so that network progress is what's measured | |||||
2012-04-13 | Add the '--show-progress' flag to nix-copy-closure | Shea Levy | 3 | -5/+20 | |
2012-04-13 | Use Bison 2.5 | Eelco Dolstra | 2 | -1/+3 | |
2012-04-10 | Unconfuse Rob | Eelco Dolstra | 1 | -2/+2 | |
2012-04-10 | Handle the case where $SHELL is not set | Eelco Dolstra | 1 | -1/+2 | |
2012-04-09 | Merge pull request #5 from shlevy/doc-fix | Rob Vermaas | 1 | -4/+4 | |
Nix is on github now | |||||
2012-04-08 | Nix is on github now | Shea Levy | 1 | -4/+4 | |
2012-04-06 | Fix building from the tarball | Eelco Dolstra | 1 | -1/+1 | |
2012-04-06 | Documentation fix | Eelco Dolstra | 1 | -5/+3 | |
2012-04-06 | Include environment variables in the manpages | Eelco Dolstra | 5 | -2/+37 | |
2012-04-06 | Include common options in the manpages using some XInclude hackery | Eelco Dolstra | 6 | -25/+54 | |
2012-04-06 | Update affiliation | Eelco Dolstra | 1 | -2/+1 | |
2012-04-06 | Add a missing DocBook source file to the tarball | Eelco Dolstra | 1 | -1/+1 | |
Reported on IRC by Adrian Siekierka. | |||||
2012-04-05 | On Linux, pretend we're building on Linux 2.6 | Eelco Dolstra | 1 | -0/+11 | |
Setting the UNAME26 personality causes "uname" to return "2.6.x", regardless of the kernel version. This improves determinism in a few misbehaved packages. | |||||
2012-04-04 | nix-generate-patches: Optionally write new patches to $NIX_ALL_PATCHES | Hydra mirror | 1 | -0/+10 | |
2012-04-04 | Include --keep-going in --help | Eelco Dolstra | 2 | -0/+4 | |
2012-04-04 | Follow redirects when checking for the existence of MANIFEST.bz2 | Eelco Dolstra | 1 | -1/+1 | |
If we don't follow redirects, we might think that MANIFEST.bz2 exists just because the HEAD request succeeds on the redirector URI. | |||||
2012-03-27 | Update "nix-build --help" | Eelco Dolstra | 1 | -1/+6 | |
2012-03-27 | Add an option "--exclude" to filter dependencies in "nix-build --run-env" | Eelco Dolstra | 1 | -1/+9 | |
Sometimes when doing "nix-build --run-env" you don't want all dependencies to be built. For instance, if we want to do "--run-env" on the "build" attribute in Hydra's release.nix (to get Hydra's build environment), we don't want its "tarball" dependency to be built. So we can do: $ nix-build --run-env release.nix -A build --exclude 'hydra-tarball' This will skip the dependency whose name matches the "hydra-tarball" regular expression. The "--exclude" option can be repeated any number of times. | |||||
2012-03-27 | Allow the command executed by "nix-build --run-env" to be overriden with ↵ | Eelco Dolstra | 1 | -1/+9 | |
--command | |||||
2012-03-26 | Mac OS X fix | Eelco Dolstra | 1 | -0/+3 | |
2012-03-26 | Delete non-directory valid paths right away | Eelco Dolstra | 1 | -16/+27 | |
It's unlikely that rename() is faster than unlink() on a regular file or symlink, so don't bother. | |||||
2012-03-26 | Make the garbage collector more concurrent | Eelco Dolstra | 3 | -21/+48 | |
Make the garbage collector more concurrent by deleting valid paths outside the region where we're holding the global GC lock. This should greatly reduce the time during which new builds are blocked, since the deletion accounts for the vast majority of the time spent in the GC. To ensure that this is safe, the valid paths are invalidated and renamed to some arbitrary path while we're holding the lock. This ensures that we when we finally delete the path, it's not a (newly) valid or locked path. | |||||
2012-03-26 | Remove the --max-links GC option | Eelco Dolstra | 7 | -30/+3 | |
We don't need this anymore now that current filesystems support more than 32,000 files in a directory. | |||||
2012-03-22 | Fixing the default of sync-before-registering | Lluís Batlle i Rossell | 1 | -1/+5 | |
Setting 'false' as default, as suggested by Eelco. I also added a comment about the setting in the code. | |||||
2012-03-22 | Adding a nix option to sync before registering a path, for non-ext* | Lluís Batlle i Rossell | 1 | -0/+2 | |
filesystems. | |||||
2012-03-20 | nix-store --clear-failed-paths: Clear derivation outputs | Eelco Dolstra | 1 | -1/+3 | |
If the argument to ‘nix-store --clear-failed-paths’ is a derivation, then clear the failed state of its outputs. | |||||
2012-03-19 | Fix the coverage build | Eelco Dolstra | 1 | -0/+2 | |
2012-03-19 | Fix the Deb builds | Eelco Dolstra | 1 | -2/+2 | |
2012-03-19 | Fix the RPM | Eelco Dolstra | 2 | -2/+7 | |