about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-22 14:55:46 +0200
committerSoispha <soispha@vhack.eu>2023-10-22 14:55:46 +0200
commitfaf3d03583cfe523565f11d755e096c15389ac7a (patch)
tree75bf501b14418fede8b24327afcc9a60f02b3e67
parentbuild(treewide): Update (diff)
downloadnixos-config-faf3d03583cfe523565f11d755e096c15389ac7a.tar.gz
nixos-config-faf3d03583cfe523565f11d755e096c15389ac7a.zip
build(flake): Add a dummy follow for 'my_flake' to prevent a cyclic dependency
-rw-r--r--flake.lock17
-rw-r--r--flake.nix5
2 files changed, 15 insertions, 7 deletions
diff --git a/flake.lock b/flake.lock
index 57e77016..ce45cac9 100644
--- a/flake.lock
+++ b/flake.lock
@@ -477,6 +477,9 @@
         "lf_rename": [
           "lf_rename"
         ],
+        "my_flake": [
+          "agenix"
+        ],
         "neovim_config": [
           "neovim_config"
         ],
@@ -542,11 +545,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1697972940,
-        "narHash": "sha256-G9mqU2TpBfEsAx60K9oSpjcXqm/u4FOhGEJhOy7a1K8=",
+        "lastModified": 1697978644,
+        "narHash": "sha256-HMUVnmLyRHD442mPYTQrZ+T4XpgQFUucsICd6pgcj0I=",
         "ref": "refs/heads/prime",
-        "rev": "50cba06f89d94340a2d30527364dbacceb7d8fad",
-        "revCount": 1117,
+        "rev": "586936025c4d2f436d23427e30ccc3445a4d6472",
+        "revCount": 1121,
         "type": "git",
         "url": "https://codeberg.org/soispha/nixos-config.git"
       },
@@ -684,11 +687,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1697977879,
-        "narHash": "sha256-r2sb1asbSh5Oe0T39HFpSrRAZ7FBwy4oXQvitz97H4U=",
+        "lastModified": 1697978928,
+        "narHash": "sha256-L8nJVTpvui8ekk8syVmJvlqay7N9w+nKuhIIO6bOXQU=",
         "owner": "nix-community",
         "repo": "nixvim",
-        "rev": "65bd427a6edba4d6e1551778f04e372be37d1c9f",
+        "rev": "36119e7ec1a8452426ca94c3976abe393e1fe1da",
         "type": "github"
       },
       "original": {
diff --git a/flake.nix b/flake.nix
index 87a23ce9..3f2568d0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,6 +9,11 @@
     my_flake = {
       url = "git+https://codeberg.org/soispha/nixos-config.git";
       inputs = {
+        # HACK: This is a workaround to prevent a cyclic dependency, as this 'my_flake'
+        # can't follow itself. This would obviously cause weird bugs upon use, but, as
+        # 'my_flake' is only used in the nix-registry this should work <2023-10-22>
+        my_flake.follows = "agenix";
+
         # My flake inputs {{{
         agenix.follows = "agenix";
         beautysh.follows = "beautysh";