Unverified Commit 42519c85 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

xsokoban: support darwin (#464042)

parents 956c7ae2 73f2370c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ stdenv.mkDerivation rec {

  prePatch = ''
    substituteInPlace Makefile.in --replace 4755 0755
    substituteInPlace externs.h --replace 'malloc.h' 'stdlib.h'
  '';

  preConfigure = ''
@@ -65,6 +66,6 @@ stdenv.mkDerivation rec {
    mainProgram = "xsokoban";
    license = licenses.publicDomain;
    maintainers = [ maintainers.raskin ];
    platforms = platforms.linux;
    platforms = platforms.unix;
  };
}