mirror of https://github.com/containers/podman.git
Exclude already built sources for static build
We now do not copy the `bin` directory to the target nix sources to avoid skipping the build because "everything is up to date". Fixes https://github.com/containers/podman/issues/12198 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
parent
3ccd999340
commit
d0b502fcea
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue