Merge pull request #230854 from AngryAnt/rusty-psn-gui-fix

rusty-psn-gui: fix build, cleanup

authored by Weijia Wang and committed by GitHub 249c54b8 d6f2a1de

+14 -3
+14 -3
pkgs/applications/misc/rusty-psn/default.nix
··· 5 5 , makeDesktopItem 6 6 , copyDesktopItems 7 7 , pkg-config 8 + , cmake 9 + , fontconfig 10 + , glib 11 + , gtk3 12 + , freetype 8 13 , openssl 9 14 , xorg 10 15 , libGL ··· 26 31 27 32 nativeBuildInputs = [ 28 33 pkg-config 34 + ] ++ lib.optionals withGui [ 29 35 copyDesktopItems 36 + cmake 30 37 ]; 31 38 32 - buildInputs = if withGui then [ 39 + buildInputs = [ 40 + openssl 41 + ] ++ lib.optionals withGui [ 42 + fontconfig 43 + glib 44 + gtk3 45 + freetype 33 46 openssl 34 47 xorg.libxcb 35 48 xorg.libX11 ··· 39 52 xorg.libxcb 40 53 libGL 41 54 libGL.dev 42 - ] else [ 43 - openssl 44 55 ]; 45 56 46 57 buildNoDefaultFeatures = true;