anchor.diff:      '';
       
       buildPhase = ''
  -        ./build.sh nixbuild build
  +        ${bash}/bin/bash ./build.sh nixbuild build
       '';
       
       installPhase = ''
  
positive.code: { stdenv, pkgs, gccAvrAtmel, gcc-arm-embedded, asf, teensyCores, buildName, boardName, mainText }:
  
  let
      boardDefinitions = import ./boards.nix;
  
negative.code:     
      needTeensyCores = board.platform == "teensy";
      
      targetFile = writeText "aprinter-nixbuild.sh" ''
          ${stdenv.lib.optionalString isAvr "CUSTOM_AVR_GCC=${gccAvrAtmel}/bin/avr-"}
          ${stdenv.lib.optionalString isArm "CUSTOM_ARM_GCC=${gcc-arm-embedded}/bin/arm-none-eabi-"}
          ${stdenv.lib.optionalString needAsf "CUSTOM_ASF=${asf}"}
  