aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-25 14:51:08 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-25 14:51:08 +0100
commit7cd9859e411c2254cc20558709e459d467372e6e (patch)
tree4ae1224aae14c62543ed88465be03dad9fa26966
parent4a4521f46253e87a06af9333381c050e983b3c2f (diff)
Add backward compatibility default.nix / shell.nix
This uses https://github.com/edolstra/flake-compat which is a bit more general than #3366.
-rw-r--r--default.nix3
-rw-r--r--shell.nix3
2 files changed, 6 insertions, 0 deletions
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