termius: remove atomEnv

This commit is contained in:
Sandro Jäckel 2023-10-03 15:24:55 +02:00
parent bbd62ccd6c
commit 71e4764cee
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,14 +1,15 @@
{ atomEnv
, autoPatchelfHook
{ autoPatchelfHook
, squashfsTools
, alsa-lib
, fetchurl
, makeDesktopItem
, makeWrapper
, stdenv
, lib
, libsecret
, mesa
, udev
, wrapGAppsHook
, libxshmfence
}:
stdenv.mkDerivation rec {
@ -41,9 +42,14 @@ stdenv.mkDerivation rec {
dontPatchELF = true;
dontWrapGApps = true;
# TODO: migrate off autoPatchelfHook and use nixpkgs' electron
nativeBuildInputs = [ autoPatchelfHook squashfsTools makeWrapper wrapGAppsHook ];
buildInputs = atomEnv.packages ++ [ libxshmfence ];
buildInputs = [
alsa-lib
libsecret
mesa
];
unpackPhase = ''
runHook preUnpack