| Commit message (Collapse) | Author | Age |
|\ |
|
| |\
| | |
| | | |
cc-wrapper: Cleanup of Nix
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
No hashes were changed
|
| |\ \
| | |/
| |/| |
|
| |\ \
| | | |
| | | | |
cc-wrapper: Remove dead code
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ccPath is only defined below, so this condition would never be true.
Worse, that's not quite true: what if somebody happend to have `/clang`
and no sandboxing. Boy, wouldn't that be annoying to debug!
|
| |/ /
| | |
| | |
| | | |
No need for silly differences.
|
| |\ \
| | | |
| | | |
| | | | |
That way the tarball job succeeds
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
libDirs can be empty, which in combination with "set -u" of
9f1e009975dc2d58541de435c74a26afe011542a will cause a variable unbound
error on old bash versions
|
| |_|/
|/| | |
|
| |/
|/|
| | |
removed dead mirrors, added new
|
|/
|
|
| |
Ensured hashes unchanged and eval succeeds in tarball job
|
|
|
|
|
|
|
| |
CPP defaults to $(CC) -E and setting it explicitly seems to cause
issues in a number of packages like gcc and gdb.
https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
|
| |
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
... and propagate cc.man from there.
|
| | |
| | |
| | |
| | |
| | | |
The "expand-response-params" program had an unnecessary reference to
bootstrapTools, bloating the closure from 205 to 314 MiB.
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | | |
Update homepage attributes: http -> https
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
All the other plain variable references (before e1d46c0c4) are without
braces.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Because if you were to disable man pages via 'programs.man.enable',
the "man" output wouldn't be installed and the info pages would go
missing.
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Because .doc is normally not installed to user environments, these
manpages are unaccessible by default otherwise.
|
|\ \ \ \
| |_|_|/
|/| | | |
replace "Mac OS X" and "OS X" with "macOS"
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
as it is the official name since 2016
https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop
exception are parts refering to older versions of macOS like
"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Having multiple compilers in the build environment would result in an
invalid LD_DYLD_PATH like /usr/lib/dyld/usr/lib/dyld.
Since the path is hardcoded in XNU it can't be anything but
/usr/lib/dyld anyway.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Revert https://github.com/NixOS/nixpkgs/pull/27657#issuecomment-318161946
due to https://github.com/NixOS/nixpkgs/pull/28021#issuecomment-321045542
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In some cases wrappers could not be made. See e.g.
https://github.com/NixOS/nixpkgs/pull/24944#issuecomment-321175692
|
|\ \ \ \ \
| | | | | |
| | | | | | |
makeWrapper: Fail loudly when misused
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`makeWrapper` and `wrapProgram` are being invoked on all kinds of
wacky things (usually with the help of bash globs or other machine
assistance).
So far, I have come across `wrapProgram` being invoked on a directory,
as well as on the empty string.
As far as I can tell, it's only valid to invoke these utilities on a
normal (non-directory, non-device) executable file. This commit
enforces that precondition.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This ensures that all salted variables are defined even if the wrapped program
is invoked outside nix-build environment.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This fixes a bug introduced in #27831: `for path in "$dir"/lib*.so` assumed that
all libs match `lib*.so`, but 07674788d6932fe702117649b4cd16512d2da8a9 started
adding libs that match `*.so` and `*.so.*`.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 67a41eafe9c92269c9f6788f5f54a4b0d282cb96.
see #28021 for discussion
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
cc @Ericson2314
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix makewrapper unsupported args
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Previously, makeWrapper would accept arguments it didn't recognize,
potentially allowing argument misspellings or broken callers.
Now, makeWrapper dies with a backtrace if it is called incorrectly.
Also changes `wrapProgram` so that it doesn't pass through the first
argument twice --- this was tripping up the argument checking.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Calling `die "Error message"` causes the current script to exit with
an error, printing a backtrace
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Otherwise we end with a definition like `1 1`, which doesn't trigger the right
conditional.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Now is an opportune time to do this, as the infixSalt conversion in
`add-flags.sh` ensures that all the relevant `NIX_*` vars will be
defined even if empty.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
See the added comments for what exactly has been done.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is basically a sed job, in preparation of the next commit. The
rules are more or less:
- s"NIX_(.._WRAPPER_)?([a-zA-Z0-9@]*)"NIX_\1@infixSalt@_\2"g
- except for non-cc-wrapper-specific vars like `NIX_DEBUG`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is an ugly temp hack for cross compilation, but now we have something better on the way.
Bind `infixSalt` as an environment variable as it will be used in it.
|
|\ \ \ \ \ \
| | |/ / / /
| |/| | | |
| | | | | | |
Let's drop i686-linux here as well.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In 8d76eff, @Ericson2314 changed the representation of the value that
`findInputs` generated from a whitespace-separated bunch strings to an
actual array of strings.
Expressions that *consume* that value, however, also needed to be
changed to iterate over all the contents of the array, else they would
only select the first value, which turns out to be somewhat limiting.
Fixes #27873
|