anchor.diff:  , pkgs ? (import (localLib.fetchNixPkgs) { inherit system config; })
   # profiling slows down performance by 50% so we don't enable it by default
   , enableProfiling ? false
  +, enableDebugging ? false
   }:
   
   with pkgs.lib;
  
positive.code:     overrides = self: super: {
        cardano-sl = overrideCabal super.cardano-sl (drv: {
          # production full nodes shouldn't use wallet as it means different constants
          configureFlags = [
            "-f-asserts"
            "-f-dev-mode"
          ];
  
negative.code:         };
        });
        cardano-sl-core = overrideCabal super.cardano-sl-core (drv: {
          configureFlags = (drv.configureFlags or []) ++ [
            "-f-asserts"
            "-f-dev-mode"
            "--ghc-options=-DGITREV=${gitrev}"
  