Skip to content

Commit

Permalink
docker_18_09: fix build
Browse files Browse the repository at this point in the history
The cross-compilation patch introduced in
NixOS#92140
fixes an issue introduced in Docker CE 19.03,
and will not apply to (and is not needed for)
previous versions.
  • Loading branch information
Ryan Burns authored and r-burns committed Sep 20, 2020
1 parent 67ba803 commit cba11bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ rec {
sha256 = sha256;
};

patches = [
patches = lib.optional (versionAtLeast version "19.03") [
# Replace hard-coded cross-compiler with $CC
(fetchpatch {
url = https://github.com/docker/docker-ce/commit/2fdfb4404ab811cb00227a3de111437b829e55cf.patch;
Expand Down

0 comments on commit cba11bc

Please sign in to comment.