anchor.diff:  { config, lib, pkgs, ... }:
   
  -let
  - #  myclojureenv = pkgs.myEnvFun {
  - #    name = "clojure";
  - #    buildInputs = with pkgs; [
  - #      leiningen clojure
  - #    ];
  - #  };
  - #  mypythonenv = pkgs.myEnvFun {
  - #    name = "python";
  - #    buildInputs = with pkgs; [
  - #      python python3 python35Packages.bpython
  - #    ];
  - #  };
  - #  myrubyenv = pkgs.myEnvFun {
  - #    name = "ruby";
  - #    buildInputs = with pkgs; [
  - #      ruby
  - #    ];
  - #  };
  - #  myschemeenv = pkgs.myEnvFun {
  - #    name = "scheme";
  - #    buildInputs = with pkgs; [
  - #      chicken
  - #    ];
  - # };
  - # myrustenv = pkgs.myEnvFun {
  - #   name = "rust";
  - #     buildInputs = with pkgs; [
  - #       rustc
  - #   ];
  - # };
  -
  -in {
  +{
     options = {
       myconfig.roles.work = {
         enable = lib.mkEnableOption "Work role";
  
positive.code: 
            inkscape
  
            blender
            librecad
          ];
        };
  
negative.code:               name = "thrift-${version}";
              in {
                thrift93 = super.thrift.overrideAttrs ( oldAttrs: {
                  inherit name version;
                  src = self.fetchurl {
                    url = "http://archive.apache.org/dist/thrift/${version}/${name}.tar.gz";
                    sha256 = "17lnchan9q3qdg222rgjjai6819j9k755s239phdv6n0183hlx5h";
                  };
                });
              })
              (self: super:
               let
                 name = "idea-ultimate-${version}";
                 version = "2017.3.3";
                 oldVersion = "2017.2.5"; # super.lib.getVersion super.idea.idea-ultimate;
                 overlayIsNewer =  super.lib.versionOlder oldVersion version;
               in super.lib.optionalAttrs overlayIsNewer {
                 idea-ultimate = super.idea.idea-ultimate.overrideAttrs ( oldAttrs: {
                   inherit name version;
                   src = super.fetchurl {
                     url = "https://download.jetbrains.com/idea/ideaIU-${version}.tar.gz";
                     sha256 = "0mbyb31kc9d52hnbn9dclbw0q9y0c6pi8351rbq68jphslm3i9q5";
                   };
                 });
               })];
          environment.systemPackages = with pkgs; [
            openvpn networkmanager_openvpn
            rdesktop
            unstable.openjdk unstable.maven unstable.gradle
            # libreoffice
            hipchat franz
  