rose-pine-nix/modules/nixos/sddm-rose-pine-pkg.nix
punkfairie 558c12035e
Some checks failed
Release / Publish to Flake registries (push) Has been cancelled
CI / Format Nix files (push) Has been cancelled
CI / Test Modules (push) Has been cancelled
CI / Validate sources (push) Has been cancelled
Release / Make release (push) Has been cancelled
Build & deploy website / Build site (push) Has been cancelled
Build & deploy website / Deploy website (push) Has been cancelled
fix(sddm): Move pkg derv to it's own file
Nix was complaining that it wasn't a valid package so moved to it's own
file and called with callPackage()
2024-10-20 18:37:56 -07:00

21 lines
362 B
Nix

{
stdenvNoCC,
libsForQt5,
sources,
}:
stdenvNoCC.mkDerivation {
pname = "sddm-rose-pine-theme";
version = "1.2";
dontBuild = true;
propagatedUserEnvPkgs = [
libsForQt5.qt5.qtgraphicaleffects
];
src = sources.sddm-rose-pine;
installPhase = ''
mkdir -p $out/share/sddm/themes
cp -aR $src $out/share/sddm/themes/rose-pine
'';
}