anchor.diff:      cp -Rv $BUILDDIR/target/bin/rkt $out/bin
   
       mkdir -p $out/lib/rkt/stage1-images/
  -    cp -Rv $BUILDDIR/target/bin/stage1-*.aci $out/lib/rkt/stage1-images/
  +    cp -Rv $BUILDDIR/target/bin/stage1-*.aci $out/${stage1Dir}/
   
       wrapProgram $out/bin/rkt \
         --prefix LD_LIBRARY_PATH : ${systemd}/lib \
  
positive.code:       --with-coreos-local-pxe-image-path=${stage1BaseImage}
        --with-coreos-local-pxe-image-systemd-version=v${coreosImageSystemdVersion}
        " else "" }
      );
    '';
  
  
negative.code: 
    # TODO: track https://github.com/coreos/rkt/issues/1758 to allow "host" flavor.
    stage1Flavours = [ "coreos" "fly" ];
    stage1Dir = "lib/rkt/stage1-images";
  
  in stdenv.mkDerivation rec {
    version = "1.11.0";
  