Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-16 | Add pure evaluation mode | Eelco Dolstra | 1 | -1/+1 | |
In this mode, the following restrictions apply: * The builtins currentTime, currentSystem and storePath throw an error. * $NIX_PATH and -I are ignored. * fetchGit and fetchMercurial require a revision hash. * fetchurl and fetchTarball require a sha256 attribute. * No file system access is allowed outside of the paths returned by fetch{Git,Mercurial,url,Tarball}. Thus 'nix build -f ./foo.nix' is not allowed. Thus, the evaluation result is completely reproducible from the command line arguments. E.g. nix build --pure-eval '( let nix = fetchGit { url = https://github.com/NixOS/nixpkgs.git; rev = "9c927de4b179a6dd210dd88d34bda8af4b575680"; }; nixpkgs = fetchGit { url = https://github.com/NixOS/nixpkgs.git; ref = "release-17.09"; rev = "66b4de79e3841530e6d9c6baf98702aa1f7124e4"; }; in (import (nix + "/release.nix") { inherit nix nixpkgs; }).build.x86_64-linux )' The goal is to enable completely reproducible and traceable evaluation. For example, a NixOS configuration could be fully described by a single Git commit hash. 'nixos-rebuild' would do something like nix build --pure-eval '( (import (fetchGit { url = file:///my-nixos-config; rev = "..."; })).system ') where the Git repository /my-nixos-config would use further fetchGit calls or Git externals to fetch Nixpkgs and whatever other dependencies it has. Either way, the commit hash would uniquely identify the NixOS configuration and allow it to reproduced. | |||||
2017-11-07 | Show when tests are skipped | Eelco Dolstra | 1 | -7/+9 | |
Also, don't depend on tput (ncurses). It's really not needed since ANSI escape sequences have been standardized for 35 years or so. | |||||
2017-10-09 | Whitespace | Eelco Dolstra | 1 | -2/+2 | |
2017-10-06 | fixing bashisms in test code | Jörg Thalheim | 1 | -4/+3 | |
This fixed the build on ubuntu/debian, where dash is the sh. | |||||
2017-10-03 | More elegant test output | Dan Peebles | 1 | -6/+24 | |
I got sick of trying to find the failures in the sea of debug output, so we now: - Hide test output unless it fails - Sprinkle in some simple color - Pad results for a more tabular look If Nix is getting a more friendly user interface, we might as well get a friendlier developer interface, right? :) | |||||
2017-04-21 | set _GNU_SOURCE on cygwin | David McFarland | 1 | -2/+2 | |
this is needed for pipe2() | |||||
2016-11-26 | Revert "Get rid of unicode quotes (#1140)" | Eelco Dolstra | 5 | -8/+8 | |
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 | 5 | -8/+8 | |
2015-10-06 | Don't pass "--no-copy-dt-needed-entries" option to linker on FreeBSD. | Manuel Jacob | 1 | -1/+3 | |
Eventually the nested if statements should be replaced by a more general condition, but this is sufficient to make it work on FreeBSD. | |||||
2014-12-14 | Merge branch 'cygwin-master' of https://github.com/ternaris/nix | Eelco Dolstra | 2 | -5/+20 | |
2014-12-14 | Merge commit '36c67860363c93eb00cf5b8e2ad34f6f775e6901' | Eelco Dolstra | 7 | -19/+60 | |
2014-12-09 | Fix library handling on Cygwin | Marko Durkovic | 1 | -3/+13 | |
1. Shared lib extension is .dll 2. Shared libs are installed to $(prefix)/bin 3. Linker does not support -z flag | |||||
2014-12-09 | Set custom compiler flags on Cygwin | Marko Durkovic | 1 | -2/+7 | |
2014-08-20 | Merge commit '2aa93858afee22e0c32d8f4366970976374091ac' | Eelco Dolstra | 3 | -1/+26 | |
2014-04-03 | Sync with make-rules repo | Eelco Dolstra | 6 | -18/+43 | |
2014-02-07 | Merge commit 'a210c995cdd9279ed4137ec5d2e4cc928cb36097' | Eelco Dolstra | 5 | -26/+33 | |
2014-02-04 | GNU Make 3.81 compatibility | Eelco Dolstra | 7 | -12/+12 | |
3.81 doesn't understand the ‘define foo =’ syntax, which was added in 3.82. So use ‘define foo’ instead. | |||||
2014-02-03 | Merge commit '8468806552d6730abec6431c42b5b0e897c0222c' | Eelco Dolstra | 1 | -0/+6 | |
2014-02-01 | Merge commit '28dc4883356a50f2805a3e3c819a541c44a4ff0a' into make | Eelco Dolstra | 1 | -1/+1 | |
2014-02-01 | Add 'mk/' from commit '1eff3ad37fdb9dcf9f8528fdacea0ebf0e79d545' | Eelco Dolstra | 12 | -0/+492 | |
git-subtree-dir: mk git-subtree-mainline: 6ef32bddc1f10034322966b3a5b85af7b9cdc4d8 git-subtree-split: 1eff3ad37fdb9dcf9f8528fdacea0ebf0e79d545 | |||||
2014-01-09 | Remove mk subdirectory in preparation for "git subtree" | Eelco Dolstra | 9 | -335/+0 | |
2014-01-09 | Move stuff to top-level | Eelco Dolstra | 10 | -426/+0 | |
This makes it easier to use with "git subtree". | |||||
2013-12-18 | Add support for building JARs from Java sources | Eelco Dolstra | 2 | -1/+39 | |
2013-12-18 | Add a function for doing recursive wildcard searches | Eelco Dolstra | 1 | -0/+5 | |
Source: http://blog.jgc.org/2011/07/gnu-make-recursive-wildcard-function.html | |||||
2013-12-17 | Set default installation paths | Eelco Dolstra | 1 | -7/+12 | |
2013-12-16 | make dryclean: Sort names | Eelco Dolstra | 1 | -1/+1 | |
2013-12-16 | No longer interpret $(..._SOURCES) relative to $(..._DIR) | Eelco Dolstra | 2 | -8/+18 | |
2013-12-12 | Don't include all *.dep files | Eelco Dolstra | 1 | -2/+4 | |
2013-12-12 | Add 'make help' | Eelco Dolstra | 1 | -0/+24 | |
2013-12-12 | Get rid of whitespace in $(d) | Eelco Dolstra | 1 | -1/+1 | |
2013-12-12 | Handle *.cpp extension | Eelco Dolstra | 1 | -0/+3 | |
2013-12-12 | Only provide 'make dist' if PACKAGE_NAME is set | Eelco Dolstra | 1 | -0/+4 | |
2013-12-12 | dryclean: Show what actual files would be deleted | Eelco Dolstra | 1 | -2/+2 | |
2013-12-10 | Initial commit (imported from the Nix repo) | Eelco Dolstra | 9 | -0/+335 | |
2013-12-04 | Add missing file | Eelco Dolstra | 1 | -0/+29 | |
2013-11-25 | Add support for ‘make installcheck’ | Eelco Dolstra | 1 | -0/+6 | |
2013-11-25 | Add a Makefile for the Perl stuff | Eelco Dolstra | 2 | -6/+13 | |
2013-11-25 | Expand configure variables before writing config.status | Eelco Dolstra | 1 | -2/+0 | |
This way, we can use config.status for generating scripts/* (without ending up with lines like "#! /usr/bin/perl -I${libexecdir}/..."). | |||||
2013-11-25 | Rename Makefile.new -> Makefile | Eelco Dolstra | 1 | -1/+1 | |
2013-11-25 | Add a Makefile for the scripts directory | Eelco Dolstra | 4 | -10/+51 | |
2013-11-25 | Add a Makefile for bsdiff | Eelco Dolstra | 1 | -2/+3 | |
2013-11-25 | Let ‘make clean’ delete instantiated template files | Eelco Dolstra | 1 | -0/+2 | |
2013-11-25 | Use create-dir for installing dynamic libraries | Eelco Dolstra | 2 | -4/+5 | |
2013-11-25 | Add a function for instantiating Autoconf *.in files | Eelco Dolstra | 2 | -4/+12 | |
2013-11-25 | Split Makefile.lib into several *.mk files | Eelco Dolstra | 7 | -0/+242 | |