| Commit message (Collapse) | Author | Age |
|
|
|
| |
We compute it on the fly, careful to avoid any mass rebuilds for now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
According to git-submodule manpage,
"git submodule status" prefixes the hash with a '-' if it is not
initialized, and other chars in other circumstances.
(this is consistent on the various git versions tested)
nix-prefetch-git runs "git submodule init" which does you'd think,
but apparently despite this earlier versions of git before 2.16
would still give the hash the '-' suffix.
In particular this is the behavior when using 2.15 and 2.14.1
from the nixos-17.09 and nixos-17.03 channels respectively.
The script then used awk to drop the first char of the first field
which does the wrong thing when there is no prefix emitted:
while there is a space character before the hash, this is not
part of the field and so we ended up eating the first character
of the hash.
To fix this in a way that also works with the previous behavior,
this commit instead uses awk to grab the hash field
and uses tr to delete any '-' chars should they be present.
This seems to work in my testing, and for example can now
successfully fetch the source for "nginxModules.brotli"
where previously it would generate an error:
fatal: '22564a95d9ab58865a096b8d9f7324ea5f2e03e' is not a commit and a branch 'fetchgit' cannot be created from it
(we dropped a '2' from the beginning of the hash)
|
| |
|
|
|
|
| |
It's 'Image' on AArch64.
|
|\
| |
| | |
fetchpatch: Add support for an arbitrary extra prefix
|
| |
| |
| |
| |
| |
| | |
We still ensure the old and new ones start, respectfully, with `a/` and
`b/`. Use with `stripLen` to ensure tha the old `a/` and `/b` are gone
if a new prefix is added.
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
pkgs/build-support/fetchbower/default.nix
pkgs/build-support/fetchdarcs/default.nix
pkgs/build-support/fetchgx/default.nix
pkgs/development/python-modules/botocore/default.nix
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
pkgs/tools/admin/awscli/default.nix
|
| | |
|
| |\
| | |
| | | |
Fixed output deps
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 0af2c5891bfccfe5a6e8ba67e95c5852c45529d2.
See https://github.com/NixOS/nixpkgs/commit/0af2c5891bfccfe5a6e8ba67e95c5852c45529d2#commitcomment-26737983
This breaks the cargoSha256 hashes.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
cargo-vendor generates almost the right cargo config. Store it with the
vendored files and patch it on use.
This allows to re-use the generated config when using git dependencies.
|
|\| |
|
| |
| |
| |
| | |
Fixes #33378.
|
|\ \
| |/
|/| |
cacert: add hook that sets SSL_CERT_FILE
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This is hacky but it does the job, resurrects findInputs from before staging merge
|
|\ \ |
|
| | |
| | |
| | | |
This commit is for correcting a typo in comments.
|
|\| |
| | |
| | |
| | |
| | | |
A few thousand rebuilds from master, again.
Hydra: ?compare=1422362
|
| |\ \
| | | |
| | | | |
cc-wrapper: allow compilers to specify unsupported hardening modes
|
| | | |
| | | |
| | | |
| | | | |
Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
|
| |\ \ \
| | |/ /
| |/| | |
chrootenv: rewrite on top of GLib
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changes:
* doesn't handle root user separately
* doesn't chdir("/") which makes using it seamless
* only bind mounts, doesn't symlink (i.e. files)
Incidentally, fixes #33106.
It's about two times shorter than the previous version, and much
easier to read/follow through. It uses GLib quite heavily, along with
RAII (available in GCC/Clang).
|
|\ \ \ \
| | | | |
| | | | | |
Make cross compilation elegant
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- All deps go on the PATH
- CC and Bintools wrappers with their host != depender's host still get their
setup hooks run.
- Environment hooks get applied to all packages
This isn't so elegent, but eases the transition on a very significant
PR.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`dontStrip` is still a catch-all, but `dontStripHost` and
`dontStripTarget` are also now available for finer-grained disabling.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
They are libraries used by programs built with these tools, not used by the
tools themselves.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We now have the information to properly determine the role the
cc-wrapper dependency has, by taking advantage of `offset`. No longer
use the soon-to-be-deprecated crossConfig environment variable, the
temp hack used before this change.
|
|\| | | |
| |/ / /
|/| | | |
binutils: Fix cross, again
|
| | | |
| | | |
| | | |
| | | | |
This ensures we by-default cross-compile to the intended platform.
|
|\ \ \ \
| |_|/ /
|/| | | |
uwimap pollution of `include/`
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 8c125c0c7448086cb4bd8dafd1f798d8697fcd78.
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
singularity: 2.2 -> 2.4
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
build-support: clean-up fetchSvn
|
| | | |
| | | |
| | | |
| | | | |
Remove old workaround rendered unnecessary by af9db522cf7053797f5d0729698cfafe47aac9be
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Wrap LEN macro in parantheses
* Drop env_filter in favor of stateful environ_blacklist_filter,
use execvp instead of execvpe, don't explicitly use environ
* Add argument error logging wherever it makes sense
* Drop strjoin in favor of asprintf
* char* -> const char* where appropriate
* Handle stat errors
* Print user messages with fputs, not errorf
* Abstract away is_str_in (previously bind_blacklisted)
* Cleanup temporary directory on error
* Some minor syntactic and naming changes
Thanks to Jörg Thalheim and Tuomas Tynkkynen for the code review!
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|