icewm: enable on darwin (#413470)

authored by Aleksana and committed by GitHub 9012f9a5 db1256ac

+7 -5
+7 -5
pkgs/by-name/ic/icewm/package.nix
··· 1 1 { 2 2 lib, 3 - stdenv, 3 + gccStdenv, 4 4 fetchFromGitHub, 5 5 cmake, 6 6 expat, ··· 39 39 pkg-config, 40 40 }: 41 41 42 - stdenv.mkDerivation (finalAttrs: { 42 + gccStdenv.mkDerivation (finalAttrs: { 43 43 pname = "icewm"; 44 44 version = "3.7.5"; 45 45 ··· 98 98 "-DPREFIX=$out" 99 99 "-DCFGDIR=/etc/icewm" 100 100 ]; 101 + 102 + env.NIX_CFLAGS_COMPILE = lib.optionalString gccStdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE"; 101 103 102 104 # install legacy themes 103 105 postInstall = '' ··· 105 107 $out/share/icewm/themes/ 106 108 ''; 107 109 108 - meta = with lib; { 110 + meta = { 109 111 homepage = "https://ice-wm.org/"; 110 112 description = "Simple, lightweight X window manager"; 111 113 longDescription = '' ··· 121 123 optional external background wallpaper manager with transparency support, 122 124 a simple session manager and a system tray. 123 125 ''; 124 - license = licenses.lgpl2Only; 126 + license = lib.licenses.lgpl2Only; 125 127 maintainers = [ ]; 126 - platforms = platforms.linux; 128 + platforms = lib.platforms.unix; 127 129 }; 128 130 })