about summary refs log tree commit diff
path: root/pkgs/tools/misc/hakuneko/default.nix
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2023-10-03 17:49:36 +0200
committerGitHub <noreply@github.com>2023-10-03 17:49:36 +0200
commite5f6200d164f2df4e8bb5e252dd1032b57099d13 (patch)
treef817b1eb399a18b1a28eecc53d1348a54fe2a5e9 /pkgs/tools/misc/hakuneko/default.nix
parent042d50a96cf55880914d007946a8c8182c9a6a48 (diff)
parent244be72e19e96bdfb1e268d002af2e9c0036fbea (diff)
downloadnixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.tar
nixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.tar.gz
nixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.tar.bz2
nixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.tar.lz
nixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.tar.xz
nixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.tar.zst
nixlib-e5f6200d164f2df4e8bb5e252dd1032b57099d13.zip
Merge pull request #258440 from SuperSandro2000/drop-atom
atom*: drop
Diffstat (limited to 'pkgs/tools/misc/hakuneko/default.nix')
-rw-r--r--pkgs/tools/misc/hakuneko/default.nix18
1 files changed, 15 insertions, 3 deletions
diff --git a/pkgs/tools/misc/hakuneko/default.nix b/pkgs/tools/misc/hakuneko/default.nix
index 128cddd8c682..bb7bf24cb659 100644
--- a/pkgs/tools/misc/hakuneko/default.nix
+++ b/pkgs/tools/misc/hakuneko/default.nix
@@ -1,5 +1,4 @@
-{ atomEnv
-, autoPatchelfHook
+{ autoPatchelfHook
 , dpkg
 , fetchurl
 , makeDesktopItem
@@ -8,6 +7,11 @@
 , stdenv
 , lib
 , wrapGAppsHook
+, alsa-lib
+, nss
+, nspr
+, systemd
+, xorg
 }:
 let
   desktopItem = makeDesktopItem {
@@ -39,6 +43,7 @@ stdenv.mkDerivation rec {
   dontPatchELF = true;
   dontWrapGApps = true;
 
+  # TODO: migrate off autoPatchelfHook and use nixpkgs' electron
   nativeBuildInputs = [
     autoPatchelfHook
     dpkg
@@ -46,7 +51,14 @@ stdenv.mkDerivation rec {
     wrapGAppsHook
   ];
 
-  buildInputs = atomEnv.packages;
+  buildInputs = [
+    alsa-lib
+    nss
+    nspr
+    xorg.libXScrnSaver
+    xorg.libXtst
+    systemd
+  ];
 
   unpackPhase = ''
     # The deb file contains a setuid binary, so 'dpkg -x' doesn't work here