[PATCH] Patches to waypipe package to enable static build with the cost of fancy feature
Signed-off-by: vadim likholetov
On Wed, Nov 30, 2022 at 09:14:09AM +0200, vadim likholetov wrote:
Signed-off-by: vadim likholetov
--- .../applications/networking/remote/waypipe/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
Having pkgsStatic.waypipe work in Nixpkgs would be cool (even without acceleration), if you're interested in pushing this upstream. It would have to conditionally disable the problematic dependencies so that there was no change in the dynamically linked case, of course.
diff --git a/pkgs/applications/networking/remote/waypipe/default.nix b/pkgs/applications/networking/remote/waypipe/default.nix index ec94d504b9d..bcc3770ecf7 100644 --- a/pkgs/applications/networking/remote/waypipe/default.nix +++ b/pkgs/applications/networking/remote/waypipe/default.nix @@ -20,7 +20,15 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ meson ninja pkg-config scdoc ]; buildInputs = [ # Optional dependencies: - mesa lz4 zstd ffmpeg libva + # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with acceleration + lz4 zstd + ]; + + mesonFlags = [ + "-Dwith_video=disabled" + "-Dwith_systemtap=false" + "-Dwith_vaapi=disabled" + "-Dwith_dmabuf=disabled" ];
meta = with lib; { -- 2.36.2
I think that’s not bad idea — lets’ push it upstream.
On 30 Nov 2022, at 13:32, Alyssa Ross
wrote:On Wed, Nov 30, 2022 at 09:14:09AM +0200, vadim likholetov wrote:
Signed-off-by: vadim likholetov
--- .../applications/networking/remote/waypipe/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) Having pkgsStatic.waypipe work in Nixpkgs would be cool (even without acceleration), if you're interested in pushing this upstream. It would have to conditionally disable the problematic dependencies so that there was no change in the dynamically linked case, of course.
diff --git a/pkgs/applications/networking/remote/waypipe/default.nix b/pkgs/applications/networking/remote/waypipe/default.nix index ec94d504b9d..bcc3770ecf7 100644 --- a/pkgs/applications/networking/remote/waypipe/default.nix +++ b/pkgs/applications/networking/remote/waypipe/default.nix @@ -20,7 +20,15 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ meson ninja pkg-config scdoc ]; buildInputs = [ # Optional dependencies: - mesa lz4 zstd ffmpeg libva + # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with acceleration + lz4 zstd + ]; + + mesonFlags = [ + "-Dwith_video=disabled" + "-Dwith_systemtap=false" + "-Dwith_vaapi=disabled" + "-Dwith_dmabuf=disabled" ];
meta = with lib; { -- 2.36.2
participants (3)
-
Alyssa Ross
-
vadim likholetov
-
Vadim Likholetov