NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
11.45k stars 1.44k forks source link

Build with nixpkgs scope #10963

Closed roberth closed 5 days ago

roberth commented 5 days ago

Motivation

Use a Nixpkgs scope instead of top level "pkgs" attributes. This is a pattern that could be applied in Nixpkgs proper, so it brings us closer to being able to share code with Nixpkgs, which also has to implement the meson migration. (Just closer; more work needs to be done)

Context

Priorities and Process

Add :+1: to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

roberth commented 5 days ago

I'm more a fan of transposing the "system" attribute so that it "comes first in the attribute paths you actually think with", or more concretely you only bring it into scope like once, instead of a .${system} on every other line, but other than that, I guess it might be ok for a flake without a framework.