From 47d65f14fc245e41a373c9500a7437dff12b4ed6 Mon Sep 17 00:00:00 2001 From: Parthiv Seetharaman Date: Wed, 2 Feb 2022 12:37:54 -0800 Subject: re-organize repo to pass system and inputs around follows super stupid flakes contract in the unofficial flakes roadmap --- default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 default.nix (limited to 'default.nix') diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..9d62c95 --- /dev/null +++ b/default.nix @@ -0,0 +1,15 @@ +let + inherit (import + ( + let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in + fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; + sha256 = lock.nodes.flake-compat.locked.narHash; + } + ) + { src = ./.; } + ) defaultNix; +in + # Pass this flake as inputs.self + defaultNix // { inputs = defaultNix.inputs // { self = defaultNix; }; } + -- cgit v1.2.3