revert
This commit is contained in:
parent
2c0ab1d636
commit
5d6d06bda7
1 changed files with 11 additions and 14 deletions
|
@ -1,16 +1,13 @@
|
|||
{ pkgs }: name: src: let
|
||||
drv = { runtimeInputs ? [], }:
|
||||
pkgs.stdenvNoCC.mkDerivation {
|
||||
inherit name src;
|
||||
|
||||
version = "0.0.0";
|
||||
dontUnpack = true;
|
||||
drv = { buildInputs ? [], }: pkgs.stdenvNoCC.mkDerivation {
|
||||
inherit name src buildInputs;
|
||||
|
||||
version = "0.0.0";
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = runtimeInputs;
|
||||
|
||||
installPhase = "
|
||||
mkdir -p $out/bin
|
||||
cp -r $src $out/bin/${name}
|
||||
";
|
||||
};
|
||||
in pkgs.lib.customisation.makeOverridable drv { runtimeInputs = []; }
|
||||
installPhase = "
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/${name}
|
||||
";
|
||||
};
|
||||
in pkgs.lib.customisation.makeOverridable drv { buildInputs = []; }
|
Loading…
Add table
Add a link
Reference in a new issue