Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-11 | Move call-flake.nix into libexpr | Eelco Dolstra | |
2020-03-11 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-03-11 | Move some corepkgs into the nix binary | Eelco Dolstra | |
2020-03-10 | Fix flake subdirectory handling | Eelco Dolstra | |
2020-03-09 | Move calling flakes into a Nix helper function (call-flake.nix) | Eelco Dolstra | |
2019-12-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-26 | Remove most of <nix/config.nix> | Eelco Dolstra | |
This is no longer needed. | |||
2019-11-26 | Make <nix/unpack-channel.nix> a builtin builder | Eelco Dolstra | |
This was the last function using a shell script, so this allows us to get rid of tar, coreutils, bash etc. | |||
2019-06-25 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-06-25 | nix-channel: Don't fetch binary-cache-url | Eelco Dolstra | |
This has been ignored since the Perl->C++ rewrite. | |||
2019-02-12 | nix: Enable pure mode by default | Eelco Dolstra | |
We want to encourage a brave new world of hermetic evaluation for source-level reproducibility, so flakes should not poke around in the filesystem outside of their explicit dependencies. Note that the default installation source remains impure in that it can refer to mutable flakes, so "nix build nixpkgs.hello" still works (and fetches the latest nixpkgs, unless it has been pinned by the user). A problem with pure evaluation is that builtins.currentSystem is unavailable. For the moment, I've hard-coded "x86_64-linux" in the nixpkgs flake. Eventually, "system" should be a flake function argument. | |||
2019-02-11 | Initial flake support | Eelco Dolstra | |
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. |