anchor.diff:      platforms = platforms.linux;
     };
   }
  +# TODO: report upstream that `which` is not POSIX; the `command` shell builtin
  +# should be used instead
  
positive.code:     freetype
    ];
  
    preBuild = ''
      makeFlagsArray+=( PREFIX="${placeholder "out"}"
                        X11INC="${libX11.dev}/include"
                        X11LIB="${libX11}/lib"
                        XINERAMALIBS="-lXinerama"
                        XINERAMAFLAGS="-DXINERAMA"
                        FREETYPELIBS="-lfontconfig -lXft"
                        FREETYPEINC="${freetype.dev}/include/freetype2" )
    '';
  
    meta = with lib; {
      description = "A healthy, bite-sized window manager";
  
negative.code: { lib
  , stdenv
  , fetchFromGitHub
  , copyDesktopItems
  , fontconfig
  , freetype
  , libX11
  , libXext
  , libXft
  , libXinerama
  , makeDesktopItem
  , pkg-config
  , which
  }:
  
  stdenv.mkDerivation rec {
    pname = "berry";
    version = "0.1.9";
  
    src = fetchFromGitHub {
      owner = "JLErvin";
      repo = pname;
      rev = version;
      hash = "sha256-E1kjqSv2eylJ/9EGcxQrJ2P7VaehyUiirk0TxlPWSnM=";
    };
  
    nativeBuildInputs = [
      copyDesktopItems
      pkg-config
      which
    ];
  
    buildInputs =[
      libX11
  