From 4124af113679129161da9343ec3190d6a65dbdba Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 11 Oct 2023 22:21:49 +0100 Subject: [PATCH] default.nix: init --- default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 default.nix diff --git a/default.nix b/default.nix new file mode 100644 index 00000000..990cc25f --- /dev/null +++ b/default.nix @@ -0,0 +1,10 @@ +let + lock = builtins.fromJSON (builtins.readFile ./flake.lock); + inherit (lock.nodes.flake-compat.locked) rev narHash; +in +(import + (fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz"; + sha256 = narHash; + }) + { src = ./.; }).defaultNix