|
|
@@ -5,7 +5,6 @@ |
| 5 |
5 |
xorg, |
| 6 |
6 |
freetype, |
| 7 |
7 |
fontconfig, |
| 8 |
|
- makeDesktopItem, |
| 9 |
8 |
}: |
| 10 |
9 |
rustPlatform.buildRustPackage (finalAttrs: { |
| 11 |
10 |
pname = "oxwm"; |
|
|
@@ -29,15 +28,8 @@ rustPlatform.buildRustPackage (finalAttrs: { |
| 29 |
28 |
fontconfig |
| 30 |
29 |
]; |
| 31 |
30 |
|
| 32 |
|
- postInstall = let |
| 33 |
|
- oxwmDesktopItem = makeDesktopItem rec { |
| 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 |
|
31 |
+ postInstall = '' |
|
32 |
+ install oxwm.desktop -Dt $out/share/xsessions |
| 41 |
33 |
''; |
| 42 |
34 |
|
| 43 |
35 |
passthru.providedSessions = ["oxwm"]; |