mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-10-26 08:42:01 +03:00
13 lines
220 B
Nix
13 lines
220 B
Nix
{ stdenv, appimagetool }:
|
|
dir:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "appimage";
|
|
buildInputs = [ appimagetool ];
|
|
buildCommand = ''
|
|
ARCH=x86_64 appimagetool ${dir}/*.AppDir
|
|
mkdir $out
|
|
cp *.AppImage $out
|
|
'';
|
|
}
|