(desktop) Gen 494: reformatted several files using alejandra
This commit is contained in:
@@ -5,8 +5,11 @@
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
@@ -14,13 +17,13 @@
|
||||
extraFonts = pkgs.fetchFromGitHub {
|
||||
owner = "xero";
|
||||
repo = "figlet-fonts";
|
||||
rev = "master"; # Or specify a particular commit/tag
|
||||
sha256 = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY="; # Replace with actual hash
|
||||
rev = "master"; # Or specify a particular commit/tag
|
||||
sha256 = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY="; # Replace with actual hash
|
||||
};
|
||||
in {
|
||||
packages.${system} = {
|
||||
default = pkgs.toilet.overrideAttrs (oldAttrs: rec {
|
||||
buildInputs = oldAttrs.buildInputs or [] ++ [ extraFonts ];
|
||||
buildInputs = oldAttrs.buildInputs or [] ++ [extraFonts];
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out
|
||||
|
||||
Reference in New Issue
Block a user