diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-25 14:51:08 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-25 14:51:08 +0100 |
commit | 7cd9859e411c2254cc20558709e459d467372e6e (patch) | |
tree | 4ae1224aae14c62543ed88465be03dad9fa26966 | |
parent | 4a4521f46253e87a06af9333381c050e983b3c2f (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.nix | 3 | ||||
-rw-r--r-- | shell.nix | 3 |
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 |