about summary refs log tree commit diff stats
path: root/flake.nix
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 /flake.nix
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
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 5 insertions, 0 deletions
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";