Add backward compatibility default.nix / shell.nix

This uses https://github.com/edolstra/flake-compat which is a bit more
general than #3366.
This commit is contained in:
Eelco Dolstra 2020-02-25 14:51:08 +01:00
parent 4a4521f462
commit 7cd9859e41
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 6 additions and 0 deletions

3
default.nix Normal file
View file

@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = builtins.fetchGit ./.;
}).defaultNix

3
shell.nix Normal file
View file

@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = builtins.fetchGit ./.;
}).shellNix