aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 4 insertions, 7 deletions
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;