anchor.diff:      sha256 = "163l1y4p2a564d4ynfq3k3xf53j2v5s81blb6cvpn1y7rpxyccd0";
     };
   
  -  outputs = [ "dev" "out" "libudev" "doc" ];
  +  outputs = [ "out" "libudev" "doc" ]; # TODO: "dev"
  +  # note: there are many references to ${systemd}/...
  +  outputDev = "out";
  +  propagatedOutputs = "libudev";
   
     patches =
       [ # These are all changes between upstream and
  
positive.code:         patchelf --set-rpath `patchelf --print-rpath "$f"`':${extraLibs}' "$f"
        done
      '';
  
    # propagate the libudev output
    postPhases = "postPostFixup";
    postPostFixup = ''
      echo -n " $libudev" >> "$dev"/nix-support/propagated-*build-inputs
    '';
  
    # The interface version prevents NixOS from switching to an
    # incompatible systemd at runtime.  (Switching across reboots is
  
negative.code:     '';
  
    makeFlags = [
      "udevlibexecdir=$(libudev)/lib/udev"
      # udev rules refer to $out, and anything but libs should probably go to $out
      "udevrulesdir=$(out)/lib/udev/rules.d"
      "udevhwdbdir=$(out)/lib/udev/hwdb.d"
    ];
  
    # This is needed because systemd uses the gold linker, which doesn't
    # yet have the wrapper script to add rpath flags automatically.
    NIX_LDFLAGS = "-rpath ${pam.out}/lib -rpath ${libcap.out}/lib -rpath ${acl.out}/lib -rpath ${stdenv.cc.cc.lib}/lib";
  
    PYTHON_BINARY = "${coreutils}/bin/env python"; # don't want a build time dependency on Python
  
  