Merge pull request #12235 from saschagrunert/fix-static-build

Exclude already built sources for static build
This commit is contained in:
OpenShift Merge Robot
2021-11-09 15:54:28 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@ -59,7 +59,8 @@ let
self = with pkgs; buildGoModule rec {
name = "podman";
src = ./..;
src = builtins.filterSource
(path: type: !(type == "directory" && baseNameOf path == "bin")) ./..;
vendorSha256 = null;
doCheck = false;
enableParallelBuilding = true;

View File

@ -57,7 +57,8 @@ let
self = with pkgs; buildGoModule rec {
name = "podman";
src = ./..;
src = builtins.filterSource
(path: type: !(type == "directory" && baseNameOf path == "bin")) ./..;
vendorSha256 = null;
doCheck = false;
enableParallelBuilding = true;