aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-08Adds `nix-shell` test for special-cased ruby interpreter.Samuel Dionne-Riel
The test fakes the interpreter only to verify the arguments it would be given.
2018-04-07nix-shell: Fixes use with ruby shebangs.Samuel Dionne-Riel
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-07release.nix: Use $sourceRoot instead of hardcoded source directoryBogdan Seniuc
2018-04-06Merge pull request #2036 from AmineChikhaoui/disk-cache-ttlEelco Dolstra
Make the TTL for disk cache configurable
2018-04-06update/re-order the options docsAmineChikhaoui
2018-04-06rename the options to mention it's a narinfo TTL as disk cache is used all ↵AmineChikhaoui
over the place for other operations
2018-04-06re-order the options using the alphabetical order and improve the example in ↵AmineChikhaoui
the positive lookup case
2018-04-06add documentation for the local disk cache TTL configAmineChikhaoui
2018-04-06Make the TTL for disk cache configurable, we can now completely disableAmineChikhaoui
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-06Merge pull request #2040 from erictapen/doc-tofile-writetextfileEelco Dolstra
document that writeTextFile from Nixpkgs is an alternative to toFile
2018-04-06Use $CPPFLAGS when detecting version of aws-sdk-cppAndrew Dunham
2018-04-05<nix/buildenv.nix>: Ignore dangling symlinksEelco Dolstra
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 Dolstra
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-03document that writeTextFile from Nixpkgs is an alternative to builtins.toFileJustin Humm
2018-03-30Merge pull request #2026 from grahamc/multi-user-linuxGraham Christensen
Expand the multi-user installer to support Linuxes with systemd
2018-03-30macos: Handle when a build user doesn't have a user IDGraham Christensen
2018-03-30Use a looser comparison for the 'user note' checkGraham Christensen
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-30Check for the existence of a profile target before seeing if it mentions NixGraham Christensen
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-30Merge pull request #2025 from zimbatm/document-s3-usageEelco Dolstra
nix copy: add an example with S3
2018-03-30nix copy: add an example with S3zimbatm
I couldn't find a good example how to use it with non-us-east-1 buckets.
2018-03-29Expand the multi-user installer to support Linuxes with systemdGraham Christensen
- 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-29Remove reference to non-existent manpagesEelco Dolstra
2018-03-29Process --option use-case-hack properlyEelco Dolstra
Fixes https://github.com/NixOS/nix/issues/2009.
2018-03-29ValidPathInfo::isContentAddressed(): Ensure there are no referencesEelco Dolstra
2018-03-27Merge pull request #2005 from shlevy/fetchgit-docsEelco Dolstra
Document fetchGit.
2018-03-27Merge pull request #2011 from dezgeg/use-closureinfoEelco Dolstra
release.nix: Use pkgs.closureInfo for binaryTarball
2018-03-26release.nix: Use pkgs.closureInfo for binaryTarballTuomas Tynkkynen
pathsFromGraph is legacy since Nix 2.0.
2018-03-23Document fetchGit.Shea Levy
Fixes #1981.
2018-03-23Merge pull request #2004 from dtzWill/feature/improved-store-mismatch-errorsEelco Dolstra
download.cc: improve error for hash mismatch, fixup cache hits w/diverted store
2018-03-22doc: don't mention obsolete ssh-substituter-hostsDmitry Kalinkin
#1840
2018-03-22download: improve error for hash mismatch ("store mismatch")Will Dietz
Fixes #1905
2018-03-22download.cc: fix path for cached filesWill Dietz
2018-03-22Add Boost dependency to Fedora/Ubuntu buildsEelco Dolstra
2018-03-22Fix buildEelco Dolstra
2018-03-22Remove Fedora / Ubuntu releases that are no longer in NixpkgsEelco Dolstra
2018-03-22TweakEelco Dolstra
2018-03-22Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nixEelco Dolstra
2018-03-22Remove some release-critical jobsEelco Dolstra
The release does not in fact depend on Ubuntu/Fedora builds (we don't publish the build results).
2018-03-21Merge branch 'fix/execl-null-sentinel' of git://github.com/dtzWill/nixShea Levy
2018-03-21Also make the backwards compatible case of RemoteStore::addToStore run in ↵Eelco Dolstra
constant memory Just because we can.
2018-03-21Make 'nix copy --to daemon' run in constant memoryEelco Dolstra
2018-03-21shared.cc: style: prefer "nullptr" over '(char *)NULL'Will Dietz
2018-03-21Make 'nix copy --to ssh://...' run in constant memoryEelco Dolstra
2018-03-21Make 'nix copy --from ssh://...' run in constant memoryEelco Dolstra
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-21Merge branch 'master' of git://github.com/coreyoconnor/nixShea Levy
2018-03-21LegacySSHStore: Allow overriding the path to nix-storeEelco Dolstra
2018-03-20manual: correct repeated "--deriver". Add missing single char option aliases.Corey O'Connor
2018-03-20execl: cast NULL sentinel to (char *), per man page and compiler warningWill Dietz
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-20Merge pull request #1997 from dtzWill/fix/cxx14-std-consistencyEelco Dolstra
ask autotools for c++14 support flags, not c++11; don't override later
2018-03-20Remove unused channel-cache directoryEelco Dolstra