@@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
99 sha256 = "0a3h1b9fb87c82d5fbql5lc4gp338pa5s9i66dhw7zk8jdygx474";
1010 };
1111
12+ patches = [
13+ ./getopt_on_darwin.patch
14+ ];
15+
1216 configurePhase = ''
1317 sed -i -r Makefile \
1418 -e 's,/usr/,/,g' \
@@ -38,7 +42,7 @@ stdenv.mkDerivation rec {
3842 trees or files; and vifn, to invoke vi given a function name rather
3943 than a file name.
4044 '';
41− platforms = platforms.linux;
4245 maintainers = with maintainers; [ peterhoeg ];
46+ platforms = platforms.unix;
4347 };
4448}