File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 77} :
88
99let
10- optionalInt = cond : x : if cond then x else 0 ;
10+ optionalInt = cond : x : if cond then x else 0 ;
1111in
1212singularity-tools . buildImage rec {
1313 inherit ( llama-cpp ) name ;
Original file line number Diff line number Diff line change 107107 # ```
108108 #
109109 # 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 : {
112112 llamaPackages = final . callPackage .devops/nix/scope.nix { inherit llamaVersion ; } ;
113113 inherit ( final . llamaPackages ) llama-cpp ;
114- } ) ;
114+ }
115+ ) ;
115116
116117 systems = [
117118 "aarch64-darwin"
131132 ...
132133 } :
133134 {
135+ # For standardised reproducible formatting with `nix fmt`
136+ formatter = pkgs . nixfmt-rfc-style ;
137+
134138 # Unlike `.#packages`, legacyPackages may contain values of
135139 # arbitrary types (including nested attrsets) and may even throw
136140 # exceptions. This attribute isn't recursed into by `nix flake
You can’t perform that action at this time.
0 commit comments