1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00

Update get-flake to its upstream, flake-compat

flake-compat now has an equally general interface, so we can switch
to it, and get fixes a bit sooner.

Specifically, https://github.com/edolstra/flake-compat/pull/67
solves https://github.com/hercules-ci/flake-parts/issues/252
in this update.
This commit is contained in:
Robert Hensing 2024-12-04 12:33:13 +01:00
parent e37654df08
commit 85954c907b

View file

@ -83,13 +83,12 @@ let
# Nix does not recognize that a flake like "${./dev}", which is a content # Nix does not recognize that a flake like "${./dev}", which is a content
# addressed store path is a pure input, so we have to fetch and wire it # addressed store path is a pure input, so we have to fetch and wire it
# manually with get-flake. # manually with flake-compat.
# TODO: update this get-flake = src: (flake-compat { inherit src; system = throw "operating flake-compat in pure mode; system not allowed to be used"; }).outputs;
get-flake = import (builtins.fetchTree { # TODO: update
type = "github"; flake-compat = import (builtins.fetchTarball {
owner = "ursi"; url = "https://github.com/edolstra/flake-compat/archive/9ed2ac151eada2306ca8c418ebd97807bb08f6ac.tar.gz";
repo = "get-flake"; sha256 = "sha256:063slk1np1g1dkh21a82x655kpja7p4pc74rb3lqankyrbbpy4hx";
rev = "a6c57417d1b857b8be53aba4095869a0f438c502";
}); });
in in