File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 18
18
src = env ;
19
19
inherit exec ;
20
20
buildInputs = [ drv ] ;
21
- usr_fonts = buildEnv {
22
- name = "fonts" ;
23
- paths = [ noto-fonts ] ;
24
- } ;
25
21
buildCommand = ''
26
- source $stdenv/setup
27
- mkdir $out
22
+ mkdir -p $out/share/icons/hicolor/256x256/apps
23
+ mkdir -p $out/share/applications
24
+
28
25
shopt -s extglob
29
26
ln -s ${ env } /!(share) $out/
30
- mkdir -p $out/share/fonts
31
27
ln -s ${ env } /share/* $out/share/
32
28
33
- cp ${ usr_fonts } /share/fonts/* $out/share/fonts -R
34
-
35
- mkdir -p $out/share/icons
36
- mkdir -p $out/share/icons/hicolor/256x256/apps
37
29
touch $out/share/icons/hicolor/256x256/apps/${ drv . name } .png
38
30
touch $out/share/icons/${ drv . name } .png
39
31
40
- mkdir -p $out/share/applications
41
32
cat <<EOF > $out/share/applications/${ drv . name } .desktop
42
33
[Desktop Entry]
43
34
Type=Application
You can’t perform that action at this time.
0 commit comments