| Commit message (Collapse) | Author | Age |
|
|
|
| |
This is a temporary measure until this impurity is removed from Nix.
|
|
|
|
|
| |
We cannot switch to line-delimited yet, because certain Nix commands do
not read in the entire file, but just the first line.
|
|
|
|
|
|
|
|
|
|
| |
@vcunat and others rightly point out that it's easier to quote always,
than learn Bash's idiosyncrasies enough to know when it doesn't make a
difference.
This reverts commit 2743078f664ae07c4bed06a96182c6a86bd7fa32, which
removes quotes that don't do anything, and then goes further adding
even more quotes.
|
|
|
|
|
|
|
| |
The logic was made pure for the normal libSystem, but this change never
made it to the bootstrap tools. Deduplication the logic as the comment
suggests would have prevented this, but here's a stop-gap until we do
so.
|
|
|
|
|
| |
Nix/Hydra no longer support pretty printing of logs, so this is no
longer useful.
|
|\
| |
| | |
Support High Sierra on Darwin
|
| |
| |
| |
| |
| |
| |
| | |
The main changes are in libSystem, which lost the coretls component in 10.13
and some hardening changes that quietly crash any program that uses %n in
a non-constant format string, so we've needed to patch a lot of programs that
use gnulib.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`nix-build pkgs/top-level/release.nix -A tarball` now succeeds.
`configureFlags = null` lead to a type error, and one overrideDrv
needed to be converted to to append a configureFlags list instead of
string due to the normalization.
Thanks @vcunat for alerting me to the issues---sorry I did not catch
them before merging my own PR.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Eventually the adapter will be removed. Moved is
- Name suffix from hostPlatform
- configurePlatforms
To not cause more breakage, the default is currently [], but
eventually it will be [ "build" "host" ], as the cross adapter makes
it today.
|
| |
| |
| |
| |
| | |
@Dezgeg made the good point that the reasons for doing this were not at
all intuitive.
|
| |
| |
| |
| |
| | |
foo=$1 surprisingly doesn't need quotes in Bash. Word splits are only
syntactic in string variable (not array var!) assignments.
|
| |
| |
| |
| | |
Also remove useless quotes on same line
|
| |
| |
| |
| |
| | |
It now blows up on null byte in file (rather than silently truncating),
and invalid arguments (rather than silently skipping).
|
| |
| |
| |
| |
| |
| |
| |
| | |
I took some liberties with the flags-echoing code to make it more
concise and correct. Also, a few warnings in findInputs and friends I
skipped because I am going to rewrite those anyways.
Thanks @grahamc for telling me about this great linter!
|
|/
|
|
|
|
|
|
| |
strings
This is generally cleaner: less eval, less worrying about separators,
and probably also faster. I got the idea from that python wrapper
script.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
We're breaking hashes anyways
|
| |
|
|\
| |
| |
| |
| | |
Mass rebuilds incoming. The mass-rebuild situation got really messy
this weekend.
|
| |\ |
|
| | |
| | |
| | |
| | | |
See #27069 for a discussion of this
|
| | |
| | |
| | |
| | | |
Something more elaborate is needed for the "*Platform" arguments.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only cosmetic changes are done otherwise.
Real refactoring is left for later.
There's a small slow-down on my machine:
$ time nix-env -qa -P >/dev/null
gets from ~2.8 to ~3.5 seconds (negligible change in RAM).
That's most likely caused by sharing less computation between different
mkDerivation calls, and I plan to improve that soon.
|
| | | |
|
| | |
| | |
| | |
| | | |
Suggested by Ericson2314.
|
| | |
| | |
| | |
| | | |
This just moves some expressions around in preparation to further changes.
|
|\ \ \
| |_|/
|/| | |
Harden stdenv in two misc ways
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Instead of eval, use a "nameref" to get the name of the array and
iterate with that. Also, make the for-loop parameter a local variable,
too.
|
|\ \
| |/
|/| |
cc-wrapper: improve response file parsing speed
|
| |
| |
| |
| | |
Import from https://github.com/orivej/expand-compiler-args/tree/b2446902fe7816f34c3f21d29a66da3ee2b1601e
|
| | |
|
|\|
| |
| |
| |
| | |
Comparison looks OK; I'll try some fixes on master directly.
http://hydra.nixos.org/eval/1372577?compare=1372497
|
| |\ |
|
| |\ \
| | | |
| | | | |
llvm-packages: get rid of extra build depedencies for manpages
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
the rest were removed in 1dc6f15de995da2d0351b34c40215336e219cf82
|
| |/ /
| | |
| | |
| | |
| | | |
- use fixupOutputsHook to find libs in all outputs
- don't rebase symlinks
|
| |/
|/|
| |
| | |
Fix the usage of imap as a follow-up to #25543
|
|/
|
|
|
|
| |
This is a bit simpler now, but more importantly it scales better when I
double the number of sorts of dependencies as part of my cross
compilation work.
|
|
|
|
| |
Before gcc-cross-wrapper did this unconditionally
|
|
|
|
|
|
|
|
| |
Packages get --host and --target by default, but can explicitly request
any subset to be passed as needed. See docs for more info.
rustc: Avoid hash breakage by using the old (ignored)
dontSetConfigureCross when not cross building
|
|
|
|
|
|
| |
buildDepends
It now has the correct wrapped tools and nothing else is needed.
|
|
|
|
| |
This is first step towards getting rid of gcc-wrapper-cross
|
|
|
|
| |
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
|
|
|
|
| |
the stdenv
|
|\
| |
| |
| | |
The comparison looks nice on Hydra.
|
| |\
| | |
| | | |
CoreFounation: 10.9 -> 10.10
|
| | | |
|