diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2020-08-14 16:27:49 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-14 10:22:29 -0700 |
commit | 096a73fd32a53428bbed986fe1f4b3f25b446ac0 (patch) | |
tree | b74c1e794ad97527905be5574918323e85716105 /pkgs/games/factorio | |
parent | 96745f0228359a71051a1d0bda4080e7ec134ade (diff) |
factorio: fix headless build
Diffstat (limited to 'pkgs/games/factorio')
-rw-r--r-- | pkgs/games/factorio/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix index fb69b9d3819e..7aeddb82a530 100644 --- a/pkgs/games/factorio/default.nix +++ b/pkgs/games/factorio/default.nix @@ -158,11 +158,6 @@ let patchelf \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ $out/bin/factorio - - mkdir -p $out/share/icons/hicolor/{64x64,128x128}/apps - cp -a data/core/graphics/factorio-icon.png $out/share/icons/hicolor/64x64/apps/factorio.png - cp -a data/core/graphics/factorio-icon@2x.png $out/share/icons/hicolor/128x128/apps/factorio.png - ln -s ${desktopItem}/share/applications $out/share/ ''; meta = { @@ -239,6 +234,11 @@ let ${updateConfigSh} EOF ) $out/share/factorio/update-config.sh + + mkdir -p $out/share/icons/hicolor/{64x64,128x128}/apps + cp -a data/core/graphics/factorio-icon.png $out/share/icons/hicolor/64x64/apps/factorio.png + cp -a data/core/graphics/factorio-icon@2x.png $out/share/icons/hicolor/128x128/apps/factorio.png + ln -s ${desktopItem}/share/applications $out/share/ ''; }; alpha = demo // { |