-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redundant nixpkgs
instances
#150
Comments
This seems to work for me: diff --git a/flake.nix b/flake.nix
index 40073a1..356a50d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,8 +1,12 @@
{
description = "Hercules CI Effects";
- inputs.nixpkgs.url = "github:NixOS/nixpkgs";
- inputs.hercules-ci-agent.url = "hercules-ci-agent";
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs";
+ hercules-ci-agent.url = "hercules-ci-agent";
+ hercules-ci-agent.inputs.nixpkgs.follows = "nixpkgs";
+ flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
+ };
outputs = inputs@{ self, nixpkgs, hercules-ci-agent, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } I haven't tested anything beyond |
This will be a non-issue after |
This was referenced Oct 24, 2023
Have followed about as much as possible. You could add a follows for the remaining |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This flake instantiates redundant
nixpkgs
instances, even withfollows
:Can we add
follows
to this flake to prevent this? I tried looking over theflake.nix
, but I'm not sure where theflake-parts
input is coming from.The text was updated successfully, but these errors were encountered: