about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-07 nix-shell: Fixes use with ruby shebangs.Samuel Dionne-Riel1-1/+1
The ported code in 80ebc553eca19dafc64c47420cd49ddd506bc9b7 was incorrectly ported. ``` - $envCommand = "exec $execArgs $interpreter -e 'load(\"$script\")' -- ${\(join ' ', (map shellEscape, @savedArgs))}"; ... + envCommand = (format("exec %1% %2% -e 'load(\"%3%\") -- %4%") % execArgs % interpreter % script % joined.str()).str(); ``` The single-quote finishing the small ruby snippet was lost in translation.
2018-04-07 release.nix: Use $sourceRoot instead of hardcoded source directoryBogdan Seniuc1-2/+2
2018-04-06 Merge pull request #2036 from AmineChikhaoui/disk-cache-ttlEelco Dolstra3-10/+43
Make the TTL for disk cache configurable
2018-04-06 update/re-order the options docsAmineChikhaoui1-19/+19
2018-04-06 rename the options to mention it's a narinfo TTL as disk cache is used all ↵AmineChikhaoui2-6/+6
over the place for other operations
2018-04-06 re-order the options using the alphabetical order and improve the example in ↵AmineChikhaoui1-25/+29
the positive lookup case
2018-04-06 add documentation for the local disk cache TTL configAmineChikhaoui2-6/+32
2018-04-06 Make the TTL for disk cache configurable, we can now completely disableAmineChikhaoui2-8/+11
disk cache lookup for example by doing: nix copy --from <binary-cahe> <store-path> --option \ positive-disk-cache-ttl 0 Issues: #1885 #2035
2018-04-06 Merge pull request #2040 from erictapen/doc-tofile-writetextfileEelco Dolstra1-1/+4
document that writeTextFile from Nixpkgs is an alternative to toFile
2018-04-06 Use $CPPFLAGS when detecting version of aws-sdk-cppAndrew Dunham1-1/+1
2018-04-05 <nix/buildenv.nix>: Ignore dangling symlinksEelco Dolstra1-18/+21
Fixes error: getting status of '/nix/store/j8p0vv89k1pf0cn7kmfsdcs7bshwga1i-firefox-52.7.2esr/share/icons/hicolor/48x48/apps/firefox.png': No such file or directory https://github.com/NixOS/nix/issues/1934 Also improve error message on directory/non-directory collisions.
2018-04-05 <nix/buildenv.nix>: Skip non-directory top-level pathsEelco Dolstra1-21/+29
Fixes https://github.com/NixOS/nix/issues/1934 (at least the "error: opening directory '/nix/store/...-linux-config-4.4.14': Not a directory" issue).
2018-04-03 document that writeTextFile from Nixpkgs is an alternative to builtins.toFileJustin Humm1-1/+4
2018-03-30 Merge pull request #2026 from grahamc/multi-user-linuxGraham Christensen5-760/+1067
Expand the multi-user installer to support Linuxes with systemd
2018-03-30 macos: Handle when a build user doesn't have a user IDGraham Christensen1-2/+2
2018-03-30 Use a looser comparison for the 'user note' checkGraham Christensen1-1/+5
We use grep instead of an equality check because it is difficult to extract _just_ the user's note, instead it is prefixed with some plist junk. This was causing the user note to always be set, even if there was no reason for it.
2018-03-30 Check for the existence of a profile target before seeing if it mentions NixGraham Christensen1-1/+1
Grep would ignore files that didn't exist, but would complain about files in a directory if the directory didn't exist. Simply check for the directory first, prior to grepping it.
2018-03-30 Merge pull request #2025 from zimbatm/document-s3-usageEelco Dolstra1-0/+6
nix copy: add an example with S3
2018-03-30 nix copy: add an example with S3zimbatm1-0/+6
I couldn't find a good example how to use it with non-us-east-1 buckets.
2018-03-29 Expand the multi-user installer to support Linuxes with systemdGraham Christensen5-760/+1063
- darwin installer: delete hardware report, not necessary - moves os-specific code from the darwin installer to to `poly_*` functions - adds profile.d support to the profile targets, which automatically handles many distros which don't have a /etc/bashrc but do have an /etc/profile.d - /bin/bash -> /usr/bin/env bash - document why each excluded shellcheck check is excluded - rename the multi-user to Daemon-based
2018-03-29 Remove reference to non-existent manpagesEelco Dolstra1-0/+2
2018-03-29 Process --option use-case-hack properlyEelco Dolstra1-1/+1
Fixes https://github.com/NixOS/nix/issues/2009.
2018-03-29 ValidPathInfo::isContentAddressed(): Ensure there are no referencesEelco Dolstra1-1/+2
2018-03-27 Merge pull request #2005 from shlevy/fetchgit-docsEelco Dolstra1-0/+55
Document fetchGit.
2018-03-27 Merge pull request #2011 from dezgeg/use-closureinfoEelco Dolstra1-5/+5
release.nix: Use pkgs.closureInfo for binaryTarball
2018-03-26 release.nix: Use pkgs.closureInfo for binaryTarballTuomas Tynkkynen1-5/+5
pathsFromGraph is legacy since Nix 2.0.
2018-03-23 Document fetchGit.Shea Levy1-0/+55
Fixes #1981.
2018-03-23 Merge pull request #2004 from dtzWill/feature/improved-store-mismatch-errorsEelco Dolstra1-3/+8
download.cc: improve error for hash mismatch, fixup cache hits w/diverted store
2018-03-22 doc: don't mention obsolete ssh-substituter-hostsDmitry Kalinkin1-2/+2
#1840
2018-03-22 download: improve error for hash mismatch ("store mismatch")Will Dietz1-2/+7
Fixes #1905
2018-03-22 download.cc: fix path for cached filesWill Dietz1-1/+1
2018-03-22 Add Boost dependency to Fedora/Ubuntu buildsEelco Dolstra2-8/+10
2018-03-22 Fix buildEelco Dolstra1-2/+2
2018-03-22 Remove Fedora / Ubuntu releases that are no longer in NixpkgsEelco Dolstra1-4/+2
2018-03-22 TweakEelco Dolstra1-1/+1
2018-03-22 Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nixEelco Dolstra5-26/+27
2018-03-22 Remove some release-critical jobsEelco Dolstra1-6/+0
The release does not in fact depend on Ubuntu/Fedora builds (we don't publish the build results).
2018-03-21 Merge branch 'fix/execl-null-sentinel' of git://github.com/dtzWill/nixShea Levy1-5/+5
2018-03-21 Also make the backwards compatible case of RemoteStore::addToStore run in ↵Eelco Dolstra1-15/+15
constant memory Just because we can.
2018-03-21 Make 'nix copy --to daemon' run in constant memoryEelco Dolstra2-5/+4
2018-03-21 shared.cc: style: prefer "nullptr" over '(char *)NULL'Will Dietz1-5/+5
2018-03-21 Make 'nix copy --to ssh://...' run in constant memoryEelco Dolstra1-2/+2
2018-03-21 Make 'nix copy --from ssh://...' run in constant memoryEelco Dolstra4-24/+22
For instance, this reduced the memory consumption of $ nix copy --from ssh://localhost --to ~/my-nix /nix/store/1n7x0yv8vq6zi90hfmian84vdhd04bgp-blender-2.79a from 632 MiB to 16 MiB.
2018-03-21 Merge branch 'master' of git://github.com/coreyoconnor/nixShea Levy1-1/+4
2018-03-21 LegacySSHStore: Allow overriding the path to nix-storeEelco Dolstra1-1/+2
2018-03-20 manual: correct repeated "--deriver". Add missing single char option aliases.Corey O'Connor1-1/+4
2018-03-20 execl: cast NULL sentinel to (char *), per man page and compiler warningWill Dietz1-5/+5
From exec(3): > The list of arguments must be terminated by a null pointer, and, since these > are variadic functions, this pointer must be cast (char *) NULL
2018-03-20 Merge pull request #1997 from dtzWill/fix/cxx14-std-consistencyEelco Dolstra3-3/+3
ask autotools for c++14 support flags, not c++11; don't override later
2018-03-20 Remove unused channel-cache directoryEelco Dolstra1-5/+0
2018-03-20 Style fixEelco Dolstra1-17/+14