Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 0 additions & 55 deletions build-support/fetchgitlocal/default.nix

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pkgs/lz4/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "lz4";
version = "131";
version = "1.10.0";

src = fetchFromGitHub {
repo = "lz4";
owner = "lz4";
rev = "v${finalAttrs.version}";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
hash = "sha256-/dG1n59SKBaEBg72pAWltAtVmJ2cXxlFFhP+klrkTos=";
};

patches = [
Expand Down
2 changes: 1 addition & 1 deletion stdenv/linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ let
shell = "${bootstrapTools}/bin/bash";
initialPath = [ bootstrapTools ];

fetchurlBoot = import ../../build-support/fetchurl/boot.nix {
fetchurlBoot = import ../../pkgs/fetchurl/boot.nix {
inherit system;
};

Expand Down
14 changes: 3 additions & 11 deletions top-level.nix
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ with final;

# TODO(corepkgs): move these fetchers into pkgs
fetchpatch =
callPackage ./build-support/fetchpatch {
callPackage ./pkgs/fetchpatch {
# 0.3.4 would change hashes: https://github.com/NixOS/nixpkgs/issues/25154
patchutils = __splicedPackages.patchutils_0_3_3;
}
Expand All @@ -497,27 +497,19 @@ with final;
version = 1;
};
fetchpatch2 =
callPackage ./build-support/fetchpatch {
callPackage ./pkgs/fetchpatch {
patchutils = __splicedPackages.patchutils_0_4_2;
}
// {
tests = pkgs.tests.fetchpatch2;
version = 2;
};
fetchDebianPatch = callPackage ./build-support/fetchdebianpatch { };
fetchgit = callFromScope ./build-support/fetchgit { };
fetchgitLocal = callPackage ./build-support/fetchgitlocal { };
fetchFromGitLab = callPackage ./build-support/fetchgitlab { };
fetchFromSourcehut = callPackage ./build-support/fetchsourcehut { };
fetchPypi = callPackage ./build-support/fetchpypi { };
fetchhg = callPackage ./build-support/fetchhg { };
# TODO(corepkgs): uppercase them?
fetchzip = callPackage ./build-support/fetchzip { };
fetchurl =
if stdenv.buildPlatform != stdenv.hostPlatform then
buildPackages.fetchurl # No need to do special overrides twice,
else
lib.makeOverridable (import ./build-support/fetchurl) {
lib.makeOverridable (import ./pkgs/fetchurl) {
inherit
lib
stdenvNoCC
Expand Down