Skip to content

[Demo] splice.nix: hybrid implementation of Gentoo-like use-flags#56158

Closed
oxij wants to merge 1 commit intoNixOS:masterfrom
oxij:demo/hybryd-use-flags
Closed

[Demo] splice.nix: hybrid implementation of Gentoo-like use-flags#56158
oxij wants to merge 1 commit intoNixOS:masterfrom
oxij:demo/hybryd-use-flags

Conversation

@oxij
Copy link
Copy Markdown
Member

@oxij oxij commented Feb 21, 2019

Now, instantiate `mpv`, add

```
use = {
  pulseaudio = false;
};
```

Instantiate `mpv` again. Compare drvs.
@oxij oxij changed the title splice.nix: hybrid implementation of Gentoo-like use-flags [Demo] splice.nix: hybrid implementation of Gentoo-like use-flags Feb 21, 2019
@grahamc
Copy link
Copy Markdown
Member

grahamc commented Feb 21, 2019

Sounds like an actual RFC might be in order.

@oxij
Copy link
Copy Markdown
Member Author

oxij commented Feb 21, 2019

Sure, but Code > Literature. Let's explore all alternatives first.

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Feb 21, 2019
@danbst
Copy link
Copy Markdown
Contributor

danbst commented Feb 21, 2019

wow, such clean, much use! No patches were required to make mpv example work.

@7c6f434c
Copy link
Copy Markdown
Member

@oxij Writing literature would hopefully clarify the requirement trade-offs, and without a few decisions on trade-offs the enumeration space for code is even larger. Requirements > Generic Literature.

… But this version is indeed nice.

@oxij
Copy link
Copy Markdown
Member Author

oxij commented Feb 23, 2019

Closed in favor of #56227.

@oxij
Copy link
Copy Markdown
Member Author

oxij commented Feb 23, 2019

@7c6f434c I think RFCs make sense for something non-trivial, massive, or controversial. This and #56227 are neither.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants