Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 45bfb96ecdde
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 20fcae3cd53b
Choose a head ref
  • 8 commits
  • 3 files changed
  • 5 contributors

Commits on Jun 2, 2020

  1. docker: add git to extraPath

    When building a docker container from git, docker was missing the git
    binary in $PATH.
    
    (cherry picked from commit 08d83c1)
    Milan Pässler authored and Frostman committed Jun 2, 2020
    Copy the full SHA
    7bf0d1c View commit details
  2. docker: use installShellFiles

    (cherry picked from commit 764dd5c)
    zowoq authored and Frostman committed Jun 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    fpletz Franz Pletz
    Copy the full SHA
    52cc587 View commit details
  3. docker: 19.03.8 -> 19.03.9

    (cherry picked from commit fb3039d)
    Frostman committed Jun 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    fpletz Franz Pletz
    Copy the full SHA
    1e1b0ac View commit details
  4. docker: 19.03.9 -> 19.03.10

    (cherry picked from commit c8dddcb)
    Frostman committed Jun 2, 2020
    Copy the full SHA
    33973b7 View commit details
  5. docker: 19.03.10 -> 19.03.11

    (cherry picked from commit a4ea8ab)
    Frostman committed Jun 2, 2020
    Copy the full SHA
    4aad3f5 View commit details
  6. colormake: use fetchFromGitHub

    Verified the sha256 does not change.
    
    (cherry picked from commit a25bdf1)
    bhipple committed Jun 2, 2020
    Copy the full SHA
    6567ff5 View commit details
  7. go-bindata: use fetchFromGitHub

    Cleaned up expression as well. Verified sha256 is reproducible and unchanged.
    
    (cherry picked from commit 5514329)
    bhipple committed Jun 2, 2020
    Copy the full SHA
    17a6106 View commit details
  8. Merge pull request #89336 from Frostman/docker-backport-19.03.11

    [20.03] docker: 19.03.5 -> 19.03.11
    Ma27 authored Jun 2, 2020
    Copy the full SHA
    20fcae3 View commit details
31 changes: 11 additions & 20 deletions pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, removeReferencesTo, pkgconfig
{ stdenv, lib, fetchFromGitHub, makeWrapper, removeReferencesTo, installShellFiles, pkgconfig
, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
, sqlite, iproute, lvm2, systemd
, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs
, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
, procps, libseccomp
}:

@@ -78,7 +78,7 @@ rec {
sha256 = sha256;
};

nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ installShellFiles pkgconfig ];
buildInputs = [
makeWrapper removeReferencesTo go-md2man go libtool
] ++ optionals (stdenv.isLinux) [
@@ -123,7 +123,7 @@ rec {

outputs = ["out" "man"];

extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute iptables e2fsprogs xz xfsprogs procps utillinux ]);
extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute iptables e2fsprogs xz xfsprogs procps utillinux git ]);

installPhase = optionalString (stdenv.isLinux) ''
install -Dm755 ./components/engine/bundles/dynbinary-daemon/dockerd $out/libexec/docker/dockerd
@@ -147,9 +147,9 @@ rec {
--prefix PATH : "$out/libexec/docker:$extraPath"
# completion (cli)
install -Dm644 ./components/cli/contrib/completion/bash/docker $out/share/bash-completion/completions/docker
install -Dm644 ./components/cli/contrib/completion/fish/docker.fish $out/share/fish/vendor_completions.d/docker.fish
install -Dm644 ./components/cli/contrib/completion/zsh/_docker $out/share/zsh/site-functions/_docker
installShellCompletion --bash ./components/cli/contrib/completion/bash/docker
installShellCompletion --fish ./components/cli/contrib/completion/fish/docker.fish
installShellCompletion --zsh ./components/cli/contrib/completion/zsh/_docker
# Include contributed man pages (cli)
# Generate man pages from cobra commands
@@ -163,16 +163,7 @@ rec {
echo "Generate legacy manpages"
./man/md2man-all.sh -q
manRoot="$man/share/man"
mkdir -p "$manRoot"
for manDir in ./man/man?; do
manBase="$(basename "$manDir")" # "man1"
for manFile in "$manDir"/*; do
manName="$(basename "$manFile")" # "docker-build.1"
mkdir -p "$manRoot/$manBase"
gzip -c "$manFile" > "$manRoot/$manBase/$manName.gz"
done
done
installManPage man/*/*.[1-9]
'';

preFixup = ''
@@ -206,9 +197,9 @@ rec {
};

docker_19_03 = makeOverridable dockerGen {
version = "19.03.8";
rev = "afacb8b7f0d8d4f9d2a8e8736e9c993e672b41f3";
sha256 = "15iq16rlnkw78lvapcfpbnsnxhdjbvfvgzg3xzxhpdg1dmq40b6j";
version = "19.03.11";
rev = "42e35e61f352e527082521280d5ea3761f0dee50";
sha256 = "0q4l4z2bg269hj1dqaq02f84zgp3p8idw1cxczw383cjl0ra8xgq";
runcRev = "dc9208a3303feef5b3839f4323d9beb36df0a9dd"; # v1.0.0-rc10
runcSha256 = "0pi3rvj585997m4z9ljkxz2z9yxf9p2jr0pmqbqrc7bc95f5hagk";
containerdRev = "7ad184331fa3e55e52b890ea95e65ba581ae3429"; # v1.2.13
17 changes: 10 additions & 7 deletions pkgs/development/tools/build-managers/colormake/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{stdenv, fetchgit, perl}:
{ stdenv, fetchFromGitHub, perl }:

stdenv.mkDerivation {
pname = "colormake";
version = "2.1.0";

buildInputs = [perl];
buildInputs = [ perl ];

src = fetchgit {
url = https://github.com/pagekite/Colormake.git;
src = fetchFromGitHub {
owner = "pagekite";
repo = "Colormake";
rev = "66544f40d";
sha256 = "8e714c5540305d169989d9387dbac47b8b9fb2cfb424af7bcd412bfe684dc6d7";
};
@@ -17,9 +18,11 @@ stdenv.mkDerivation {
cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
'';

meta = {
meta = with stdenv.lib; {
description = "Simple wrapper around make to colorize the output";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
homepage = "https://bre.klaki.net/programs/colormake/";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ bhipple ];
};
}
22 changes: 11 additions & 11 deletions pkgs/development/tools/go-bindata/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{ stdenv, buildGoPackage, fetchgit }:
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
buildGoPackage {
pname = "go-bindata";
version = "20151023-${stdenv.lib.strings.substring 0 7 rev}";
rev = "a0ff2567cfb70903282db057e799fd826784d41d";

version = "unstable-2015-10-23";

goPackagePath = "github.com/jteeuwen/go-bindata";

src = fetchgit {
inherit rev;
url = "https://github.com/jteeuwen/go-bindata";
src = fetchFromGitHub {
owner = "jteeuwen";
repo = "go-bindata";
rev = "a0ff2567cfb70903282db057e799fd826784d41d";
sha256 = "0d6zxv0hgh938rf59p1k5lj0ymrb8kcps2vfrb9kaarxsvg7y69v";
};

excludedPackages = "testdata";

meta = with stdenv.lib; {
homepage = "https://github.com/jteeuwen/go-bindata";
homepage = "https://github.com/jteeuwen/go-bindata";
description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
maintainers = with maintainers; [ cstrahan ];
license = licenses.cc0 ;
platforms = platforms.all;
license = licenses.cc0;
platforms = platforms.all;
};
}