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
|
{ pkgs }: name: src: let
|
||||||
drv = { runtimeInputs ? [], }:
|
drv = { buildInputs ? [], }: pkgs.stdenvNoCC.mkDerivation {
|
||||||
pkgs.stdenvNoCC.mkDerivation {
|
inherit name src buildInputs;
|
||||||
inherit name src;
|
|
||||||
|
|
||||||
version = "0.0.0";
|
version = "0.0.0";
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = runtimeInputs;
|
|
||||||
|
|
||||||
installPhase = "
|
installPhase = "
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -r $src $out/bin/${name}
|
cp $src $out/bin/${name}
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
in pkgs.lib.customisation.makeOverridable drv { runtimeInputs = []; }
|
in pkgs.lib.customisation.makeOverridable drv { buildInputs = []; }
|
Loading…
Add table
Add a link
Reference in a new issue