From 9ba353558a288eb9d6fc3057bb418509dd8b4c01 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Mon, 15 Dec 2025 16:34:36 +0100 Subject: [PATCH] flake: lock base16-fish input to custom patchset (#2092) Closes: https://github.com/nix-community/stylix/issues/526 Link: https://github.com/nix-community/stylix/pull/2092 Link: https://github.com/tomyun/base16-fish/pull/16 Tested-by: Rafael Alexander Muijsert Approved-by: Rafael Alexander Muijsert --- flake.lock | 8 ++++---- flake.nix | 11 ++++------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index f4e01057..fbcfb39f 100644 --- a/flake.lock +++ b/flake.lock @@ -21,17 +21,17 @@ "base16-fish": { "flake": false, "locked": { - "lastModified": 1754405784, - "narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", + "lastModified": 1765809053, + "narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=", "owner": "tomyun", "repo": "base16-fish", - "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", + "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782", "type": "github" }, "original": { "owner": "tomyun", "repo": "base16-fish", - "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", + "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 9a0502da..34123959 100644 --- a/flake.nix +++ b/flake.nix @@ -13,16 +13,13 @@ # keep-sorted start block=yes newline_separated=yes base16-fish = { - # Lock the base16-fish input to a custom patch [2] ("Make autosuggestion - # and comment base03"), since it is currently impossible to apply patches + # Lock the base16-fish input to a custom patchset that cherry-picks + # pending patches [2], since it is currently impossible to apply patches # to flake inputs [1] ("Support flake references to patches"). # - # Once this single-patch approach no longer scales, the repository should - # be properly forked, if [2] has still not been merged. - # # [1]: https://github.com/NixOS/nix/issues/3920 - # [2]: https://github.com/tomyun/base16-fish/pull/12 - url = "github:tomyun/base16-fish/23ae20a0093dca0d7b39d76ba2401af0ccf9c561"; + # [2]: https://github.com/tomyun/base16-fish/pull/16 + url = "github:tomyun/base16-fish/86cbea4dca62e08fb7fd83a70e96472f92574782"; flake = false; };