-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdenv: support opt-in __structuredAttrs #175649
Commits on Dec 8, 2022
-
stdenv: support opt-in __structuredAttrs
Co-authored-by: Robin Gloster <mail@glob.in> stdenv: print message if structuredAttrs is enabled stdenv: add _append reduces the chance of a user doing it wrong fix nix develop issue output hooks don't work yet in nix develop though making $outputs be the same on non-structuredAttrs and structuredAttrs is too much trouble. lets instead make a function that gets the output names reading environment file '/nix/store/2x7m69a2sm2kh0r6v0q5s9z1dh41m4xf-xz-5.2.5-env-bin' nix: src/nix/develop.cc:299: std::string Common::makeRcScript(nix::ref<nix::Store>, const BuildEnvironment&, const Path&): Assertion `outputs != buildEnvironment.vars.end()' failed. use a function to get all output names instead of using $outputs copy env functionality from https://github.com/NixOS/nixpkgs/pull/76732/commits
1Configuration menu - View commit details
-
Copy full SHA for 238a605 - Browse repository at this point
Copy the full SHA 238a605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4820e - Browse repository at this point
Copy the full SHA 1c4820eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad0103 - Browse repository at this point
Copy the full SHA 8ad0103View commit details -
allow derivation attributes in env
derivations can be coerced to their output paths
Configuration menu - View commit details
-
Copy full SHA for 734d7df - Browse repository at this point
Copy the full SHA 734d7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for adc8900 - Browse repository at this point
Copy the full SHA adc8900View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18d00c5 - Browse repository at this point
Copy the full SHA 18d00c5View commit details -
stdenv: export system pname name version for substituteAll
so we don't have to add these to the env attrset
Configuration menu - View commit details
-
Copy full SHA for bb914d8 - Browse repository at this point
Copy the full SHA bb914d8View commit details -
treewide: source .attrs in builders
if theres a source $stdenv then this is needed for structuredAttrs
Configuration menu - View commit details
-
Copy full SHA for c01f509 - Browse repository at this point
Copy the full SHA c01f509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02e3f51 - Browse repository at this point
Copy the full SHA 02e3f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for c41cc9e - Browse repository at this point
Copy the full SHA c41cc9eView commit details -
nix-repl> legacyPackages.x86_64-linux.fastStdenv error: The ‘env’ attribute set cannot contain any attributes passed to derivation. The following attributes are overlapping: cc «derivation
Configuration menu - View commit details
-
Copy full SHA for c577eb6 - Browse repository at this point
Copy the full SHA c577eb6View commit details -
what to do about attrs.env or {} maybe have a empty env attrset always
so no need to use `or`
Configuration menu - View commit details
-
Copy full SHA for 89dc806 - Browse repository at this point
Copy the full SHA 89dc806View commit details
Commits on Dec 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fda61e9 - Browse repository at this point
Copy the full SHA fda61e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68fb254 - Browse repository at this point
Copy the full SHA 68fb254View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf972f1 - Browse repository at this point
Copy the full SHA bf972f1View commit details -
stdenv: detect the type of variable in {prepend,append}ToVar
stdenv: error if using {prepend,append}ToVar on associative array i don't know how to prepend to associative array
Configuration menu - View commit details
-
Copy full SHA for 11c3127 - Browse repository at this point
Copy the full SHA 11c3127View commit details