cdepillabout / cdepillabout/stacklock2nix

generate overlay of built-in packages automatically

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Nix
Stars
57
Forks
11
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/cdepillabout/stacklock2nix/pull/12, I introduced a way for stacklock2nix to generate a completely new package set. Part of this includes creating an overlay that has the GHC boot packages set to null:

https://github.com/cdepillabout/stacklock2nix/blob/79f2b1fbac4a4fc744d63add3ca8a2636a9d84ba/nix/build-support/stacklock2nix/default.nix#L661-L710

I think this overlay could likely be defined automatically, without it having to be hard-coded. Here's a function from Nixpkgs doing something similar:

https://github.com/NixOS/nixpkgs/pull/217124

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.