plugin support

This commit is contained in:
41666 2025-04-22 11:18:59 -07:00
parent 317dd961a2
commit 4ee5913bd0
7 changed files with 58 additions and 12 deletions

View file

@ -1,7 +1,9 @@
{ pkgs }: binPath: pkgs.stdenvNoCC.mkDerivation {
src = binPath;
buildPhase = ''
mkdir -p $out
cp $src $out/plugin
'';
{ pkgs }: name: src: pkgs.stdenvNoCC.mkDerivation {
inherit name src;
version = "0.0.0";
dontUnpack = true;
installPhase = "
mkdir -p $out/bin
cp $src $out/bin/${name}
";
}