diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-08-15 04:25:24 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-08-15 04:25:24 -0400 |
| commit | 9332cf7c0eac27ed5c00ec19e87d4d76b56f223a (patch) | |
| tree | 18d08c14fcca6b363a6dde073ab89f7613dc329c /flake.nix | |
| parent | b5eba29877c160458e51eaa584db359ea901d5ec (diff) | |
flake: convert to call-flake dep on clef
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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; |
