aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-10Merge pull request #2146 from adevress/spec-filefixEelco Dolstra
Cleanup and Update of nix.spec file
2018-05-10Merge pull request #2142 from domenkozar/docker-2.0.1Eelco Dolstra
Docker 2.0.1
2018-05-09Cleanup of nix.spec file to allow build on EL7 and beyondAdrien Devresse
- Clean deprecated spec file macros ( < EL6 ) - Allow to build Nix on EL7 using Software collection and Copr backports - Add conditional build to build Nix RPM without documentation for dev builds - Add missing BuildRequires (openssl, and others )
2018-05-09In restricted eval mode, allow access to the closure of store pathsEelco Dolstra
E.g. this makes nix eval --restrict-eval -I /nix/store/foo '(builtins.readFile "/nix/store/foo/symlink/bla")' (where /nix/store/foo/symlink is a symlink to another path in the closure of /nix/store/foo) succeed. This fixes a regression in Hydra compared to Nix 1.x (where there were no restrictions at all on access to the Nix store).
2018-05-08docker readme: simplifyDomen Kožar
2018-05-08Dockerfile: 2.0.2Domen Kožar
2018-05-08Add README for dockerDomen Kožar
2018-05-08Dockerfile: update to 2.0.1Domen Kožar
2018-05-07nix-shell: Only download requested outputsEelco Dolstra
Fixes #2116.
2018-05-03Merge pull request #2132 from gleber/docs-impureEnvVars-env-sourcePeter Simons
docs: mention source of env variables used by `impureEnvVars`.
2018-05-03Don't set a CA assertion for paths with referencesEelco Dolstra
Really fixes #2133.
2018-05-03LocalStore::addValidPath(): Throw error when the CA assertion is wrongEelco Dolstra
Closes #2133.
2018-05-02docs: mention source of env variables used by `impureEnvVars`.Gleb Peregud
2018-05-02Fix some random -Wconversion warningsEelco Dolstra
2018-05-02Fix builtins.add testEelco Dolstra
Nix prints the floating point number 4.0 as "4".
2018-05-02Fix bzip2 compression of files > 4 GiBEelco Dolstra
Bzip2's 'avail_in' parameter is declared as an unsigned int, so assigning a size_t length to it led to silent truncation. Fixes #2111.
2018-04-30Merge pull request #2126 from DavidEGrayson/pr_gc_docEelco Dolstra
nix-collect-garbage: fix documentation to not mention options like --print-dead
2018-04-30nix-collect-garbage: little doc fixDanylo Hlynskyi
This removes confusing documentation. It's better to remove doc than add implementation, because Nix 1.12 will surely have new GC interface anyway. Fixes https://github.com/NixOS/nix/issues/641
2018-04-29add tests for builtins.addTim Sears
2018-04-23globals.hh: don't use '==' to compare string literalsWill Dietz
Saw this in logs, also reported here: https://github.com/NixOS/nix/commit/8e6108ff71caae180d764ab9e9bff5593724655c#r28707288
2018-04-23Merge branch 'aarch64-armv7' of git://github.com/lheckemann/nixShea Levy
Support extra compatible architectures (#1916)
2018-04-23Merge branch 'pos-crash-fix' of git://github.com/dezgeg/nixShea Levy
2018-04-23Merge branch 'add-test-eval-okay-nested-with' of ↵Shea Levy
git://github.com/ryantrinkle/nix
2018-04-23Merge branch 'doc/quiet' of git://github.com/samueldr/nixShea Levy
2018-04-23Merge branch 'hash-mismatch' of git://github.com/LnL7/nixShea Levy
2018-04-22Merge pull request #2101 from andrew-d/adunham/fix-library-orderingPeter Simons
Fix library ordering in Makefiles
2018-04-21Fix library ordering in MakefilesAndrew Dunham
The existing ordering linked `libutil` before `libstore`, which causes link failures when building statically. This is due to `libstore` using functions from `libutil`, and the fact that symbol resolution works "forward" - i.e. if you pass `-lfoo -lbar -lbaz`, any symbols that `libbar` uses from `libbaz` will be resolved, but symbols from `libfoo` will not since it comes first in the command line. All this to say: this commit reorders the libraries which fixes the link errors.
2018-04-21Merge pull request #1707 from dtzWill/fix/issue-1692Peter Simons
ignore "interrupted" exception in progress callback
2018-04-20doc: Adds `--quiet` to the common options.Samuel Dionne-Riel
Fixes #1298
2018-04-20download: make hash mismatch error consistent with fetchurlDaiderd Jordan
2018-04-20Merge pull request #2097 from dtzWill/fix/devpts-bind-mountEelco Dolstra
build.cc: fix bind-mount of /dev/{pts,ptmx} fallback
2018-04-20build.cc: fix bind-mount of /dev/{pts,ptmx} fallbackWill Dietz
Don't bind-mount these to themselves, mount them into the chroot directory. Fixes pty issues when using sandbox on CentOS 7.4. (build of perlPackages.IOTty fails before this change)
2018-04-20Merge pull request #2092 from grahamc/opt-in-or-out-daemonEelco Dolstra
installer: allow opting in / out to the daemon installer
2018-04-19installer: default to the daemon installor for Linux with systemdGraham Christensen
Note: don't backport to 2.0-maintenance
2018-04-19installer: allow opting in / out to the daemon installerGraham Christensen
By passing --daemon or --no-daemon, the installer can be forced to select one or the other installation options, despite what the automatic detection can provide. This commit can be backported to 2.0-maintenance because it explicitly turns off the daemon installation for Linux under systemd.
2018-04-19Fix tests.evalNixOSEelco Dolstra
This failed because NixOS' release.nix calls builtins.fetchGit.
2018-04-19Merge pull request #2090 from poelzi/multi_searchEelco Dolstra
Allow multiple search experssions in nix search
2018-04-18add tests for multi searchDaniel Poelzleithner
2018-04-18Allow multiple search experssions in nix searchDaniel Poelzleithner
The common use case is to search for packages containing multiple words like a "git" "frontend". Having only one expressions makes this simple regular use case very complicated. Instead, search accepts multiple regular epressions which all need to match. nix search git 'gui|frontend' returns a list of all git uis for example
2018-04-17isFunction: True on primops.Shea Levy
Fixes #2073
2018-04-17Handle arguments in $EDITOREelco Dolstra
Fixes #2079.
2018-04-17exportReferences: Check whether the path is in the input closureEelco Dolstra
Fixes #2082.
2018-04-17Merge pull request #2068 from LnL7/version-2.1Eelco Dolstra
bump version to 2.1
2018-04-16Merge branch 'repl' of https://github.com/NinjaTrappeur/nixEelco Dolstra
2018-04-16nix repl: Fix multiline SIGINT handling.Félix Baylac-Jacqué
Fixes #2076
2018-04-13Fix #1921Eelco Dolstra
2018-04-13Fix broken DocBookEelco Dolstra
2018-04-12Merge pull request #2071 from ↵Shea Levy
sseefried-forked/clarify-glossary-and-garbage-collection Add to glossary and clarify garbage collection
2018-04-12Add to glossary and clarify garbage collectionSean Seefried
While trying to understand garbage collection it was not immediately clear that only the runtime dependency closure of output paths would be kept (instead of the build-time dependency closure). This commit attempts to clarify this by expanding some of the glossary definitions and extending the Garbage Collection section.
2018-04-11initPlugins: Fix dlopen error message.Shea Levy