Skip to content

Indirections for packaging meson-based granular build for Nixpkgs#11055

Merged
roberth merged 2 commits intomasterfrom
packaging-for-nixpkgs
Jul 7, 2024
Merged

Indirections for packaging meson-based granular build for Nixpkgs#11055
roberth merged 2 commits intomasterfrom
packaging-for-nixpkgs

Conversation

@roberth
Copy link
Copy Markdown
Member

@roberth roberth commented Jul 6, 2024

Motivation

Make it so that we don't have provide monolithic build in addition to the component-wise expressions.

This PR makes it possible to vendor the package.nix expressions and build them with an unfiltered fixed-output derivation source.

See prototype

  • pkgs/tools/package-management/nix/granular/README.md
  • pkgs/tools/package-management/nix/default.nix
  • pkgs/tools/package-management/nix/granular/default.nix (adapted from flake.nix)
  • pkgs/tools/package-management/nix/granular/dependencies.nix (adapted from packaging/dependencies.nix)
  • the rest is vendored verbatim

Context

Priorities and Process

Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added fetching Networking with the outside (non-Nix) world, input locking c api Nix as a C library with a stable interface labels Jul 6, 2024
@roberth roberth force-pushed the packaging-for-nixpkgs branch from 2773375 to bea54d1 Compare July 6, 2024 17:50
Base automatically changed from meson-fixes to master July 6, 2024 21:11
@roberth roberth marked this pull request as ready for review July 7, 2024 00:03
@roberth roberth merged commit a959207 into master Jul 7, 2024
@roberth roberth deleted the packaging-for-nixpkgs branch July 7, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c api Nix as a C library with a stable interface fetching Networking with the outside (non-Nix) world, input locking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants