aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-26Ignore tar header entriesEelco Dolstra
In particular, these are emitted by 'git archive' (in fetchGit).
2019-11-26Move code aroundEelco Dolstra
2019-11-26Shut up some rust warningsEelco Dolstra
2019-11-26Move code aroundEelco Dolstra
2019-11-26More Rust FFI adventuresEelco Dolstra
We can now convert Rust Errors to C++ exceptions. At the Rust->C++ FFI boundary, Result<T, Error> will cause Error to be converted to and thrown as a C++ exception.
2019-11-26Rust cleanupEelco Dolstra
2019-11-26Only pass '-Z offline' to cargo if we have a vendor directoryEelco Dolstra
2019-11-26Reduce the size of the vendor directory by removing some winapi cruftEelco Dolstra
2019-11-26Include cargo dependencies in the Nix tarballEelco Dolstra
2019-11-26Update Rust dependenciesEelco Dolstra
2019-11-26Clean up the configure scriptEelco Dolstra
2019-11-26Remove most of <nix/config.nix>Eelco Dolstra
This is no longer needed.
2019-11-26Make <nix/unpack-channel.nix> a builtin builderEelco Dolstra
This was the last function using a shell script, so this allows us to get rid of tar, coreutils, bash etc.
2019-11-26Enable Rust code to call C++ Source objectsEelco Dolstra
2019-11-26Add some Rust codeEelco Dolstra
2019-11-26Fix macOS buildEelco Dolstra
https://hydra.nixos.org/build/107457009
2019-11-26Fix clang warningsEelco Dolstra
2019-11-26Merge pull request #3141 from xbreak/nocafileEelco Dolstra
Downloader: Log configured CA file
2019-11-26Merge pull request #3144 from matthewbauer/fix-sandbox-fallbackEelco Dolstra
Fix sandbox fallback settings
2019-11-26TypoEelco Dolstra
2019-11-26Merge branch 'document-dry-run-option' of https://github.com/Ma27/nixEelco Dolstra
2019-11-26SimplifyEelco Dolstra
2019-11-26Merge branch 'repair-bad-links' of https://github.com/chkno/nixEelco Dolstra
2019-11-26Merge pull request #3238 from puckipedia/attrset-overrides-dynamicEelco Dolstra
Ensure enough space in attrset bindings
2019-11-26Disallow empty store path namesEelco Dolstra
Fixes #3239.
2019-11-26DohEelco Dolstra
2019-11-26Add feature to disable URL literalsEelco Dolstra
E.g. $ nix-build '<nixpkgs>' -A hello --experimental-features no-url-literals error: URL literals are disabled, at /nix/store/vsjamkzh15r3c779q2711az826hqgvzr-nixpkgs-20.03pre194957.bef773ed53f/nixpkgs/pkgs/top-level/all-packages.nix:1236:11 Helps with implementing https://github.com/NixOS/rfcs/pull/45.
2019-11-25Merge pull request #3242 from raboof/documentBuiltinsPlaceholderEelco Dolstra
Document builtins.placeholder
2019-11-25Document builtins.placeholderArnout Engelen
2019-11-25Add testcase for attrset using __overrides and dynamic attrsPuck Meerburg
2019-11-25Ensure enough space in attrset bindings when using both __overrides and ↵Puck Meerburg
dynamic attributes
2019-11-22Turn NIX_PATH into a config settingEelco Dolstra
This allows it to be set in nix.conf.
2019-11-22Provide a default value for NIX_PATHEelco Dolstra
2019-11-22Remove $NIX_USER_PROFILE_DIREelco Dolstra
This is not used anywhere.
2019-11-22getEnv(): Return std::optionalEelco Dolstra
This allows distinguishing between an empty value and no value.
2019-11-15Check for and repair bad .links entriesChuck
A corrupt entry in .links prevents adding a fixed version of that file to the store in any path. The user experience is that corruption present in the store 'spreads' to new paths added to the store: (With store optimisation enabled) 1. A file in the store gets corrupted somehow (eg: filesystem bug). 2. The user tries to add a thing to the store which contains a good copy of the corrupted file. 3. The file being added to the store is hashed, found to match the bad .links entry, and is replaced by a link to the bad .links entry. (The .links entry's hash is not verified during add -- this would impose a substantial performance burden.) 4. The user observes that the thing in the store that is supposed to be a copy of what they were trying to add is not a correct copy -- some files have different contents! Running "nix-store --verify --check-contents --repair" does not fix the problem. This change makes "nix-store --verify --check-contents --repair" fix this problem. Bad .links entries are simply removed, allowing future attempts to insert a good copy of the file to succeed.
2019-11-14Merge pull request #3220 from nh2/manual-nix-shell-p-exprEelco Dolstra
manual: nix-shell: Elaborate on using `-p` with expressions
2019-11-13TypoEelco Dolstra
2019-11-11Merge pull request #3213 from singron/fetchurl_testEelco Dolstra
Replace $TMPDIR with $TEST_ROOT in tests/fetchurl.sh
2019-11-11Merge pull request #3219 from Ericson2314/semicolonsEelco Dolstra
Fix extra semicolons warnings
2019-11-10Clean up semicolon and commaJohn Ericson
Thanks @bhipple for catching!
2019-11-10manual: nix-shell: Elaborate on using `-p` with expressions.Niklas Hambüchen
This documents the outcome of the change in https://github.com/NixOS/nix/issues/454: > We can also automatically add parentheses in the generated > `buildInputs`, so you can type `nix-shell -p "expr"` > instead of `"(expr").
2019-11-10Remove unneeded semicolonsJohn Ericson
2019-11-10Fix extra ; warnings involving MakeErrorJohn Ericson
2019-11-10Merge pull request #3218 from kolloch/patch-1Domen Kožar
De-duplicate struct PrimOp forward declaration
2019-11-10De-duplicate struct PrimOp forward declarationPeter Kolloch
2019-11-08Replace $TMPDIR with $TEST_ROOT in tests/fetchurl.shEric Culp
$TMPDIR isn't necessarily set and would cause this test to fail.
2019-11-08Merge pull request #3211 from zimbatm/gitignore-precompiled-headersEelco Dolstra
gitignore /precompiled-headers.h.gch
2019-11-08gitignore /precompiled-headers.h.?chzimbatm
2019-11-08Move editorFor srom libutil to nixEelco Dolstra
libutil should not depend on libexpr.