From 9332cf7c0eac27ed5c00ec19e87d4d76b56f223a Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Thu, 15 Aug 2024 04:25:24 -0400 Subject: flake: convert to call-flake dep on clef --- flake.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3e7839c..b2d78b2 100644 --- a/flake.nix +++ b/flake.nix @@ -3,17 +3,14 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; flake-utils.url = "github:numtide/flake-utils/main"; - - clef = { - url = "path:./clef"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.flake-utils.follows = "flake-utils"; - }; + call-flake.url = "github:divnix/call-flake"; }; description = "tiny kite-borne sensor node"; - outputs = { self, nixpkgs, flake-utils, clef, ... } @ inputs: let + outputs = { self, nixpkgs, flake-utils, ... } @ inputs: let + clef = (inputs.call-flake ./clef).outputs; + mkPkgs = system: import nixpkgs { inherit system; -- cgit v1.3.1