Merge pull request 'templates: add template for enw clan' (#20) from flake-template into main

This commit is contained in:
DavHau
2023-07-21 15:13:26 +02:00
committed by Gitea
parent d17ae02a43
commit d99060695f
7 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# This file provides backward compatibility to nix < 2.4 clients
let
flake =
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 = ./.; };
in
flake.defaultNix