summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2024-06-02 16:01:22 +0200
committerJan Tojnar <jtojnar@gmail.com>2024-06-04 09:36:06 +0200
commit1c87deda6286628e3cb2585a2cc717b2874e8e6d (patch)
tree10954ea5b17292ca5594fb46713c154c61e18fef /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parentad57eef4ef0659193044870c731987a6df5cf56b (diff)
release: disallow aliases
Having multiple attributes point to the same derivation makes debugging harder because you often cannot just grep the canonical attribute name. It is even annoying when multiple aliases are chained. Having Hydra build aliases is recognized as redundant https://github.com/NixOS/nixpkgs/commit/2d0a7c4eeecd22f26eb37f6077a0397c32250375 so let’s do the same with their evaluation. This commit will make Hydra ignore aliases when evaluating. A nice benefit of this is that it will allow us to warn users when an attribute is renamed, to assist them with early migration. Since tracing messages during evaluation are not allowed because of Hydra, we can currently only choose between having a silent alias and throwing. This was last attempted in 2018 but ended up being reverted because of widespread use of aliases that was not caught by CI: https://github.com/NixOS/nixpkgs/commit/8c025c67d5a151055ef63d2b0d94921604ff0f62 CI has since been improved: https://github.com/NixOS/ofborg/commit/cda5aa2ac77a70bb5660d8d5614a640aacbe7523
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions