From cc602b2793315cb2703bfa76f5741ffb02eddf66 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 13 Jul 2026 13:01:04 -0400 Subject: [PATCH] use a path reference for the example's inputs --- example/flake.lock | 16 ++++++---------- example/flake.nix | 3 ++- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/example/flake.lock b/example/flake.lock index 02fbec7..ba1987f 100644 --- a/example/flake.lock +++ b/example/flake.lock @@ -18,18 +18,14 @@ }, "nu2nix": { "locked": { - "lastModified": 1783959862, - "narHash": "sha256-7zx5FFQXo3/SfAood6XpbWvwDjKXH8LUiytgzyQMZoo=", - "ref": "refs/heads/main", - "rev": "8544660c0c39f35fd59a8afb5e8e1ceb0c5b3515", - "revCount": 11, - "type": "git", - "url": "https://tangled.org/csw.im/nu2nix" + "path": "..", + "type": "path" }, "original": { - "type": "git", - "url": "https://tangled.org/csw.im/nu2nix" - } + "path": "..", + "type": "path" + }, + "parent": [] }, "root": { "inputs": { diff --git a/example/flake.nix b/example/flake.nix index 512e558..069cd0d 100644 --- a/example/flake.nix +++ b/example/flake.nix @@ -2,7 +2,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; systems.url = "github:nix-systems/default"; - nu2nix.url = "git+https://tangled.org/csw.im/nu2nix"; + nu2nix.url = ../.; + # nu2nix.url = "git+https://tangled.org/csw.im/nu2nix"; }; outputs = -- 2.51.2