Add comment about edolstra/flake-compat

Add a comment to default.nix and shell.nix briefly outlining what
flake-compat/default.nix does.
This commit is contained in:
Tobias Pflug 2020-05-02 18:56:30 +02:00
parent c82f51751d
commit 9d80a6de66
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,6 @@
# The `default.nix` in flake-compat reads `flake.nix` and `flake.lock` from `src` and
# returns an attribute set of the shape `{ defaultNix, shellNix }`
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { (import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = builtins.fetchGit ./.; src = builtins.fetchGit ./.;
}).defaultNix }).defaultNix

View file

@ -1,3 +1,6 @@
# The `default.nix` in flake-compat reads `flake.nix` and `flake.lock` from `src` and
# returns an attribute set of the shape `{ defaultNix, shellNix }`
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { (import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = builtins.fetchGit ./.; src = builtins.fetchGit ./.;
}).shellNix }).shellNix