Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-26 | Merge pull request #668 from svanderburg/master | Eelco Dolstra | 1 | -0/+1 | |
Fix compilation error due to missing ENOENT on cygwin | |||||
2015-10-21 | use nixDataDir instead of appending /share to PREFIX | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | revert libutil change | Jude Taylor | 1 | -5/+4 | |
2015-10-21 | clarifying comment | Jude Taylor | 1 | -1/+5 | |
2015-10-21 | move preBuildHook defaulting to globals.cc | Jude Taylor | 2 | -7/+5 | |
2015-10-21 | restore old DEFAULT_ALLOWED_IMPURE_PREFIXES | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | Add resolve-system-dependencies.pl | Jude Taylor | 2 | -1/+8 | |
2015-10-21 | remove usr paths from allowed inputs | Jude Taylor | 1 | -2/+0 | |
2015-10-21 | allow access to SystemVersion for python builders | Jude Taylor | 1 | -0/+1 | |
2015-10-21 | fix line reading in preBuildHook | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | remove sandbox defaults into a new file | Jude Taylor | 3 | -65/+62 | |
2015-10-21 | restore allowed impure prefixes | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | remove an unneeded default impure-dep | Jude Taylor | 1 | -1/+0 | |
2015-10-21 | make sandbox builds more permissive | Jude Taylor | 2 | -6/+7 | |
2015-10-21 | add a few more permissions | Jude Taylor | 1 | -3/+45 | |
2015-10-21 | Allow builtin fetchurl regardless of the derivation's system attribute | Eelco Dolstra | 1 | -12/+13 | |
2015-10-21 | Show progress indicator for builtin fetchurl | Eelco Dolstra | 3 | -4/+7 | |
2015-10-21 | Disable TLS verification for builtin fetchurl | Eelco Dolstra | 4 | -12/+32 | |
This makes it consistent with the Nixpkgs fetchurl and makes it work in chroots. We don't need verification because the hash of the result is checked anyway. | |||||
2015-10-21 | Fix segfault in builtin fetchurl | Eelco Dolstra | 1 | -3/+7 | |
The stack allocated for the builder was way too small (32 KB). This is sufficient for normal derivations, because they just do some setup and then exec() the actual builder. But for the fetchurl builtin derivation it's not enough. Also, allocating the stack on the caller's stack was fishy business. | |||||
2015-10-18 | Fix compilation error due to missing ENOENT on cygwin | Sander van der Burg | 1 | -0/+1 | |
2015-10-08 | Allow building ARMv6 stuff on ARMv7 | Tuomas Tynkkynen | 1 | -0/+1 | |
This allows building a Raspberry Pi image on modern, faster boards. | |||||
2015-10-08 | isFunctor: Simplify | Eelco Dolstra | 2 | -11/+6 | |
2015-10-08 | forceFunction: allow functors as well | Mathnerd314 | 3 | -1/+13 | |
2015-10-08 | Revert to CURLOPT_PROGRESSFUNCTION | Eelco Dolstra | 1 | -5/+5 | |
CURLOPT_XFERINFOFUNCTION isn't widely supported yet. http://hydra.nixos.org/build/26679495 | |||||
2015-10-07 | Show progress during downloads | Eelco Dolstra | 2 | -8/+47 | |
2015-10-07 | nix-prefetch-url: Add --name option | Eelco Dolstra | 1 | -3/+7 | |
This allows overriding the name component of the resulting Nix store path, which is necessary if the base name of the URI contains "illegal" characters. | |||||
2015-10-07 | nix-prefetch-url -A: Use "name" attribute from Nix expression | Eelco Dolstra | 1 | -1/+8 | |
This is in particular useful for fetchFromGitHub et al., ensuring that the store path produced by nix-prefetch-url corresponds to what those functions expect. | |||||
2015-10-07 | nix-prefetch-url: Support unpacking tarballs | Eelco Dolstra | 1 | -15/+47 | |
This allows nix-prefetch-url to prefetch the output of fetchzip and its wrappers (like fetchFromGitHub). For example: $ nix-prefetch-url --unpack https://github.com/NixOS/patchelf/archive/0.8.tar.gz or from a Nix expression: $ nix-prefetch-url -A nix-repl.src In the latter case, --unpack can be omitted because nix-repl.src is a fetchFromGitHub derivation and thus has "outputHashMode" set to "recursive". | |||||
2015-10-06 | nix-store --serve: Implement log size limit | Eelco Dolstra | 4 | -4/+8 | |
2015-10-01 | nix-prefetch-url: Support prefetching from a Nix expression | Eelco Dolstra | 1 | -4/+36 | |
For example, $ nix-prefetch-url -A hello.src will prefetch the file specified by the fetchurl call in the attribute ‘hello.src’ from the Nix expression in the current directory. This differs from ‘nix-build -A hello.src’ in that it doesn't verify the hash. You can also specify a path to the Nix expression: $ nix-prefetch-url ~/Dev/nixpkgs -A hello.src List elements (typically used in ‘patches’ attributes) also work: $ nix-prefetch-url -A portmidi.patches.0 | |||||
2015-10-01 | nix-prefetch-url: $PRINT_PATH -> --print-path | Eelco Dolstra | 1 | -2/+6 | |
2015-10-01 | nix-prefetch-url: Rewrite in C++ | Eelco Dolstra | 3 | -0/+140 | |
2015-09-18 | Shut up clang warnings | Eelco Dolstra | 7 | -65/+67 | |
2015-09-17 | nix-env --upgrade: show "downgrading" when doing so | Vladimír Čunát | 1 | -2/+4 | |
It was strange to show "upgrading" when the version was getting lower. This is left on "upgrading" when the versions are the same, as I can't see any better wording. | |||||
2015-09-17 | nix-env --upgrade: avoid unexpected downgrades | Vladimír Čunát | 1 | -6/+8 | |
Until now, if one explicitly installed a low-priority version, nix-env --upgrade would downgrade it by default and even with --leq. Let's never accept an upgrade with version not matching the upgradeType. Additionally, let's never decrease the priority of an installed package; you can use --install to force that. Also refactor to use variable bestVersion instead of bestName, as only version was used from it. | |||||
2015-09-03 | Implement buildDerivation() via the daemon | Eelco Dolstra | 5 | -2/+34 | |
2015-09-02 | Filter build-chroot-dirs entries that conflict with derivation outputs | Eelco Dolstra | 1 | -4/+4 | |
Fixes https://github.com/NixOS/nixpkgs/issues/9504. Note that this means we may have a non-functional /bin/sh in the chroot while rebuilding Bash or one of its dependencies. Ideally those packages don't rely on /bin/sh though. | |||||
2015-09-02 | Remove unused variable | Eelco Dolstra | 1 | -5/+0 | |
2015-08-24 | Prevent .chroot from being GC'ed when using LocalStore::buildDerivation() | Eelco Dolstra | 1 | -0/+4 | |
Fixes #616. | |||||
2015-08-21 | nix-collect-garbage: Revive --max-freed | Eelco Dolstra | 3 | -18/+11 | |
Fixes #609. | |||||
2015-08-19 | Remove unneeded HAVE_UNSHARE. | Manolis Ragkousis | 1 | -1/+1 | |
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE. | |||||
2015-08-07 | baseNameOf: Enhance `basename` compatibility | Kirill Elagin | 1 | -3/+12 | |
* If the path ends with a slash, drop it. * If the remaining path doesn’t contain slashes, just return it. Fixes #574. | |||||
2015-08-04 | Don't include <iostream> before config.h | Eelco Dolstra | 1 | -2/+2 | |
This breaks the build on 32-bit systems. http://hydra.nixos.org/build/24373658 | |||||
2015-08-03 | Handle debug messages from runChild() | Eelco Dolstra | 1 | -10/+16 | |
Turns out that "nix-build -vvv" with chroots enabled has been broken for some time, because some debug message got interpreted as an error. | |||||
2015-08-03 | Removed unnecessary included | Iwan Aucamp | 1 | -1/+0 | |
2015-07-31 | Fix stack consumption | Eelco Dolstra | 2 | -8/+3 | |
2015-07-31 | Output line number on infinite recursion | Iwan Aucamp | 3 | -13/+14 | |
2015-07-28 | Add sort primop | Eelco Dolstra | 1 | -1/+36 | |
2015-07-28 | Add primop genList | Eelco Dolstra | 1 | -0/+20 | |
This can be used to implement functions like ‘imap’ (or for that matter, ‘map’) without the quadratic complexity incurred by calling ‘++’ repeatedly. | |||||
2015-07-26 | Remove unnecessary parentheses | Eelco Dolstra | 1 | -2/+2 | |