Skip to content

Commit

Permalink
Add backward compatibility default.nix / shell.nix
Browse files Browse the repository at this point in the history
This uses https://github.com/edolstra/flake-compat which is a bit more
general than NixOS#3366.
  • Loading branch information
edolstra committed Feb 25, 2020
1 parent 4a4521f commit 7cd9859
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = builtins.fetchGit ./.;
}).defaultNix
3 changes: 3 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = builtins.fetchGit ./.;
}).shellNix

0 comments on commit 7cd9859

Please sign in to comment.