| Commit message (Collapse) | Author | Age |
|\
| |
| |
| |
| |
| | |
Comparison to master evaluations on Hydra:
- 1255515 for nixos
- 1255502 for nixpkgs
|
| |
| |
| |
| | |
Stdenv adapters considered weird.
|
|\|
| |
| |
| |
| | |
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
|
| |\ |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
This still breaks a few packages, but nothing really major:
http://hydra.nixos.org/eval/1241850?filter=x86_64-linux&compare=1237919&full=#tabs-now-fail
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The importance of glibc makes it worthwhile to provide debug
symbols. However, this revealed an issue with separateDebugInfo: it
was indiscriminately adding --build-id to all ld invocations, while in
fact it should only do that for final links. Glibc also uses non-final
("relocatable") links, leading to subsequent failure to apply a build
ID ("Cannot create .note.gnu.build-id section, --build-id
ignored"). So now ld-wrapper.sh only passes --build-id for final
links.
|
| | | | |
|
| | |/
| | |
| | |
| | |
| | | |
`--set FOO ""` is not strictly equivalent to `--unset FOO`. In the former case
the environment variable still exists with an empty string as a value.
|
| |/
| |
| |
| |
| | |
The simple "return" would not override the non-zero error code set by the
preceding test command, therefore aborting scripts running with "set -e".
|
|\|
| |
| |
| |
| | |
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
|
| | |
|
| | |
|
| | |
|
|\|
| |
| |
| | |
Let's get rid of those merge conflicts.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some cases the $sourceRoot is missing. Skip the hook instead
of showing the following cryptic error:
find: cannot search `': No such file or directory
/nix/store/0p1afvl8jcpi6dvsq2n58i90w9c59vz1-set-source-date-epoch-to-latest.sh: line 12: [: : integer expression expected
vcunat removed the warning; the hook will just skip silently in these cases.
Perhaps someone can improve on it some time.
|
|\| |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For instance, a binary like libfoo.so will cause a symlink
lib/debug/libfoo.so.debug -> .build-id/<build-ID>.debug to be
created. This is primarily useful for use with eu-addr2line, if you
know the name of a binary and the relative address, but not the build
ID.
|
| | | |
|
| |/
| |
| |
| |
| | |
This provides a timestamp that's more useful than 1970-01-01 yet still
deterministic.
|
| |
| |
| |
| |
| |
| | |
- fix in silencing some moveToOutput messages
- allow removing (developer) documentation even without defining outputs
(note: some paths are auto-removed by default, e.g. gtk-doc and man3)
|
|\| |
|
| |
| |
| |
| | |
Tail is very picky about the space after -c
when compiled by Nix on Illumos (no idea why).
|
| | |
|
|\|
| |
| |
| |
| |
| | |
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
|
| |
| |
| |
| | |
i.e. define it even if $dontWrapGApps is set, and document the intention.
|
| |
| |
| |
| | |
/cc #10351 and @lethalman.
|
| |
| |
| |
| |
| |
| | |
Now any developer docs are removed by default, unless "docdev"
is in $outputs or $outputDocdev is defined.
Currently devdoc consists of just man3 and gtk-doc.
|
| |
| |
| |
| | |
i.e. remove chains of empty dirs after moving contents out of them.
|
| |
| |
| |
| |
| | |
Packages often provide some developer documentation
which is useless to typical users (e.g. man3 and gtk-doc).
|
| |
| |
| |
| |
| |
| |
| | |
'[[ ! -v "$propagatedOutputs" ]]' is incorrect and always evaluates to
true. The correct form using double brackets would be
'[[ ! -v propagatedOutputs ]]', but I strongly dislike '[[ ]]' due to
the totally different quoting rules compared to everything else in bash.
|
| |
| |
| |
| |
| | |
This is required since #7524 is fixed ("stdenv: Errors in hooks (such as
postUnpack) get ignored")
|
|\|
| |
| |
| | |
Many non-conflict problems weren't (fully) resolved in this commit yet.
|
| |\
| | |
| | |
| | |
| | | |
This is a partial commit from staging in an attempt to make merges
smaller.
|
| | |\ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Using zlib should be cheap enough and save lots of HDD space.
Case study (glib): 11 MB -> 4 MB.
|
| | |/
| |/|
| | |
| | | |
Also remove some unintended setting of separateDebugInfo.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
You can now pass
separateDebugInfo = true;
to mkDerivation. This causes debug info to be separated from ELF
binaries and stored in the "debug" output. The advantage is that it
enables installing lean binaries, while still having the ability to
make sense of core dumps, etc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #9044, close #9667. Thanks to @taku0 for suggesting this solution.
Now we have no modes starting with `/` or `+`.
Rewrite the `-perm` parameters of find:
- completely safe: rewrite `/0100` and `+100` to `-0100`,
- slightly semantics-changing: rewrite `+111` to `-0100`.
I cross-verified the `find` manual pages for Linux, Darwin, FreeBSD.
|
| |
| |
| |
| |
| |
| |
| |
| | |
By default `makeWrapper` will not set argv[0] (this is a reversion to
the old default behavior). Based on the breakage we have seen from
changing the default, this is what most people want. The `wrapProgram`
function will send `--argv0 '"$0"'` to `makeWrapper`, i.e. it will
continue to pass-through the argv[0] that the wrapper is called with.
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
It would only matter in (some) multiple-output derivations.
/cc @lethalman.
|
| |\| |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
sed 's|-perm +0|-perm /0|g'
It's a mass-rebuild due to usage in stdenv's default setup hooks.
|