about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-13 Preload linked hashes to speed up lookupsWout Mertens2-10/+41
By preloading all inodes in the /nix/store/.links directory, we can quickly determine of a hardlinked file was already linked to the hashed links. This is tolerant of removing the .links directory, it will simply recalculate all hashes in the store.
2014-05-10 Shortcut already-hardlinked fileswmertens1-1/+10
If an inode in the Nix store has more than 1 link, it probably means that it was linked into .links/ by us. If so, skip. There's a possibility that something else hardlinked the file, so it would be nice to be able to override this. Also, by looking at the number of hardlinks for each of the files in .links/, you can get deduplication numbers and space savings.
2014-05-06 Really fix the RPM buildsEelco Dolstra1-1/+0
http://hydra.nixos.org/build/10840199
2014-05-05 Fix RPM buildEelco Dolstra1-1/+0
We don't install a nix.conf anymore. http://hydra.nixos.org/build/10826143
2014-05-03 Add ubuntu 14.04Rob Vermaas1-0/+4
2014-05-02 Don't install Upstart job on FedoraEelco Dolstra1-4/+3
Also, don't install a nix.conf anymore, it's not needed. http://hydra.nixos.org/build/10775854
2014-05-02 Fix Debian testsEelco Dolstra1-0/+1
These actually run as root in a VM, so they get confused. http://hydra.nixos.org/build/10775854
2014-05-02 Simplify multi-user installation instructionsEelco Dolstra1-49/+12
2014-05-02 Set up directories and permissions for multi-user install automaticallyEelco Dolstra1-1/+28
This automatically creates /nix/var/nix/profiles/per-user and sets the permissions/ownership on /nix/store to 1775 and root:nixbld.
2014-05-02 Install an Upstart serviceEelco Dolstra4-0/+8
2014-05-02 Set build-max-jobs to the number of available cores by defaultEelco Dolstra1-0/+5
More zero configuration.
2014-05-02 When running as root, use build users by defaultEelco Dolstra1-0/+1
This removes the need to have a nix.conf, and prevents people from accidentally running Nix builds as root.
2014-04-28 doc fix: swap 'import' and 'export'Charles Strahan1-2/+2
2014-04-25 trunk -> masterEelco Dolstra1-2/+2
2014-04-15 nix-env: Minor change to '--delete-generations Nd' semanticsRicardo M. Correia3-7/+15
The option '--delete-generations Nd' deletes all generations older than N days. However, most likely the user does not want to delete the generation that was active N days ago. For example, say that you have these 3 generations: 1: <30 days ago> 2: <15 days ago> 3: <1 hour ago> If you do --delete-generations 7d (say, as part of a cron job), most likely you still want to keep generation 2, i.e. the generation that was active 7 days ago (and for most of the past 7 days, in fact). This patch fixes this issue. Note that this also affects 'nix-collect-garbage --delete-older-than Nd'. Thanks to @roconnor for noticing the issue!
2014-04-15 Fix test evaluationEelco Dolstra2-5/+5
2014-04-11 Bump dateEelco Dolstra1-2/+2
2014-04-11 Bump version to 1.8Eelco Dolstra1-1/+1
2014-04-10 Don't barf when installing as rootEelco Dolstra2-2/+1
2014-04-09 Add docbook icons to the distributionEelco Dolstra18-3/+2
Grmbl...
2014-04-08 If a .drv cannot be parsed, show its pathEelco Dolstra7-10/+22
Otherwise you just get ‘expected string `Derive(['’ which isn't very helpful.
2014-04-08 Simplify quick start sectionEelco Dolstra1-46/+11
2014-04-08 Remove redundant stuffEelco Dolstra1-64/+0
2014-04-08 Update installation instructionsEelco Dolstra1-22/+32
2014-04-08 nix-shell --pure: Keep the user's $PAGEREelco Dolstra1-1/+1
2014-04-08 Ensure that systemd units to into lib, not lib64Eelco Dolstra2-3/+4
http://hydra.nixos.org/build/10170940
2014-04-07 Update release notesEelco Dolstra1-1/+12
2014-04-07 Install systemd unitsEelco Dolstra7-18/+25
2014-04-04 Show position info in attribute selection errorsEelco Dolstra3-13/+14
2014-04-04 Show position info in Boolean operationsEelco Dolstra5-31/+28
2014-04-04 Show position info in string concatenation / addition errorsEelco Dolstra7-45/+63
2014-04-04 derivation: Don't require certain function argumentsEelco Dolstra1-1/+1
Turns out that in Nixpkgs, derivation is actually called without a ‘name’ argument in some places :-(
2014-04-04 forceString: Show position infoEelco Dolstra6-30/+46
2014-04-04 forceAttrs: Show position infoEelco Dolstra5-14/+23
2014-04-04 forceList: Show position infoEelco Dolstra5-24/+35
2014-04-04 forceInt: Show position infoEelco Dolstra3-11/+11
2014-04-04 Pass position information to primop callsEelco Dolstra5-105/+105
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-04-04 Remove unnecessary quotes around file namesEelco Dolstra1-1/+1
2014-04-04 Include position info in function applicationEelco Dolstra7-22/+45
This allows error messages like: error: the anonymous function at `/etc/nixos/configuration.nix:1:1' called without required argument `foo', at `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:77:59'
2014-04-04 Update release notesEelco Dolstra1-0/+14
2014-04-04 Document that we require a C++11 compilerEelco Dolstra1-0/+4
2014-04-03 Fix compile errors on IllumosDanny Wilson3-0/+9
2014-04-03 Sync with make-rules repoEelco Dolstra6-18/+43
2014-04-03 Support IllumosEelco Dolstra1-0/+2
From https://github.com/NixOS/nix/pull/236
2014-04-03 Tweak error messageEelco Dolstra1-1/+1
2014-04-03 Make sure /dev/pts/ptmx is world-writableLudovic Courtès1-0/+4
While running Python 3’s test suite, we noticed that on some systems /dev/pts/ptmx is created with permissions 0 (that’s the case with my Nixpkgs-originating 3.0.43 kernel, but someone with a Debian-originating 3.10-3 reported not having this problem.) There’s still the problem that people without CONFIG_DEVPTS_MULTIPLE_INSTANCES=y are screwed (as noted in build.cc), but I don’t see how we could work around it.
2014-04-01 Fix potential segfaultEelco Dolstra1-2/+3
The newEnv variable was accessed (via the dynamicEnv) pointer after it had gone out of scope. Fixes #234.
2014-03-30 nix-collect-garbage: Add --delete-older-than optionRicardo M. Correia2-8/+22
2014-03-30 nix-env: Add support for --delete-generations 15dRicardo M. Correia2-5/+24
It will delete all generations older than the specified number of days.
2014-03-30 Fix nix-shell for derivation with multiple outputsMaxim Ivanov1-0/+1
If derivation declares multiple outputs and first (default) output if not "out", then "nix-instantiate" calls return path with output names appended after "!". Than suffix must be stripped before ant path checks are done.