From fcb308ec7fc45c51d6c7852bb05168a3f2e364d1 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 19 Feb 2024 19:32:46 +0100 Subject: [PATCH] cosmic-session: fix xdg-desktop-portal-cosmic path --- pkgs/by-name/co/cosmic-session/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/co/cosmic-session/package.nix b/pkgs/by-name/co/cosmic-session/package.nix index cebd00aff004..2c84a130bd9c 100644 --- a/pkgs/by-name/co/cosmic-session/package.nix +++ b/pkgs/by-name/co/cosmic-session/package.nix @@ -51,11 +51,10 @@ rustPlatform.buildRustPackage rec { "--set" "prefix" (placeholder "out") - "--set" - "xdp_cosmic" - xdg-desktop-portal-cosmic ]; + env.XDP_COSMIC = lib.getExe xdg-desktop-portal-cosmic; + passthru.providedSessions = [ "cosmic" ]; meta = with lib; {