| @@ -5,7 +5,6 @@ |
| 5 |
xorg, |
5 |
xorg, |
| 6 |
freetype, |
6 |
freetype, |
| 7 |
fontconfig, |
7 |
fontconfig, |
| 8 |
- makeDesktopItem, |
|
|
| 9 |
}: |
8 |
}: |
| 10 |
rustPlatform.buildRustPackage (finalAttrs: { |
9 |
rustPlatform.buildRustPackage (finalAttrs: { |
| 11 |
pname = "oxwm"; |
10 |
pname = "oxwm"; |
| @@ -29,15 +28,8 @@ rustPlatform.buildRustPackage (finalAttrs: { |
| 29 |
fontconfig |
28 |
fontconfig |
| 30 |
]; |
29 |
]; |
| 31 |
|
30 |
|
| 32 |
- postInstall = let |
31 |
+ postInstall = '' |
| 33 |
- oxwmDesktopItem = makeDesktopItem rec { |
32 |
+ install oxwm.desktop -Dt $out/share/xsessions |
| 34 |
- name = finalAttrs.pname; |
|
|
| 35 |
- exec = name; |
|
|
| 36 |
- desktopName = name; |
|
|
| 37 |
- comment = finalAttrs.meta.description; |
|
|
| 38 |
- }; |
|
|
| 39 |
- in '' |
|
|
| 40 |
- install -Dt $out/share/xsessions ${oxwmDesktopItem}/share/applications/oxwm.desktop |
|
|
| 41 |
''; |
33 |
''; |
| 42 |
|
34 |
|
| 43 |
passthru.providedSessions = ["oxwm"]; |
35 |
passthru.providedSessions = ["oxwm"]; |