gnustep: attempt to fix osx building

Set with-layout=fhs. This should prevent OS X from having compat issues.

+18 -5
+18 -5
pkgs/desktops/gnustep/make/default.nix
··· 1 1 { stdenv, fetchurl, clang, which, libobjc }: 2 + 2 3 let 3 4 version = "2.6.8"; 4 5 in 6 + 5 7 stdenv.mkDerivation rec { 6 8 name = "gnustep-make-${version}"; 9 + 7 10 src = fetchurl { 8 11 url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz"; 9 12 sha256 = "0r00439f7vrggdwv60n8p626gnyymhq968i5x9ad2i4v6g8x4gk0"; 10 13 }; 11 - configureFlags = "--with-installation-domain=SYSTEM"; 14 + 15 + configureFlags = [ 16 + "--with-layout=fhs-system" 17 + "--disable-install-p" 18 + ]; 19 + 20 + preConfigure = '' 21 + configureFlags="$configureFlags --with-config-file=$out/etc/GNUstep/GNUstep.conf" 22 + ''; 23 + 24 + makeFlags = [ 25 + "GNUSTEP_INSTALLATION_DOMAIN=SYSTEM" 26 + ]; 27 + 12 28 buildInputs = [ clang which libobjc ]; 13 29 patches = [ ./fixup-paths.patch ]; 14 30 setupHook = ./setup-hook.sh; 15 31 meta = { 16 32 description = "A build manager for GNUstep"; 17 - 18 33 homepage = http://gnustep.org/; 19 - 20 34 license = stdenv.lib.licenses.lgpl2Plus; 21 - 22 35 maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ]; 23 - platforms = stdenv.lib.platforms.linux; 36 + platforms = stdenv.lib.platforms.unix; 24 37 }; 25 38 }