anchor.diff:    '' + (if genBytecode then ''
       ${bqn-path} genRuntime ${mbqn-source}
     '' else ''
  -    cp ${cbqn-bytecode-files}/src/gen/{compiler,formatter,runtime0,runtime1,src} src/gen/
  +    cp ${cbqn-bytecode-files}/src/gen/{compiles,formatter,runtime0,runtime1,src} src/gen/
     '');
   
     installPhase = ''
  
positive.code:     homepage = "https://github.com/dzaima/CBQN/";
      description = "BQN implementation in C";
      license = licenses.gpl3Plus;
      maintainers = with maintainers; [ AndersonTorres sternenseemann synthetica ];
      platforms = platforms.all;
    };
  }
  
negative.code:     name = "cbqn-bytecode-files";
      owner = "dzaima";
      repo = "CBQN";
      rev = "c39653c898531a2cdbf4cc5c764df6e37b1894a4";
      hash = "sha256-JCEmkwh5Rv5+NQoxvefSrYnayU892/Wam+gjMgcQmO0=";
    };
  in
  assert genBytecode -> ((bqn-path != null) && (mbqn-source != null));
  
  stdenv.mkDerivation rec {
    pname = "cbqn" + lib.optionalString (!genBytecode) "-standalone";
    version = "0.pre+date=2022-05-06";
  
    src = fetchFromGitHub {
      owner = "dzaima";
      repo = "CBQN";
      rev = "3496a939b670f8c9ca2a04927378d6b7e9abd68e";
      hash = "sha256-P+PoY4XF9oEw7VIpmybvPp+jxWHEo2zt1Lamayf1mHg=";
    };
  
    dontConfigure = true;
  