mirror of
https://github.com/containers/podman.git
synced 2025-06-28 22:53:21 +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 {
|
self = with pkgs; buildGoModule rec {
|
||||||
name = "podman";
|
name = "podman";
|
||||||
src = ./..;
|
src = builtins.filterSource
|
||||||
|
(path: type: !(type == "directory" && baseNameOf path == "bin")) ./..;
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -57,7 +57,8 @@ let
|
|||||||
|
|
||||||
self = with pkgs; buildGoModule rec {
|
self = with pkgs; buildGoModule rec {
|
||||||
name = "podman";
|
name = "podman";
|
||||||
src = ./..;
|
src = builtins.filterSource
|
||||||
|
(path: type: !(type == "directory" && baseNameOf path == "bin")) ./..;
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Reference in New Issue
Block a user