diff options
Diffstat (limited to 'templates/full/default.nix')
| -rw-r--r-- | templates/full/default.nix | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/templates/full/default.nix b/templates/full/default.nix index c7d0c26..5804660 100644 --- a/templates/full/default.nix +++ b/templates/full/default.nix @@ -1,14 +1,10 @@ -( - 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 = ./.;} -) +(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 |
