summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index dc4e503c..45f9deda 100644
--- a/flake.nix
+++ b/flake.nix
@@ -107,11 +107,12 @@
# ```
#
# Cf. https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html?highlight=flake#flake-format
- flake.overlays.default =
- (final: prev: {
+ flake.overlays.default = (
+ final: prev: {
llamaPackages = final.callPackage .devops/nix/scope.nix { inherit llamaVersion; };
inherit (final.llamaPackages) llama-cpp;
- });
+ }
+ );
systems = [
"aarch64-darwin"
@@ -131,6 +132,9 @@
...
}:
{
+ # For standardised reproducible formatting with `nix fmt`
+ formatter = pkgs.nixfmt-rfc-style;
+
# Unlike `.#packages`, legacyPackages may contain values of
# arbitrary types (including nested attrsets) and may even throw
# exceptions. This attribute isn't recursed into by `nix flake