tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lapce: use upstream .desktop file
Martino Fontana
2 years ago
33c64b52
ab163c16
+2
-14
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
lapce
default.nix
+2
-14
pkgs/applications/editors/lapce/default.nix
···
7
, pkg-config
8
, perl
9
, fontconfig
10
-
, copyDesktopItems
11
-
, makeDesktopItem
12
, glib
13
, gtk3
14
, openssl
···
92
cmake
93
pkg-config
94
perl
95
-
copyDesktopItems
96
wrapGAppsHook # FIX: No GSettings schemas are installed on the system
97
gobject-introspection
98
];
···
116
];
117
118
postInstall = ''
119
-
install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/lapce.svg
0
120
'';
121
-
122
-
desktopItems = [ (makeDesktopItem {
123
-
name = "lapce";
124
-
exec = "lapce %F";
125
-
icon = "lapce";
126
-
desktopName = "Lapce";
127
-
comment = meta.description;
128
-
genericName = "Code Editor";
129
-
categories = [ "Development" "Utility" "TextEditor" ];
130
-
}) ];
131
132
passthru.updateScript = nix-update-script { };
133
···
7
, pkg-config
8
, perl
9
, fontconfig
0
0
10
, glib
11
, gtk3
12
, openssl
···
90
cmake
91
pkg-config
92
perl
0
93
wrapGAppsHook # FIX: No GSettings schemas are installed on the system
94
gobject-introspection
95
];
···
113
];
114
115
postInstall = ''
116
+
install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/dev.lapce.lapce.svg
117
+
install -Dm0644 $src/extra/linux/dev.lapce.lapce.desktop $out/share/applications/lapce.desktop
118
'';
0
0
0
0
0
0
0
0
0
0
119
120
passthru.updateScript = nix-update-script { };
121