From eab6c543d19f7546f1151cca32663035006af702 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 10 Apr 2021 17:38:33 +0530 Subject: add backwards compat to legacy nix commands --- shell.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9eb132a --- /dev/null +++ b/shell.nix @@ -0,0 +1,13 @@ +(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 = ./.; + }).shellNix -- cgit v1.2.3