anchor.diff: -{ lib, stdenv
  +{ lib
  +, stdenv
  +, symlinkJoin
   , fetchurl
   , fetchzip
   , sconsPackages
   , zlib
  +, libiconv
   }:
   
   stdenv.mkDerivation rec {
  
positive.code:     description = "A free scriptable win32 installer/uninstaller system that doesn't suck and isn't huge";
      homepage = "https://nsis.sourceforge.io/";
      license = licenses.zlib;
      platforms = platforms.linux;
      maintainers = with maintainers; [ pombeirp ];
    };
  }
  
negative.code:   '';
  
    nativeBuildInputs = [ sconsPackages.scons_3_1_2 ];
    buildInputs = [ zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
  
    CPPPATH = symlinkJoin {
       name = "nsis-includes";
       paths = [ zlib.dev ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
    };
  
    LIBPATH = symlinkJoin {
      name = "nsis-libs";
      paths = [ zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
    };
  
    sconsFlags = [
      "SKIPSTUBS=all"
      "SKIPPLUGINS=all"
      "SKIPUTILS=all"
      "SKIPMISC=all"
      "NSIS_CONFIG_CONST_DATA=no"
    ] ++ lib.optional stdenv.isDarwin "APPEND_LINKFLAGS=-liconv";
  
    preBuild = ''
      sconsFlagsArray+=(
        "PATH=$PATH"
        "CC=$CC"
        "CXX=$CXX"
        "APPEND_CPPPATH=$CPPPATH/include"
        "APPEND_LIBPATH=$LIBPATH/lib"
      )
    '';
  
    prefixKey = "PREFIX=";
  