- Jan 08, 2016
-
-
Eelco Dolstra authored
-
- Jan 07, 2016
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This was observed in the deb_debian7x86_64 build: http://hydra.nixos.org/build/29973215 Calling c_str() on a temporary should be fine because the temporary shouldn't be destroyed until after the execl() call, but who knows...
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Detected by -Werror=format-security. http://hydra.nixos.org/build/29973207
-
- Jan 06, 2016
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
If repair found a corrupted/missing path that depended on a multiple-output derivation, and some of the outputs of the latter were not present, it failed with a message like error: path ‘/nix/store/cnfn9d5fjys1y93cz9shld2xwaibd7nn-bash-4.3-p42-doc’ is not valid
-
Eelco Dolstra authored
-
- Jan 05, 2016
-
-
Philip Potter authored
The --insecure flag to curl tells curl not to bother checking if the TLS certificate presented by the server actually matches the hostname requested, and actually is issued by a trusted CA chain. This almost entirely negates any benefit from using TLS in the first place. This removes the --insecure flag to ensure we actually have a secure connection to the intended hostname before downloading binaries. Manually tested locally within a dev-shell; was able to download binaries from https://cache.nixos.org without issue. [Note: --insecure was only used for fetching NARs, whose integrity is verified by Nix anyway using the hash from the .narinfo. But if we can fetch the .narinfo without --insecure, we can also fetch the .nar, so there is not much point to using --insecure. --Eelco]
-
Fabian Schmitthenner authored
Also show types when nix cannot compare values of different types. This is also more consistent since types are already shown when comparing values of the same not comparable type.
-
Fabian Schmitthenner authored
propagate NIX_BUILD_SHELL also in pure builds document NIX_BUILD_SHELL in the nix-shell command documentation
-
Ilya Novoselov authored
Looks like 5a05cf40 removed usage of environment CFLAGS and CXXFLAGS by mistake. That change broke building of nix on fedora core 23.
-
Eelco Dolstra authored
-
Shea Levy authored
For example, "${{ foo = "bar"; __toString = x: x.foo; }}" evaluates to "bar". With this, we can delay calling functions like mkDerivation, buildPythonPackage, etc. until we actually need a derivation, enabling overrides and other modifications to happen by simple attribute set update.
-
Eelco Dolstra authored
POSIX compliant directory access (fixes build on Solaris)
-
Tim Cuthbertson authored
It's not a limitation of `/usr/bin/env`, it's just how the OS processes shebang lines (see http://stackoverflow.com/a/4304187)
-
FrankHB authored
`BUFSIZ` is defined in header `<cstdio>`.
-
Eelco Dolstra authored
-
Vladimír Čunát authored
The text is just a conversion of comment from src/libexpr/primops.cc
-
davidak authored
-
Tuomas Tynkkynen authored
-
- Jan 04, 2016
-
-
Eelco Dolstra authored
This makes Darwin consistent with Linux: Nix expressions can't break out of the sandbox unless relaxed sandbox mode is enabled. For the normal sandbox mode this will require fixing #759 however.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Otherwise, since the call to write a "d" character to the lock file can fail with ENOSPC, we can get an unhandled exception resulting in a call to terminate().
-
- Dec 29, 2015
-
-
Eelco Dolstra authored
Caused by 8063fc49. If tmpDir != tmpDirInSandbox (typically when there are multiple concurrent builds with the same name), the *Path attribute would not point to an existing file. This caused Nixpkgs' writeTextFile to write an empty file. In particular this showed up as hanging VM builds (because it would run an empty run-nixos-vm script and then wait for it to finish booting).
-
- Dec 22, 2015
-
-
Eelco Dolstra authored
Hopefully fixes Darwin sandbox regression introduced in 8063fc49.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Dec 17, 2015
-
-
Eelco Dolstra authored
We should probably disallow these, but until then, we shouldn't barf with an assertion failure. Fixes #738.
-
- Dec 15, 2015
-
-
Eelco Dolstra authored
Make Debian package depend on libcurl3-nss
-
Jim Garrison authored
Otherwise nix-env fails to start if it is not installed
-
- Dec 14, 2015
-
-
Eelco Dolstra authored
Use shellwords for nix-shell shebang
-
- Dec 10, 2015
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Also, use "#if __APPLE__" instead of "#if SANDBOX_ENABLED" to prevent ambiguity.
-
- Dec 08, 2015
-
-
Eelco Dolstra authored
Clarify error message for hash mismatches (again)
-
Bjørn Forsman authored
This is arguably nitpicky, but I think this new formulation is even clearer. My thinking is that it's easier to comprehend when the calculated hash value is displayed close to the output path. (I think it is somewhat similar to eliminating double negatives in logic statements.) The formulation is inspired / copied from the OpenEmbedded build tool, bitbake.
-
- Dec 07, 2015
-
-
Brian McKenna authored
Previously we can't have quoted arguments. This now allows us to use things like `ghcWithPackages`
-
- Dec 02, 2015
-
-
Ludovic Courtès authored
-