2019-03-21 16:56:22 +00:00
|
|
|
{ stdenv, pkgs }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
with stdenv;
|
|
|
|
|
2019-05-07 06:43:53 +00:00
|
|
|
assert isLinux;
|
|
|
|
|
2019-03-21 16:56:22 +00:00
|
|
|
let
|
|
|
|
baseImage = callPackage ./base-image { };
|
|
|
|
appimagekit = callPackage ./appimagekit { };
|
|
|
|
linuxdeployqt = callPackage ./linuxdeployqt { inherit appimagekit; };
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
|
|
|
buildInputs = [ appimagekit linuxdeployqt patchelf baseImage ];
|
2019-04-03 22:05:59 +00:00
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
export STATUSREACT_LINUX_BASEIMAGE_PATH="${baseImage}/src"
|
|
|
|
'';
|
2019-03-21 16:56:22 +00:00
|
|
|
}
|