mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 15:05:32 +03:00
12 lines
217 B
Nix
12 lines
217 B
Nix
{ stdenv, arx }:
|
|
{ name, archive, startup}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
nativeBuildInputs = [ arx ];
|
|
buildCommand = ''
|
|
${arx}/bin/arx tmpx ${archive} -o $out // ${startup}
|
|
chmod +x $out
|
|
'';
|
|
}
|