summaryrefslogtreecommitdiff
path: root/templates/full/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-06 04:02:35 -0400
committerseth <[email protected]>2024-07-06 04:12:41 -0400
commit8875ad5fb466944667e5171035aa8f5c01675e93 (patch)
treee453699bbfcc7b8fb566490c8930e60c6adac07b /templates/full/default.nix
parentc3ad734168ea13fde1e2f6ec3fbdccf78f72aada (diff)
tree-wide: alejandra -> nixfmt
Diffstat (limited to 'templates/full/default.nix')
-rw-r--r--templates/full/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/templates/full/default.nix b/templates/full/default.nix
index 5804660..6466507 100644
--- a/templates/full/default.nix
+++ b/templates/full/default.nix
@@ -1,10 +1,9 @@
-(import
- (let
+(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
+ 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