diff options
author | Emile <git@emile.space> | 2024-09-19 10:48:16 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-09-19 10:48:16 +0200 |
commit | e833c13c177288b2a7b9168a784e0e6562c025b6 (patch) | |
tree | 1661dad1694989e2d83e6c2fca7b5602a61c574b /nix/pkgs/vokobe | |
parent | dcde3882d5460368e3c0499a54330f84a6995d62 (diff) |
big format using nixfmt
Diffstat (limited to 'nix/pkgs/vokobe')
-rw-r--r-- | nix/pkgs/vokobe/flaaaaake.nix | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/nix/pkgs/vokobe/flaaaaake.nix b/nix/pkgs/vokobe/flaaaaake.nix index 7cf2f03..902cabd 100644 --- a/nix/pkgs/vokobe/flaaaaake.nix +++ b/nix/pkgs/vokobe/flaaaaake.nix @@ -5,35 +5,41 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; }; - outputs = { self, flake-utils, naersk, nixpkgs }: + outputs = + { + self, + flake-utils, + naersk, + nixpkgs, + }: let - pkgs = (import nixpkgs) { - system = "x86_64-linux"; - }; + pkgs = (import nixpkgs) { system = "x86_64-linux"; }; + + naersk' = pkgs.callPackage naersk { }; - naersk' = pkgs.callPackage naersk {}; - - in rec { + in + rec { packages."x86_64-linux".vokobe = naersk'.buildPackage { src = ./.; meta = with pkgs.lib; { description = "A minimal static site generator tailored to my needs."; - homepage = "https://git.emile.space/hanemile/vokobe"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ - hanemile - ]; + homepage = "https://git.emile.space/hanemile/vokobe"; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ hanemile ]; }; }; - + # For `nix build` & `nix run`: defaultPackage = packages."x86_64-linux".vokobe; # For `nix develop` (optional, can be skipped): devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ rustc cargo ]; + nativeBuildInputs = with pkgs; [ + rustc + cargo + ]; }; # hydraJobs."<attr>"."<system>" = derivation; @@ -41,4 +47,4 @@ build."x86_64-linux" = packages."x86_64-linux".vokobe; }; }; -} \ No newline at end of file +} |