treewide: format using nixfmt

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a69641c36f9763e104087a559c148d0449f00
This commit is contained in:
Bloxx12 2025-07-20 01:23:48 +02:00
commit e641dfa114
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
113 changed files with 1545 additions and 1019 deletions

View file

@ -1,4 +1,4 @@
{rustPlatform}:
{ rustPlatform }:
rustPlatform.buildRustPackage {
pname = "some-rust-package";
version = "0.0.1";

View file

@ -5,20 +5,22 @@
systems.url = "github:nix-systems/default-linux";
};
outputs = inputs: let
inherit (inputs.nixpkgs) lib;
inherit (lib.attrsets) genAttrs mapAttrs;
outputs =
inputs:
let
inherit (inputs.nixpkgs) lib;
inherit (lib.attrsets) genAttrs mapAttrs;
eachSystem = genAttrs (import inputs.systems);
pkgsFor = inputs.nixpkgs.legacyPackages;
in {
packages = eachSystem (system: {
default = inputs.self.packages.${system}.ralc;
ralc = pkgsFor.${system}.callPackage ./nix/package.nix {};
});
eachSystem = genAttrs (import inputs.systems);
pkgsFor = inputs.nixpkgs.legacyPackages;
in
{
packages = eachSystem (system: {
default = inputs.self.packages.${system}.ralc;
ralc = pkgsFor.${system}.callPackage ./nix/package.nix { };
});
devShells =
mapAttrs (system: pkgs: {
devShells = mapAttrs (system: pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
cargo
@ -29,7 +31,6 @@
rustPackages.clippy
];
};
})
pkgsFor;
};
}) pkgsFor;
};
}