Reformat
This commit is contained in:
parent
b7bde14d75
commit
246483e3d9
8 changed files with 187 additions and 178 deletions
|
|
@ -1,14 +1,17 @@
|
|||
{ inputs, name, pkgs, resolution ? "2560x1440" }:
|
||||
|
||||
assert builtins.any (s: resolution == s) [ "1920x1080" "2256x1504" "2560x1440" "3840x2160" ];
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
inherit name;
|
||||
src = inputs.${name};
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/
|
||||
cp -r yorha-${resolution}/* $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
{
|
||||
inputs,
|
||||
name,
|
||||
pkgs,
|
||||
resolution ? "2560x1440",
|
||||
}:
|
||||
assert builtins.any (s: resolution == s) ["1920x1080" "2256x1504" "2560x1440" "3840x2160"];
|
||||
pkgs.stdenv.mkDerivation {
|
||||
inherit name;
|
||||
src = inputs.${name};
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/
|
||||
cp -r yorha-${resolution}/* $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue