File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 7
7
} :
8
8
9
9
let
10
- optionalInt = cond : x : if cond then x else 0 ;
10
+ optionalInt = cond : x : if cond then x else 0 ;
11
11
in
12
12
singularity-tools . buildImage rec {
13
13
inherit ( llama-cpp ) name ;
Original file line number Diff line number Diff line change 107
107
# ```
108
108
#
109
109
# Cf. https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html?highlight=flake#flake-format
110
- flake . overlays . default =
111
- ( final : prev : {
110
+ flake . overlays . default = (
111
+ final : prev : {
112
112
llamaPackages = final . callPackage .devops/nix/scope.nix { inherit llamaVersion ; } ;
113
113
inherit ( final . llamaPackages ) llama-cpp ;
114
- } ) ;
114
+ }
115
+ ) ;
115
116
116
117
systems = [
117
118
"aarch64-darwin"
131
132
...
132
133
} :
133
134
{
135
+ # For standardised reproducible formatting with `nix fmt`
136
+ formatter = pkgs . nixfmt-rfc-style ;
137
+
134
138
# Unlike `.#packages`, legacyPackages may contain values of
135
139
# arbitrary types (including nested attrsets) and may even throw
136
140
# exceptions. This attribute isn't recursed into by `nix flake
You can’t perform that action at this time.
0 commit comments