about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-21 add a few more permissionsJude Taylor1-3/+45
2015-10-21 Allow builtin fetchurl regardless of the derivation's system attributeEelco Dolstra1-12/+13
2015-10-21 Show progress indicator for builtin fetchurlEelco Dolstra3-4/+7
2015-10-21 Disable TLS verification for builtin fetchurlEelco Dolstra4-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 fetchurlEelco Dolstra1-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-09 Provide addTempRoot in the Perl APIEelco Dolstra2-0/+11
Needed by Hydra.
2015-10-08 Allow building ARMv6 stuff on ARMv7Tuomas Tynkkynen1-0/+1
This allows building a Raspberry Pi image on modern, faster boards.
2015-10-08 isFunctor: SimplifyEelco Dolstra2-11/+6
2015-10-08 forceFunction: allow functors as wellMathnerd3143-1/+13
2015-10-08 Fix typo in doc for nix-copy-closureAnders Claesson1-1/+1
2015-10-08 Revert to CURLOPT_PROGRESSFUNCTIONEelco Dolstra1-5/+5
CURLOPT_XFERINFOFUNCTION isn't widely supported yet. http://hydra.nixos.org/build/26679495
2015-10-07 Show progress during downloadsEelco Dolstra2-8/+47
2015-10-07 nix-prefetch-url: Add --name optionEelco Dolstra2-3/+19
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 expressionEelco Dolstra1-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 tarballsEelco Dolstra2-16/+63
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 limitEelco Dolstra4-4/+8
2015-10-05 Don't mention Fedora/Debian packages in the installation sectionEelco Dolstra1-6/+16
See https://github.com/NixOS/nixos-homepage/commit/d4a88df9d6114f609da889db62ef0a3bf6e4ef27
2015-10-05 Merge pull request #645 from acowley/patch-1Eelco Dolstra1-2/+2
Update prerequisites-source.xml
2015-10-01 nix-prefetch-url: Support prefetching from a Nix expressionEelco Dolstra2-4/+37
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-pathEelco Dolstra2-12/+23
2015-10-01 nix-prefetch-url: Rewrite in C++Eelco Dolstra6-133/+141
2015-09-27 Merge pull request #654 from utdemir/more-insecure-verify-https-binary-cachesEelco Dolstra1-1/+6
Also set CURLOPT_SSL_VERIFYHOST=0 when "verify-https-binary-caches" is false
2015-09-25 Also set CURLOPT_SSL_VERIFYHOST=0 when "verify-https-binary-caches" is falseUtku Demir1-1/+6
This makes that option even more insecure, by also not checking the SSL host. But without this parameter, one can still get SSL errors even when "verify-https-binary-caches" is false, which is unexpected IMO.
2015-09-25 Merge pull request #653 from vcunat/p/pdf-fixEelco Dolstra1-1/+1
release: fix #652 - PDF build after dblatex updates
2015-09-25 release: fix #652 - PDF build after dblatex updatesVladimír Čunát1-1/+1
... while not changing behavior when used with older nixpkgs.
2015-09-18 Shut up clang warningsEelco Dolstra9-67/+72
2015-09-17 Merge pull request #646 from vcunat/masterEelco Dolstra2-10/+14
nix-env --upgrade improvements
2015-09-17 nix-env --upgrade: show "downgrading" when doing soVladimír Čunát1-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 doc: fix the 'prebuild' typosVladimír Čunát1-2/+2
2015-09-17 nix-env --upgrade: avoid unexpected downgradesVladimír Čunát1-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-15 Update prerequisites-source.xmlAnthony Cowley1-2/+2
The Perl WWW::Curl bindings are required to build Nix.
2015-09-04 Bump versionEelco Dolstra1-1/+1
2015-09-03 Implement buildDerivation() via the daemonEelco Dolstra5-2/+34
2015-09-03 Release notesEelco Dolstra2-0/+65
2015-09-02 Filter build-chroot-dirs entries that conflict with derivation outputsEelco Dolstra1-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 variableEelco Dolstra1-5/+0
2015-09-01 Fix readDir exampleEelco Dolstra1-1/+1
Fixes https://github.com/NixOS/nixos-homepage/issues/46.
2015-08-24 Prevent .chroot from being GC'ed when using LocalStore::buildDerivation()Eelco Dolstra1-0/+4
Fixes #616.
2015-08-21 nix-collect-garbage: Revive --max-freedEelco Dolstra3-18/+11
Fixes #609.
2015-08-19 Merge pull request #608 from Phant0mas/masterEelco Dolstra1-1/+1
Remove unneeded HAVE_UNSHARE.
2015-08-19 Remove unneeded HAVE_UNSHARE.Manolis Ragkousis1-1/+1
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
2015-08-07 Drop newline in error messageEelco Dolstra1-1/+1
2015-08-07 baseNameOf: Enhance `basename` compatibilityKirill Elagin1-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-05 Fix exampleEelco Dolstra1-1/+1
2015-08-04 Don't include <iostream> before config.hEelco Dolstra1-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 Dolstra1-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 includedIwan Aucamp1-1/+0
2015-07-31 Fix stack consumptionEelco Dolstra2-8/+3
2015-07-31 Output line number on infinite recursionIwan Aucamp4-13/+17
2015-07-28 Add sort primopEelco Dolstra4-1/+68