(the issue is gone …)
Maybe this - Build failure: frei0r · Issue #549395 · NixOS/nixpkgs · GitHub - but you’ll have to --show-trace to confirm.
(That’s not the --show-trace output, clearly.)
It looks based on your trace like something is setting system.activationScripts.applications.text in a way that libdrm is being added as a dependency (probably string context dependency?).
I’m not really familiar with nix-darwin, so you’ll have to find the entry point, but on nixos with entrypoint <nixpkgs/nixos> if something was being added to option environment.systemPackages I would do:
nix-repl> s = import <nixpkgs/nixos> { configuration = ./configuration.nix; }
nix-repl> :p s.options.environment.systemPackages.definitionsWithLocations
and then look manually for a entry.