[Demo] splice.nix: poor man's implementation of Gentoo-like use-flags#56109
[Demo] splice.nix: poor man's implementation of Gentoo-like use-flags#56109oxij wants to merge 1 commit intoNixOS:masterfrom
Conversation
Now, instantiate `mpv`, add
```
poorMansUseFlags = {
pulseaudioSupport = false;
};
```
(Sure, there is `pulseaudio` option already, I wanted to propose to set `x11Support`, but setting it breaks evaluation ATM...)
Instantiate `mpv` again. Compare drvs.
|
This pull request has been mentioned on Nix community. There might be relevant details there: |
|
On a second thought, this seems to be basic needed change. Just replace The actual The consensus on naming things has indeed to go through RFC. But what is nice about this PR, it doesn't need that consensus, so I guess this (this idea, I mean) can be merged without RFC. We can also cc Graham C. on whether RFC is required for this. |
|
Closed in favor of #56227. |
What? Why?
See #56110.
git logsplice.nix: poor man's implementation of Gentoo-like use-flags
Now, instantiate
mpv, add(Sure, there is
pulseaudiooption already, I wanted to propose to setx11Support, but setting it breaks evaluation ATM...)Instantiate
mpvagain. Compare drvs.nix-instantiateenvironmentnix-env -qaPdiffs