Unverified Commit ab5762eb authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

warp: fix QR code scanning (#415533)

parents ed6978c0 59452847
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@
  glib,
  gtk4,
  libadwaita,
  zbar,
  libcamera,
  pipewire,
  gst_all_1,
  nix-update-script,
}:
@@ -60,14 +61,24 @@ stdenv.mkDerivation rec {
    glib
    gtk4
    libadwaita
    zbar
    libcamera
    pipewire
  ]
  ++ (with gst_all_1; [
    gstreamer
    gst-plugins-base
    gst-plugins-bad
    gst-plugins-good # multifilesink
    gst-plugins-rs # gst-plugin-gtk4
  ]);

  preFixup = ''
    gappsWrapperArgs+=(
      # vp8enc preset
      --prefix GST_PRESET_PATH : ${gst_all_1.gst-plugins-good}/share/gstreamer-1.0/presets
    )
  '';

  passthru = {
    updateScript = nix-update-script { };
  };