summaryrefslogtreecommitdiff
path: root/pkgs/build-support/fetchrepoproject (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: run nixfmt 1.0.0Wolfgang Walther2025-07-241-1/+2
* treewide: format all inactive Nix files•••After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-10/+38
* fetchRepoProject: support `hash` attribute, wrapping in `withnormalizedHash`nicoo2024-09-171-65/+65
* Avoid top-level `with ...;` in pkgs/build-support/fetchrepoproject/default.nixPhilip Taron2024-03-191-2/+7
* fetchrepoproject: fix a bug that was there since bef6bef0d2ce2ef7cfaa3e9f1eac...Jan Malakhovski2023-08-061-1/+1
* treewide: stdenvNoCC.lib -> libBen Siraphob2021-01-271-2/+2
* fetchRepoProject: add manifestName parameterNick Spinale2019-09-111-1/+2
* treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-101-3/+3
* treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson2018-01-091-1/+1
* fetchRepoProject: Fetch into $out and make it deterministic•••Fetch into $out and remove all version control files to make it deterministic (.repo and all .git subdirectories - e.g. the .git/index files change every time). Additionally I've changed the default of "useArchive" to false because fetching with "--archive" will fail for some projects (e.g. "platform/external/iosched" from the AOSP). Now, this function should hopefully work for every tag of the AOSP. Michael Weiss2017-09-171-2/+13
* gitRepo: Fix an error due to missing TLS certificates•••This was a problem when run inside a sandbox, e.g. via "fetchRepoProject". The error message from repo seems unrelated: fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle fatal: error no host given But the exception is actually thrown due to missing certificates (/etc/ssl/certs). It should be possible to provide another location via environment variables (e.g. SSL_CERT_FILE, REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE) but apparently that doesn't actually work for some reason (would have to study our Python packaging). Now "fetchRepoProject" works without the "--no-clone-bundle" option. Michael Weiss2017-09-161-2/+0
* fetchRepoProject: Fix the GnuPG verification•••The verification was failing with the following error: gpg: keyblock resource '/tmp/nix-build-XYZ.drv-0/.repo/repo/./.repoconfig/gnupg/pubring.kbx': No such file or directory Using an absolute path for $HOME fixes this. And since 175ecbab9163fa6d5dc7481c6258301833e02042 the dependencies on "git" and "gnupg" aren't required anymore as "gitRepo" already covers them. Michael Weiss2017-09-161-3/+5
* fetchRepoProject: Refactor the code•••Should hopefully make it a bit more readable and less redundant. Michael Weiss2017-09-161-36/+29
* fetchRepoProject: typoSophie Taylor2017-03-271-1/+1
* fetchRepoProject: fixupSophie Taylor2017-03-261-1/+1
* fetchRepoProject: typoSophie Taylor2017-03-261-1/+1
* Merge branch 'master' into fetchGitRepoSophie Taylor2017-03-261-1/+11
|\
| * fetchrepoproject: cleanup extra flagsDaiderd Jordan2017-03-251-11/+20
| * fetchRepoProject: Fix buildCommandSophie Taylor2017-03-251-4/+5
| * fetchrepoproject: fix evaluationDaiderd Jordan2017-03-241-5/+4
* | fetchRepoProject: fixes; more optionsSophie Taylor2017-03-261-14/+35
|/
* fetchRepoProject: init.•••Added to grab projects added by git-repo. Contains some problems still reguarding purity and clone.bundle, but good enough for now. Sophie Taylor2017-03-241-0/+42