From 7cd9859e411c2254cc20558709e459d467372e6e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 25 Feb 2020 14:51:08 +0100 Subject: Add backward compatibility default.nix / shell.nix This uses https://github.com/edolstra/flake-compat which is a bit more general than #3366. --- default.nix | 3 +++ shell.nix | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 default.nix create mode 100644 shell.nix diff --git a/default.nix b/default.nix new file mode 100644 index 000000000..b22e926ea --- /dev/null +++ b/default.nix @@ -0,0 +1,3 @@ +(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { + src = builtins.fetchGit ./.; +}).defaultNix diff --git a/shell.nix b/shell.nix new file mode 100644 index 000000000..db84e3d07 --- /dev/null +++ b/shell.nix @@ -0,0 +1,3 @@ +(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { + src = builtins.fetchGit ./.; +}).shellNix -- cgit v1.2.3