Modify local pkg expressions to remove duplicate names when using
This commit is contained in:
parent
7c43d7b8a6
commit
e0c2d59377
|
@ -1,21 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}: {
|
||||
sddm-catppuccin-macchiato = stdenvNoCC.mkDerivation rec {
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sddm-catppuccin-macchiato-theme";
|
||||
version = "1.0";
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/sddm/themes
|
||||
cp -aR $src/src/catppuccin-macchiato $out/share/sddm/themes/catppuccin-macchiato
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "sddm";
|
||||
rev = "bde6932e1ae0f8fdda76eff5c81ea8d3b7d653c0";
|
||||
sha256 = "ceaK/I5lhFz6c+UafQyQVJIzzPxjmsscBgj8130D4dE=";
|
||||
};
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/sddm/themes
|
||||
cp -aR $src/src/catppuccin-macchiato $out/share/sddm/themes/catppuccin-macchiato
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
sddm-catppuccin-macchiato = pkgs.callPackage ./pkgs/sddm-catppuccin-macchiato {};
|
||||
in {
|
||||
imports = [./xserver.nix];
|
||||
environment.systemPackages = [
|
||||
sddm-catppuccin-macchiato.sddm-catppuccin-macchiato
|
||||
];
|
||||
environment.systemPackages = [sddm-catppuccin-macchiato];
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
theme = "catppuccin-macchiato";
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
candy = pkgs.callPackage ./pkgs/candy-icon-theme {};
|
||||
sweet-folder = pkgs.callPackage ./pkgs/sweet-folder-theme {};
|
||||
candy-icon-theme = pkgs.callPackage ./pkgs/candy-icon-theme {};
|
||||
sweet-folder-theme = pkgs.callPackage ./pkgs/sweet-folder-theme {};
|
||||
in {
|
||||
home.packages = [
|
||||
candy.candy-icon-theme
|
||||
sweet-folder.sweet-folder-theme
|
||||
candy-icon-theme
|
||||
sweet-folder-theme
|
||||
pkgs.breeze-gtk
|
||||
pkgs.gnome.adwaita-icon-theme
|
||||
pkgs.hicolor-icon-theme
|
||||
|
@ -20,7 +20,7 @@ in {
|
|||
name = "Catppuccin-Macchiato-Dark-Cursors";
|
||||
};
|
||||
iconTheme = {
|
||||
package = sweet-folder.sweet-folder-theme;
|
||||
package = sweet-folder-theme.sweet-folder-theme;
|
||||
name = "Sweet-Rainbow";
|
||||
};
|
||||
theme = {
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}: {
|
||||
candy-icon-theme = stdenvNoCC.mkDerivation rec {
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "candy-icon-theme";
|
||||
version = "6a35be5cb133c6be8314807f55da3d795e24fb86";
|
||||
dontBuild = true;
|
||||
|
@ -31,5 +30,4 @@
|
|||
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}: {
|
||||
delta-icon-theme = stdenvNoCC.mkDerivation rec {
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "delta-icon-theme";
|
||||
version = "194df98e422c0a81912194808b76712bf5d78803";
|
||||
dontBuild = true;
|
||||
|
@ -31,14 +30,4 @@
|
|||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# meta = with lib; {
|
||||
# description = "Delta icon theme";
|
||||
# homepage = "https://github.com/Delta-Icons/Linux";
|
||||
# license = licenses.gpl3Only;
|
||||
# # darwin gives hash mismatch in source, probably because of file names differing only in case
|
||||
# platforms = platforms.linux;
|
||||
# maintainers = with maintainers; [];
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}: {
|
||||
sweet-folder-theme = stdenvNoCC.mkDerivation rec {
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sweet-folder-theme";
|
||||
version = "b2192ff1412472f036fdf9778c6b9dbcb6c044ec";
|
||||
dontBuild = true;
|
||||
|
@ -31,5 +30,4 @@
|
|||
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue