1
0
Fork 0
mirror of https://github.com/NixOS/nixos-artwork synced 2024-10-18 00:06:24 -04:00
nixos-artwork/default.nix
Samuel Dionne-Riel 675752851d logo: Provide an easy path to optimized SVGs and exported PNGs
The non-logo files are not part of the build, as they are files made for
specific usage, and should not be part of the NixOS assets for general
usage.
2024-04-11 21:51:33 -04:00

33 lines
723 B
Nix

{ pkgs ? import <nixpkgs> {} }:
{
bootloader = pkgs.callPackage (
{ stdenv
, lib
, grub2_efi
}:
stdenv.mkDerivation {
name = "nixos-grub-installer-theme";
srcs = lib.cleanSource ./.;
sourceRoot = "source/bootloader";
nativeBuildInputs = [ grub2_efi ];
makeFlags = [ "prefix=$(out)" ];
}
) {};
icons = pkgs.callPackage (
{ stdenv
, lib
, inkscape
, imagemagick
}:
stdenv.mkDerivation {
name = "nixos-icons";
srcs = lib.cleanSource ./.;
sourceRoot = "source/icons";
nativeBuildInputs = [ inkscape imagemagick ];
makeFlags = [ "prefix=$(out)" ];
}
) {};
logo = pkgs.callPackage ./logo/package.nix {};
}