You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a tracking issue to follow progress towards __structuredAttrs compatibility in Nixpkgs. This list is not exhaustive; please feel free to add or comment more issue or PRs you feel are related.
Core
Things relating to adding support for __structuredAttrs to setup hooks or tooling used for ecosystems.
Note
Originally started by @Artturin, updated by @ConnorBaker and @wolfgangwalther.
This is a tracking issue to follow progress towards
__structuredAttrscompatibility in Nixpkgs. This list is not exhaustive; please feel free to add or comment more issue or PRs you feel are related.Core
Things relating to adding support for
__structuredAttrsto setup hooks or tooling used for ecosystems.Open
Issues
substituteAllis a terrible function and we need to stop using it / fix it respectively #237216PRs
cmakeEntries#442017__structuredAttrs = trueand passcurlOptsListandsparseCheckoutas lists #464475TODO
$stdenv/setupwork with structuredAttrs in:nixpkgs/pkgs/development/web/nodejs/node-npm-build-npm-package-logic.patch
Line 53 in d225878
$stdenv/setupwork with structuredAttrs in:nixpkgs/pkgs/build-support/docker/default.nix
Lines 1170 to 1171 in d225878
getAllOutputNamesconsistent with and without structuredAttrs. Related: arrayUtilities: init #385960 (comment) - careful about jdk{8,11,17,23,24}: always enable __structuredAttrs; cleanup #425773 (comment).Done
Issues
Nix
__structuredAttrsnix#7429Nixpkgs
__structuredAttrs = true#289037vmTools.runInLinuxVMfails upon__structuredAttrs = true, complainingmkdir: missing operand#334705PRs
Nix
nix-shellwith__structuredAttrs = true;nix#4770Nixpkgs
__structuredAttrsinstdenv.mkDerivation#65686envgracefully #205944NIX_ATTRS_{JSON,SH}_FILEto be set correctly by Nix #214937inputDerivation: supportstructuredAttrs#215173NIX_ATTRS_*_FILEover.attrs.*#257919*Phasesvariables__structuredAttrs-agnostically #339117__structuredAttrs = true#347194__structuredAttrs = true(the easier ones) #351734hardeningEnablewith__structuredAttrs = true;#353131__structuredAttrs = true;#353142createEmptyImage/preVMcase #358705envattribute to pass environment variables #359641ldflagsandtags__structuredAttrs-agnostically #360037Misc
Things related to
__structuredAttrsof some note, like discussions or work suspended until better support for__structuredAttrsis implemented.Open
Issues
PRs
pathspre-instantiation filtering and sorting #300722cmakeDefaultFlags#335682stdenv#336837Done
PRs
cmakeFlagsmore ergonomic #17886__structuredAttrs#214373makeWrapperArgsoverridable #374270pytestFlagsArray#424782