diff options
author | Finn Behrens <me@kloenk.de> | 2023-11-04 09:40:16 +0100 |
---|---|---|
committer | Finn Behrens <me@kloenk.dev> | 2023-11-09 22:09:33 +0100 |
commit | 813310c343797fb7f9180dc2ad0fd896bef17fbc (patch) | |
tree | f40c4ce656c69a15b2615ee7674e1cc050b294f7 /default.nix | |
parent | 81352a29bc619c5882cbdd23dbdaa83ae9e3baee (diff) |
nix: fix build add overlay and formatter to flake
Adds overlay flake output to expose the bcachefs package
and add and run a nix formatter.
Co-authored-by: Leona Maroni <dev@leona.is>
Signed-off-by: Leona Maroni <dev@leona.is>
Signed-off-by: Finn Behrens <me@kloenk.de>
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/default.nix b/default.nix index 2cccff28..80aeb433 100644 --- a/default.nix +++ b/default.nix @@ -1,10 +1,6 @@ -(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 +(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 |