mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
It's hard to put the sourcing of ./.attrs.sh into all builder consistently - mistakes will happen. Thus, load structured attrs once in make-derivation and then source the remaining builder on top. This should fix quite a few builders with structured attributes in principle. Most importantly it helps substitute / substituteAll, which are required for bootstrap on some platforms.
3 lines
67 B
Bash
3 lines
67 B
Bash
# !!! this is kinda hacky.
|
|
set | grep -E '^[a-zA-Z]+=.*://' > $out
|