dirdiff: add darwin support

+7 -5
+6 -1
pkgs/tools/text/dirdiff/default.nix
··· 23 done 24 ''; 25 26 # If we don't create the directories ourselves, then 'make install' creates 27 # files named 'bin' and 'lib'. 28 preInstall = '' ··· 54 homepage = "https://www.samba.org/ftp/paulus/"; 55 license = licenses.gpl2Plus; 56 maintainers = with maintainers; [ khumba ]; 57 - platforms = platforms.linux; 58 }; 59 }
··· 23 done 24 ''; 25 26 + env = { 27 + NIX_CFLAGS_COMPILE = "-DUSE_INTERP_RESULT"; 28 + NIX_LDFLAGS = "-ltcl"; 29 + }; 30 + 31 # If we don't create the directories ourselves, then 'make install' creates 32 # files named 'bin' and 'lib'. 33 preInstall = '' ··· 59 homepage = "https://www.samba.org/ftp/paulus/"; 60 license = licenses.gpl2Plus; 61 maintainers = with maintainers; [ khumba ]; 62 + platforms = platforms.unix; 63 }; 64 }
+1 -4
pkgs/top-level/all-packages.nix
··· 6944 6945 dsp = callPackage ../tools/audio/dsp { }; 6946 6947 - dirdiff = callPackage ../tools/text/dirdiff { 6948 - tcl = tcl-8_5; 6949 - tk = tk-8_5; 6950 - }; 6951 6952 dwdiff = callPackage ../applications/misc/dwdiff { }; 6953
··· 6944 6945 dsp = callPackage ../tools/audio/dsp { }; 6946 6947 + dirdiff = callPackage ../tools/text/dirdiff { }; 6948 6949 dwdiff = callPackage ../applications/misc/dwdiff { }; 6950