dirdiff: add darwin support

This commit is contained in:
Weijia Wang 2023-06-08 17:48:23 +03:00
parent 63410a7779
commit 337bc2233c
2 changed files with 7 additions and 5 deletions

View file

@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
done
'';
env = {
NIX_CFLAGS_COMPILE = "-DUSE_INTERP_RESULT";
NIX_LDFLAGS = "-ltcl";
};
# If we don't create the directories ourselves, then 'make install' creates
# files named 'bin' and 'lib'.
preInstall = ''
@ -54,6 +59,6 @@ stdenv.mkDerivation rec {
homepage = "https://www.samba.org/ftp/paulus/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ khumba ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -6944,10 +6944,7 @@ with pkgs;
dsp = callPackage ../tools/audio/dsp { };
dirdiff = callPackage ../tools/text/dirdiff {
tcl = tcl-8_5;
tk = tk-8_5;
};
dirdiff = callPackage ../tools/text/dirdiff { };
dwdiff = callPackage ../applications/misc/dwdiff { };