Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

add clarifying example to nix-env output selection #8990

Merged

Conversation

fricklerhandwerk
Copy link
Contributor

Motivation

there is a very confusing warning in the Nixpkgs manual that mischaracterises nix-env behavior, and this example shows what's really happening.

Context

note that it doesn't use pkgs.runCommand or other pkgs.stdenv facilities, as deep down those set meta.outputsToInstall to very particular defaults that do not generally apply to Nix.

Priorities

Add 馃憤 to pull requests you find important.

there is a very confusing warning in the Nixpkgs manual that
mischaracterises `nix-env` behavior, and this example shows what's
really happening.

note that it doesn't use `pkgs.runCommand` or other `pkgs.stdenv`
facilities, as deep down those set `meta.outputsToInstall` to very
particular defaults that do not generally apply to Nix.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-09-21-documentation-team-meeting-notes-81/33490/1

@fricklerhandwerk fricklerhandwerk deleted the example-nix-env-install-outputs branch October 9, 2023 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants