Use overlay

This commit is contained in:
Invariantspace 2023-10-27 15:15:24 -07:00
parent ef1f33eddd
commit 69de97b39e
3 changed files with 23 additions and 19 deletions

View file

@ -1,7 +1,7 @@
{ inputs, pkgs }:
{ inputs, name, pkgs }:
with pkgs; stdenv.mkDerivation rec {
name = "wallpaper-engine-kde-plugin-lib";
with pkgs; stdenv.mkDerivation {
inherit name;
src = inputs.${name};
nativeBuildInputs = [
cmake

View file

@ -1,9 +1,9 @@
{ inputs, pkgs, resolution ? "2560x1440" }:
{ inputs, name, pkgs, resolution ? "2560x1440" }:
assert builtins.any (s: resolution == s) [ "1920x1080" "2256x1504" "2560x1440" "3840x2160" ];
pkgs.stdenv.mkDerivation rec {
name = "yorha-grub-theme";
pkgs.stdenv.mkDerivation {
inherit name;
src = inputs.${name};
installPhase = ''
runHook preInstall