From 7e40c81266359d1e7769d9a36e28252aa8501e87 Mon Sep 17 00:00:00 2001 From: Eric Rodrigues Pires Date: Tue, 9 Jun 2026 16:35:26 -0300 Subject: [PATCH] [skip ci] Make dummy inputs immutable --- flake.lock | 51 +++++++++++++++++++++++++++++++++------------------ flake.nix | 6 +++--- nix/dummy.nix | 1 - 3 files changed, 36 insertions(+), 22 deletions(-) delete mode 100644 nix/dummy.nix diff --git a/flake.lock b/flake.lock index 97d8e91..59563e3 100644 --- a/flake.lock +++ b/flake.lock @@ -3,26 +3,36 @@ "crane": { "flake": false, "locked": { - "path": "./nix/dummy.nix", - "type": "path" + "lastModified": 1781033631, + "narHash": "sha256-fA+Sl81N7afKXvd0AzPB45e164CgEyX/96OnedaKhbY=", + "owner": "EpicEric", + "repo": "dummy.nix", + "rev": "7ee5540ff5cb7eb0b01d66a97d66772c9af99d1c", + "type": "github" }, "original": { - "path": "./nix/dummy.nix", - "type": "path" - }, - "parent": [] + "owner": "EpicEric", + "ref": "main", + "repo": "dummy.nix", + "type": "github" + } }, "nixpkgs": { "flake": false, "locked": { - "path": "./nix/dummy.nix", - "type": "path" + "lastModified": 1781033631, + "narHash": "sha256-fA+Sl81N7afKXvd0AzPB45e164CgEyX/96OnedaKhbY=", + "owner": "EpicEric", + "repo": "dummy.nix", + "rev": "7ee5540ff5cb7eb0b01d66a97d66772c9af99d1c", + "type": "github" }, "original": { - "path": "./nix/dummy.nix", - "type": "path" - }, - "parent": [] + "owner": "EpicEric", + "ref": "main", + "repo": "dummy.nix", + "type": "github" + } }, "root": { "inputs": { @@ -34,14 +44,19 @@ "rust-overlay": { "flake": false, "locked": { - "path": "./nix/dummy.nix", - "type": "path" + "lastModified": 1781033631, + "narHash": "sha256-fA+Sl81N7afKXvd0AzPB45e164CgEyX/96OnedaKhbY=", + "owner": "EpicEric", + "repo": "dummy.nix", + "rev": "7ee5540ff5cb7eb0b01d66a97d66772c9af99d1c", + "type": "github" }, "original": { - "path": "./nix/dummy.nix", - "type": "path" - }, - "parent": [] + "owner": "EpicEric", + "ref": "main", + "repo": "dummy.nix", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index c7ba36b..0dd9163 100644 --- a/flake.nix +++ b/flake.nix @@ -3,15 +3,15 @@ inputs = { crane = { - url = "path:./nix/dummy.nix"; + url = "github:EpicEric/dummy.nix/main"; flake = false; }; nixpkgs = { - url = "path:./nix/dummy.nix"; + url = "github:EpicEric/dummy.nix/main"; flake = false; }; rust-overlay = { - url = "path:./nix/dummy.nix"; + url = "github:EpicEric/dummy.nix/main"; flake = false; }; }; diff --git a/nix/dummy.nix b/nix/dummy.nix deleted file mode 100644 index 5a25a45..0000000 --- a/nix/dummy.nix +++ /dev/null @@ -1 +0,0 @@ -{ __isDummyInput = true; } -- 2.51.2