Skip to content

Commit

Permalink
Merge pull request #12235 from saschagrunert/fix-static-build
Browse files Browse the repository at this point in the history
Exclude already built sources for static build
  • Loading branch information
openshift-merge-robot authored Nov 9, 2021
2 parents d4953c0 + d0b502f commit c996d9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nix/default-arm64.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c996d9f

Please sign in to comment.