Skip to content

How to apply nixpkgs patch before PR lands in channel #151

Open

Description

@OliverGeneser

Is it possible to apply patches to nixpkgs in Snowfall Lib?

Something like:

lib.mkFlake {
      channels.nixpkgs = {
        input = inputs.nixpkgs;
        patches = [
          (inputs.fetchpatch {
            url = "https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/370304.patch";
            sha256 = lib.fakeSha256;
          })
        ];
        config.allowUnfree = true;
      };
...

Or how would I apply patches to nixpkgs before they land in the stable/unstable channel?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions