mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 15:05:32 +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
|
|
'';
|
|
}
|