diff options
| author | seth <[email protected]> | 2023-02-04 23:12:58 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-14 20:40:13 -0400 |
| commit | 52e58d2da91d2980823612d6c55e41ed6af0382e (patch) | |
| tree | 41cedd7715dca1e15e51fbba0351f2d69dd54dd4 /default.nix | |
| parent | d7c0dd5ac7ce11ca24f4d05c35820182957fa075 (diff) | |
feat: bit of a refactor
- moved teawie_bot to root directory
- added nix flake
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..c7d0c26 --- /dev/null +++ b/default.nix @@ -0,0 +1,14 @@ +( + import + ( + let + lock = builtins.fromJSON (builtins.readFile ./flake.lock); + in + fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; + sha256 = lock.nodes.flake-compat.locked.narHash; + } + ) + {src = ./.;} +) +.defaultNix |
