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