Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-13 | Support SRI hashes | Eelco Dolstra | |
SRI hashes (https://www.w3.org/TR/SRI/) combine the hash algorithm and a base-64 hash. This allows more concise and standard hash specifications. For example, instead of import <nix/fetchurl.nl> { url = https://nixos.org/releases/nix/nix-2.1.3/nix-2.1.3.tar.xz; sha256 = "5d22dad058d5c800d65a115f919da22938c50dd6ba98c5e3a183172d149840a4"; }; you can write import <nix/fetchurl.nl> { url = https://nixos.org/releases/nix/nix-2.1.3/nix-2.1.3.tar.xz; hash = "sha256-XSLa0FjVyADWWhFfkZ2iKTjFDda6mMXjoYMXLRSYQKQ="; }; In fixed-output derivations, the outputHashAlgo is no longer mandatory if outputHash specifies the hash (either as an SRI or in the old "<type>:<hash>" format). 'nix hash-{file,path}' now print hashes in SRI format by default. I also reverted them to use SHA-256 by default because that's what we're using most of the time in Nixpkgs. Suggested by @zimbatm. | |||
2018-03-20 | Make <nix/buildenv.nix> a builtin builder | Eelco Dolstra | |
This avoids sandbox annoyances. | |||
2018-01-16 | <nix/fetchurl.nix>: Don't access builtins.currentSystem | Eelco Dolstra | |
This doesn't work in pure evaluation mode. | |||
2017-07-04 | <nix/fetchurl.nix>: Support sha512 argument | Eelco Dolstra | |
2017-03-31 | Merge branch 'remove-perl' of https://github.com/shlevy/nix | Eelco Dolstra | |
2017-02-27 | unpack-channel.nix: fix 'mv' corner case | Bjørn Forsman | |
unpack-channel.nix fails if the tarball contains a directory named the same as the channel: mv: cannot move 'nixpkgs' to a subdirectory of itself, '.../nixpkgs' This commit fixes that by not moving the directory if it already has the correct name. | |||
2017-02-16 | <nix/fetchurl.nix>: Remove unnecessary assertion | Eelco Dolstra | |
2017-02-07 | Add nix-perl package for the perl bindings | Shea Levy | |
2016-11-26 | Revert "Get rid of unicode quotes (#1140)" | Eelco Dolstra | |
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change... | |||
2016-11-25 | Get rid of unicode quotes (#1140) | Guillaume Maudoux | |
2016-09-22 | <nix/fetchurl.nix>: Support nix-prefetch-url | Eelco Dolstra | |
2016-08-11 | Remove nar.nix | Eelco Dolstra | |
This was only used by nix-push. | |||
2016-08-11 | Drop an unnecessary use of <nix/config.nix> | Eelco Dolstra | |
2016-08-11 | buildenv: perl -> c++ | Shea Levy | |
2016-01-18 | <nix/buildenv.nix>: Don't substitute | Eelco Dolstra | |
This should get rid of a certificate warning from "nix-env -i" early in the install script. | |||
2016-01-06 | Typo | Eelco Dolstra | |
2015-11-14 | update sandbox profiles within nix | Jude Taylor | |
2015-11-08 | Only require libsystem on darwin | Shea Levy | |
Fixes #688 | |||
2015-10-30 | <nix/fetchurl.nix>: Support downloading and unpacking NARs | Eelco Dolstra | |
This removes the need to have multiple downloads in the stdenv bootstrap process (like a separate busybox binary for Linux, or curl/mkdir/sh/bzip2 for Darwin). Now all those files can be combined into a single NAR. | |||
2015-10-21 | now that resolve-system-dependencies exists, remove redundant impureHostDeps ↵ | Jude Taylor | |
from buildenv | |||
2015-10-21 | give buildenv __impureHostDeps | Jude Taylor | |
2015-07-23 | Fix fetchurl of executable file | Eelco Dolstra | |
Pointed out by @cstrahan, thanks! | |||
2015-07-23 | Importing derivations: Add name attribute to make a valid drv | Shea Levy | |
2015-07-20 | Make <nix/fetchurl.nix> a builtin builder | Eelco Dolstra | |
This ensures that 1) the derivation doesn't change when Nix changes; 2) the derivation closure doesn't contain Nix and its dependencies; 3) we don't have to rely on ugly chroot hacks. | |||
2015-03-24 | Don't rely on __noChroot for corepkgs | Eelco Dolstra | |
This doesn't work anymore if the "strict" chroot mode is enabled. Instead, add Nix's store path as a dependency. This ensures that its closure is present in the chroot. | |||
2014-08-20 | Use proper quotes everywhere | Eelco Dolstra | |
2014-07-16 | Pass *_proxy vars to bootstrap fetchurl | Shea Levy | |
2014-04-04 | derivation: Don't require certain function arguments | Eelco Dolstra | |
Turns out that in Nixpkgs, derivation is actually called without a ‘name’ argument in some places :-( | |||
2014-04-04 | Pass position information to primop calls | Eelco Dolstra | |
For example: error: `tail' called on an empty list, at /home/eelco/Dev/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:13:7 | |||
2014-02-01 | Remove Automakefiles | Eelco Dolstra | |
2014-02-01 | Update Makefile variable names | Eelco Dolstra | |
2014-01-30 | Rename Makefile -> local.mk | Eelco Dolstra | |
2013-11-25 | Add support for ‘make installcheck’ | Eelco Dolstra | |
2013-11-25 | Rename Makefile.new -> Makefile | Eelco Dolstra | |
2013-11-25 | Add a Makefile for the scripts directory | Eelco Dolstra | |
2013-11-25 | Add a function for instantiating Autoconf *.in files | Eelco Dolstra | |
2013-11-25 | Add a generic rule for installing files | Eelco Dolstra | |
2013-09-02 | Lower xz compression level | Eelco Dolstra | |
Fixes #84. | |||
2013-08-26 | Fix typos, especially those that end up in the Nix manual | Ivan Kozik | |
2013-08-14 | corepkgs/nar.nix: Prefer local builds | Shea Levy | |
nar.nix's builder depends on coreutils and nix itself being in $PATH. Unfortunately, there's no good way to ensure that these packages exist in the same place on the remote machine: The local machine may have nix installed in /usr, and the remote machine in /usr/local, but the generated nar.sh builder will refer to /usr and thus fail on the remote machine. This ensures that nar.sh is run on the same machine that instantiates it. Signed-off-by: Shea Levy <shea@shealevy.com> | |||
2013-07-23 | buildenv: remove special treatment of python files | Florian Friesdorf | |
buildPythonPackage does not leave easy_install.pth and site.py anymore. A python package that leaves these files is broken. An exception to this is setuptoolsSite which packages setuptools' site.py. To include it into a buildenv, this patch is even needed, not just cosmetic. | |||
2013-07-12 | Fix syntax error in unpack-channel | Eelco Dolstra | |
2013-07-12 | Add gzip support for channel unpacking | Gergely Risko | |
2013-07-01 | Add support for uncompressed NARs in binary caches | Eelco Dolstra | |
Issue NixOS/hydra#102. | |||
2013-03-08 | Revert "Prevent config.h from being clobbered" | Eelco Dolstra | |
This reverts commit 28bba8c44f484eae38e8a15dcec73cfa999156f6. | |||
2013-03-07 | Prevent config.h from being clobbered | Eelco Dolstra | |
2013-01-21 | corepkgs/fetchurl: Enable making the downloaded file executable | Shea Levy | |
2012-12-05 | Support xz compression of nixexprs.tar in channels | Eelco Dolstra | |
2012-12-04 | buildenv.pl: Create symlinks in priority order | Eelco Dolstra | |
This reduces unnecessary symlink/unlink steps. | |||
2012-12-04 | Add a test for ‘nix-env --set-flag active ...’ | Eelco Dolstra | |