mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 06:55:53 +03:00
15 lines
244 B
Nix
15 lines
244 B
Nix
{ stdenv, makeself }:
|
|
|
|
{ name
|
|
, archive
|
|
, startup
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit name archive startup;
|
|
nativeBuildInputs = [ makeself ];
|
|
buildCommand = ''
|
|
${makeself}/bin/makeself $archive $out $name $startup
|
|
'';
|
|
}
|