-
Notifications
You must be signed in to change notification settings - Fork 41
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
Nixpkgs module #74
Comments
Could we have more than one |
Good idea. The root |
For Rosetta, you can already get a |
I would just use https://github.com/NixOS/nixpkgs/blob/3b4e70e987a42792196294560a233d285b1c1d10/nixos/modules/misc/nixpkgs.nix ml-ops.inputs.flake-parts.lib.mkFlake { inherit inputs; } {
perSystem = { pkgs, system, ... }:
{
imports = [
"${inputs.nixpkgs}/nixos/modules/misc/nixpkgs.nix"
];
nixpkgs = {
hostPlatform = system;
# other options, e.g.
# config.allowUnfree = true;
};
};
} |
I'd previously opened NixOS/nixpkgs#231940 with the idea to import from that, but I've since realized that Nixpkgs needs an exception, because I'm sorry to have gone back and forth on this, but at least we didn't commit to a mistake in the meanwhile. Aforementioned Nixpkgs makes a number of improvements which we should adopt in the It could look as follows:
|
It’d also be nice to have |
Even an attribute as innocent as We have better ways to convey values, such as |
Prototype a more extensive Nixpkgs module in flake-parts before perhaps eventually doing #41
https://twitter.com/ldesgoui/status/1592576468789628928
The text was updated successfully, but these errors were encountered: