Skip to content

Commit

Permalink
style(nix): retab
Browse files Browse the repository at this point in the history
  • Loading branch information
Beastwick18 committed Jul 7, 2024
1 parent f09e0ac commit 68b101e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
description = "A nyaa.si tui tool for browsing and downloading torrents";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
description = "A nyaa.si tui tool for browsing and downloading torrents";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
naersk.url = "github:nix-community/naersk";
};
outputs = {
self,
nixpkgs,
};
outputs = {
self,
nixpkgs,
naersk,
}@inputs: let
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
}@inputs: let
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
naersk' = pkgs.callPackage naersk {};
in {
packages = forAllSystems (system: {
in {
packages = forAllSystems (system: {
default = naersk'.buildPackage {
name = "nyaa";
version =
Expand All @@ -26,9 +26,9 @@
.version;
src = pkgs.lib.cleanSource ./.;
};
});
});

devShells = forAllSystems (system: {
devShells = forAllSystems (system: {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
rust.packages.stable.rustPlatform.rustcSrc
Expand All @@ -40,8 +40,8 @@
cargo-bloat
];
};
});
});

homeManagerModule = import ./modules/home-manager.nix inputs;
};
homeManagerModule = import ./modules/home-manager.nix inputs;
};
}

0 comments on commit 68b101e

Please sign in to comment.