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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow unfree packages in flake? #9

Closed
fufexan opened this issue Jan 13, 2022 · 6 comments
Closed

Allow unfree packages in flake? #9

fufexan opened this issue Jan 13, 2022 · 6 comments

Comments

@fufexan
Copy link
Owner

fufexan commented Jan 13, 2022

The current mechanism doesn't include that, but we do provide packages with unfree licenses, such as osu-lazer-bin, and maybe others in the future.

Should we enable allowUnfree in this flake, and implicitly in users' flake configs? Or should we leave it as is, requiring users to add
NIXPKGS_ALLOW_UNFREE=1 nixos-rebuild ... --impure when building?

@MagicRB
Copy link
Contributor

MagicRB commented Jan 13, 2022

No you should make it configurable IMO, definitely not allow by default. By default IMO osu-lazer-bin should be disabled too, it should be opt in with a fat warning.

@fufexan
Copy link
Owner Author

fufexan commented Jan 13, 2022

Sure! Any idea how I could make something like that (using something like nix-gaming.allowUnfree, like the nixpkgs mechanism)?

@MagicRB
Copy link
Contributor

MagicRB commented Jan 13, 2022

I'll take a look at the code.

@fufexan
Copy link
Owner Author

fufexan commented Jan 13, 2022

Take a look at the rewritten flake branch for a utils-free flake that may make implementing this easier.

@MagicRB
Copy link
Contributor

MagicRB commented Jan 13, 2022

I just wanted to say how much I hate fup but removing it won't help in this case. We need a functions somewhere Bool -> Something there are two places, in the outputs which would make the whole CLI break for nix-gaming or inputs

@fufexan
Copy link
Owner Author

fufexan commented Jan 20, 2022

Following the decision that only packages would be affected by the change, I'll enable unfree packages.

@fufexan fufexan closed this as completed Jan 20, 2022
PedroHLC pushed a commit to PedroHLC/nix-gaming that referenced this issue Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants