Commit Graph

7 Commits

Author SHA1 Message Date
Alyssa Ross
fb4a93a913 treewide: fetchgit -> fetchzip (git.kernel.org)
fetchzip is more efficient, because it doesn't do a full git clone, so
it should be preferred where possible.

Where hashes have not been changed, I have verified that they don't
need to be.  Where hashes have changed, in all cases this is because
of .gitattributes files that exclude certain files from the tarball,
and in these cases I have verified that the packages still build.

sbsigntool still uses fetchgit because it has a submodule, and ell and
iwd still use fetchgit because git.kernel.org does not provide
snapshot links for them.  Apparently this is intentional.
2023-12-05 21:19:01 +01:00
Jörg Thalheim
b0ccd1d737 treewide: use more secure and proxy friendly https protocol to fetch from git.kernel.org 2023-01-27 21:11:39 +01:00
Alyssa Ross
690125bd0a
treewide: update git.kernel.org/cgit homepage URLs
These are now redirects, and no longer git clone-able despite looking
like git repo URLs.  I've updated them to the new locations.
2022-06-10 19:46:39 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Renaud
3bd26af129
efitools: fix build with gnu-efi >= 3.0.11
(#73503)
2019-11-16 15:27:38 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Graham Christensen
2707a6d481
efitools: init at 1.9.2 2019-01-22 10:23:50 -05:00