Fixed Hyprland default.nix to provide session

This commit is contained in:
Narice 2022-05-16 11:33:00 +01:00
parent 6c0a374ba5
commit 4f10d8e07d

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
cd ../ cd ../
mkdir -p $out/share/wayland-sessions mkdir -p $out/share/wayland-sessions
cp ./example/hyprland.desktop $out/share/wayland-sessions/ cp ./example/hyprland.desktop $out/share/wayland-sessions
mkdir -p $out/bin mkdir -p $out/bin
cp ./build/Hyprland $out/bin cp ./build/Hyprland $out/bin
cp ./hyprctl/hyprctl $out/bin cp ./hyprctl/hyprctl $out/bin
@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
cp ./assets/wall_8K.png $out/share/hyprland cp ./assets/wall_8K.png $out/share/hyprland
''; '';
passthru.providedSessions = [ "hyprland" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/vaxerski/Hyprland"; homepage = "https://github.com/vaxerski/Hyprland";
description = description =