aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-15 04:25:24 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-15 04:25:24 -0400
commit9332cf7c0eac27ed5c00ec19e87d4d76b56f223a (patch)
tree18d08c14fcca6b363a6dde073ab89f7613dc329c /flake.nix
parentb5eba29877c160458e51eaa584db359ea901d5ec (diff)
flake: convert to call-flake dep on clef
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;