diff --git a/pkgs/applications/virtualization/cri-o/wrapper.nix b/pkgs/applications/virtualization/cri-o/wrapper.nix index 5aca291a6018..a0a39beeda20 100644 --- a/pkgs/applications/virtualization/cri-o/wrapper.nix +++ b/pkgs/applications/virtualization/cri-o/wrapper.nix @@ -27,6 +27,8 @@ in runCommand cri-o.name { name = "${cri-o.pname}-wrapper-${cri-o.version}"; inherit (cri-o) pname version passthru; + preferLocalBuild = true; + meta = builtins.removeAttrs cri-o.meta [ "outputsToInstall" ]; outputs = [ diff --git a/pkgs/development/tools/buildah/wrapper.nix b/pkgs/development/tools/buildah/wrapper.nix index dfa465cfdea7..a31dece7df5e 100644 --- a/pkgs/development/tools/buildah/wrapper.nix +++ b/pkgs/development/tools/buildah/wrapper.nix @@ -17,6 +17,8 @@ let buildah = buildah-unwrapped; + preferLocalBuild = true; + binPath = lib.makeBinPath ([ runc crun