Gstreamer rtspsrc not working in nixos but working in manjaro

gst-launch-1.0 rtspsrc location=rtsp://:**@192.168.0.64:554/Streaming/Channels/101 latency=0 buffer-mode=auto ! rtph265depay ! avdec
_h265 ! videoconvert ! autovideosink

(gst-launch-1.0:7813): GLib-GObject-CRITICAL **: 07:36:04.844: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed

(gst-launch-1.0:7813): GStreamer-CRITICAL **: 07:36:04.844: gst_bin_add: assertion ‘GST_IS_ELEMENT (element)’ failed

(gst-launch-1.0:7813): GStreamer-CRITICAL **: 07:36:04.844: gst_element_get_static_pad: assertion ‘GST_IS_ELEMENT (element)’ failed

(gst-launch-1.0:7813): GStreamer-CRITICAL **: 07:36:04.844: gst_object_unref: assertion ‘object != NULL’ failed
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Got context from element ‘autovideosink0’: gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)“(GstGLDisplayX11)\ gldisplayx11-0”;
Progress: (open) Opening Stream
Pipeline is PREROLLED …
Prerolled, waiting for progress to finish…
Progress: (connect) Connecting to rtsp://admin:12345678k@192.168.0.64:554/Streaming/Channels/101
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: No supported stream was found. You might need to allow more transport protocols or may otherwise be mi
ssing the right GStreamer RTSP extension plugin.
Additional debug info:
…/gst/rtsp/gstrtspsrc.c(7898): gst_rtspsrc_setup_streams_start (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …

(gst-launch-1.0:7813): GLib-GObject-CRITICAL **: 07:36:04.966: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed

(gst-launch-1.0:7813): GStreamer-CRITICAL **: 07:36:04.967: gst_bin_add: assertion ‘GST_IS_ELEMENT (element)’ failed

(gst-launch-1.0:7813): GStreamer-CRITICAL **: 07:36:04.967: gst_element_get_static_pad: assertion ‘GST_IS_ELEMENT (element)’ failed

(gst-launch-1.0:7813): GStreamer-CRITICAL **: 07:36:04.967: gst_object_unref: assertion ‘object != NULL’ failed