status-mobile/nix/desktop/linux/default.nix

19 lines
372 B
Nix
Raw Normal View History

{ stdenv, pkgs }:
with pkgs;
with stdenv;
let
baseImage = callPackage ./base-image { };
appimagekit = callPackage ./appimagekit { };
linuxdeployqt = callPackage ./linuxdeployqt { inherit appimagekit; };
in
{
buildInputs = [ appimagekit linuxdeployqt patchelf baseImage ];
shellHook = ''
export STATUSREACT_LINUX_BASEIMAGE_PATH="${baseImage}/src"
'';
}