diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..9eb132a --- /dev/null +++ b/default.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | (import | ||
2 | ( | ||
3 | let | ||
4 | lock = builtins.fromJSON (builtins.readFile ./flake.lock); | ||
5 | in | ||
6 | fetchTarball { | ||
7 | url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; | ||
8 | sha256 = lock.nodes.flake-compat.locked.narHash; | ||
9 | } | ||
10 | ) | ||
11 | { | ||
12 | src = ./.; | ||
13 | }).shellNix | ||