plugin support
This commit is contained in:
parent
317dd961a2
commit
4ee5913bd0
7 changed files with 58 additions and 12 deletions
|
@ -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}
|
||||
";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue