Commit Graph

12 Commits

Author SHA1 Message Date
Philip Taron
ba515dec26
Avoid with lib; at the top level in maintainers/scripts/find-tarballs.nix
Tested with

```
nix-instantiate --readonly-mode --eval --strict --show-trace --json ./maintainers/scripts/find-tarballs.nix --arg expr 'import ./maintainers/scripts/all-tarballs.nix'
```
2024-03-06 12:10:16 -08:00
Vincenzo Mantova
8fd7b69da1 copy-tarballs: use all the urls of each file
If a file specifies multiple urls, try fetching all of them until
nix-prefetch-url is successful.
2023-04-05 21:05:22 +01:00
Solene Rapenne
956555eca7 find-tarballs.nix: isPatch should be defined only when postFetch is not empty 2022-08-29 10:17:39 +02:00
Solene Rapenne
e9b835d975 find-tarballs.nix: add a new attribute and include patches files 2022-08-28 14:51:19 +02:00
Robert Hensing
e04cc18f18 find-tarballs.nix: Avoid all passthru attrs
Avoiding passthru itself was the right direction, but not a
complete solution. Passthru attributes typically do not contain
dependencies, but rather extra paths that are not relevant to
the build itself.

Whether we want to include all (passthru) test dependencies this
way can be debated, but removing them makes this expression more
robust.
2021-11-04 16:00:32 +01:00
Eelco Dolstra
11cf7d6e1f
Fix copy-tarballs.pl 2019-01-24 16:01:49 +01:00
Eelco Dolstra
35bd7708d5 copy-tarballs.pl: Use substituters to obtain tarballs 2016-04-18 15:18:25 +02:00
Eelco Dolstra
f1f79505fc find-tarballs.nix: Handle stdenv bootstrap fetchurl 2016-04-08 14:00:47 +02:00
Vladimír Čunát
e053971d81 tarball: fix the job
Find-tarballs was failing on some `requireFile` that was fixed-output
but didn't specify `outputHashMode`. Apparently, nix is fine with that
and uses the "flat" default, although that's undocumented.
2016-02-25 08:29:57 +01:00
Eelco Dolstra
7cd3d502bb copy-tarballs.pl: Revive extracting all tarballs from release.nix 2015-12-16 15:38:59 +01:00
Eelco Dolstra
567e002545 copy-tarballs: Use an S3 bucket for tarballs.nixos.org
Tarballs.nixos.org is now stored in an S3 bucket rather than an EBS
volume. Redirects are used to simulate symlinks.

The function find-tarballs.nix now filters out fetchzip, fetchpatch
and the like.
2015-12-10 16:07:07 +01:00
Eelco Dolstra
7a51e17775 Fix updating of the tarball mirror 2014-02-19 13:58:42 +01:00