| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
for occasional convenience while looking at drv paths,
such as in the output of nix-build and nix-diff.
|
|
|
|
|
|
|
|
|
|
|
| |
This continues #23374, which always kept around both attributes, by
always including both propagated files: `propgated-native-build-inputs`
and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still
defined as before, however, so this change should only barely
observable.
This is an incremental step to fully keeping the dependencies separate
in all cases.
|
|
|
| |
The check should be performed on the target shell script, not on the output directory.
|
| |
|
|
|
|
|
| |
We cannot switch to line-delimited yet, because certain Nix commands do
not read in the entire file, but just the first line.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes those files a bit easier to read. Also, for what it's worth,
it brings us one baby step closer to handling spaces in store paths.
Also, I optimized handling of many transitive deps with read. Probably,
not very beneficial, but nice to enforce the pkg-per-line structure.
Doing so let me find much dubious code and fix it.
Two misc notes:
- `propagated-user-env-packages` also needed to be adjusted as
sometimes it is copied to/from the propagated input files.
- `local fd` should ensure that file descriptors aren't clobbered
during recursion.
|
|
|
|
| |
By default lndir outputs the name of each subdirectory as it descends into it; this commit gives it the -silent flag to disable this behavior
|
| |
|
|
|
|
|
|
| |
This ensures that most "trivial" derivations used to build NixOS
configurations no longer depend on GCC. For commands that do invoke
gcc, there is runCommandCC.
|
| |
|
| |
|
|
|
|
|
| |
The catch is that in nix the @-pattern binds the set that was *explicitly*
passed to the function, i.e. default values are *not* taken into account.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Close #15803. This avoids the error:
while setting up the build environment: executing
‘/nix/store/7sb42axk5lrxqz45nldrb2pchlys14s1-bash-4.3-p42/bin/bash’:
Argument list too long
Note: I wanted to make it optional based on buildCommand length,
but that seems pointless as I'm sure it's less performant.
Amended by vcunat:
https://github.com/NixOS/nixpkgs/pull/15803#issuecomment-224841225
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
There's no point trying to "distribute" showing the error message.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Unfortunately, yesterday Nix got reverted to a version with broken
passAsFile implementation on some Hydra machines, so we have corrupted
files again. (E.g. http://hydra.nixos.org/build/29777678.) Forcing
another gratuitous rebuild to get rid of them.
(cherry picked from commit 75974d9220b8397c736ada76fb24eb934fa62f6c)
|
| |
|
|
|
|
|
| |
This reduces the number of binary cache requests. See
https://github.com/NixOS/nix/commit/b64988bb3585478676585a0f0aecbcf4e11d4432.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This `writeTextFile` based helper function is especially usefull for writing a
bunch of configuration files to root of the output folder
|
|
|
|
|
| |
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
|
|
|
|
|
|
|
| |
lot, and it causes a lot of unnecessary overhead on machines with
remote building enabled.
svn path=/nixpkgs/trunk/; revision=33934
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=33271
|
|
|
|
|
|
| |
function, so obsolete it.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
|
|
|
|
| |
svn path=/nixpkgs/branches/modular-python/; revision=26594
|
|
|
|
|
|
| |
(wrapPython).
svn path=/nixpkgs/branches/modular-python/; revision=26580
|
|
|
|
|
|
|
| |
This reverts r21474 and r21467.
Also migrate wtk (r21472) to new API.
svn path=/nixpkgs/trunk/; revision=21575
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=19181
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=18567
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=18566
|
|
build-support/.
svn path=/nixpkgs/trunk/; revision=18465
|