treewide: format with nixfmt

This commit is contained in:
insects 2024-09-22 10:56:40 +02:00
parent 303e982a8e
commit 26ad72592a
47 changed files with 380 additions and 725 deletions

View file

@ -1,6 +1,5 @@
# This file defines overlays
{ inputs, ... }:
{
{ inputs, ... }: {
# This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: import ../pkgs final.pkgs;
@ -10,17 +9,18 @@
modifications = final: prev: {
zed-editor = final.callPackage prev.zed-editor.override {
rustPlatform = final.rustPlatform // {
buildRustPackage = args: final.rustPlatform.buildRustPackage (args // {
patches = (args.patches or [ ] ++ [
./zed-use-custom-cosmic-text.patch
]);
cargoLock = {
lockFile = ./zed.Cargo.lock;
outputHashes = args.cargoLock.outputHashes // {
"cosmic-text-0.11.2" = "sha256-ld9mrvtZIEftenn1D5IuXFQikJU2GAil6MCsrIh9o14=";
buildRustPackage = args:
final.rustPlatform.buildRustPackage (args // {
patches =
(args.patches or [ ] ++ [ ./zed-use-custom-cosmic-text.patch ]);
cargoLock = {
lockFile = ./zed.Cargo.lock;
outputHashes = args.cargoLock.outputHashes // {
"cosmic-text-0.11.2" =
"sha256-ld9mrvtZIEftenn1D5IuXFQikJU2GAil6MCsrIh9o14=";
};
};
};
});
});
};
};
};