nixpkgs/pkgs/build-support/fetchurl/write-mirror-list.sh
Wolfgang Walther cf127c9dc3
treewide: load structured attributes in all bash builders consistently
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.
2024-12-29 18:36:47 +01:00

3 lines
67 B
Bash

# !!! this is kinda hacky.
set | grep -E '^[a-zA-Z]+=.*://' > $out