mirror of
https://github.com/containers/podman.git
synced 2025-06-26 12:56:45 +08:00
Merge pull request #12235 from saschagrunert/fix-static-build
Exclude already built sources for static build
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user