File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1818 src = env ;
1919 inherit exec ;
2020 buildInputs = [ drv ] ;
21- usr_fonts = buildEnv {
22- name = "fonts" ;
23- paths = [ noto-fonts ] ;
24- } ;
2521 buildCommand = ''
26- source $stdenv/setup
27- mkdir $out
22+ mkdir -p $out/share/icons/hicolor/256x256/apps
23+ mkdir -p $out/share/applications
24+
2825 shopt -s extglob
2926 ln -s ${ env } /!(share) $out/
30- mkdir -p $out/share/fonts
3127 ln -s ${ env } /share/* $out/share/
3228
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
3729 touch $out/share/icons/hicolor/256x256/apps/${ drv . name } .png
3830 touch $out/share/icons/${ drv . name } .png
3931
40- mkdir -p $out/share/applications
4132 cat <<EOF > $out/share/applications/${ drv . name } .desktop
4233 [Desktop Entry]
4334 Type=Application
You can’t perform that action at this time.
0 commit comments