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:
parent
4a4521f462
commit
7cd9859e41
2 changed files with 6 additions and 0 deletions
3
default.nix
Normal file
3
default.nix
Normal 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
3
shell.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
|
||||||
|
src = builtins.fetchGit ./.;
|
||||||
|
}).shellNix
|
Loading…
Reference in a new issue