summary refs log tree commit diff
path: root/pkgs/desktops/deepin
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-03-18 13:44:15 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-03-28 11:42:07 +0000
commit4f44435071d584c423033e68e9b67fc818b66b50 (patch)
tree81202e8669d7a9c03e670714145c71676ceea822 /pkgs/desktops/deepin
parentd13c14b5e369dde15c1f2de1f5eb1e67c5e4ed8e (diff)
downloadnixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.tar
nixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.tar.gz
nixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.tar.bz2
nixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.tar.lz
nixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.tar.xz
nixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.tar.zst
nixpkgs-4f44435071d584c423033e68e9b67fc818b66b50.zip
deepin.dde-api: fix strict build
Diffstat (limited to 'pkgs/desktops/deepin')
-rw-r--r--pkgs/desktops/deepin/dde-api/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/desktops/deepin/dde-api/default.nix b/pkgs/desktops/deepin/dde-api/default.nix
index c4082ce454c..3c0718570d0 100644
--- a/pkgs/desktops/deepin/dde-api/default.nix
+++ b/pkgs/desktops/deepin/dde-api/default.nix
@@ -43,28 +43,31 @@ buildGoPackage rec {
     pkgconfig
     deepin-gettext-tools # build
     dbus-factory         # build
-    go-dbus-factory      # needed
-    go-gir-generator     # needed
-    go-lib               # build
     deepin.setupHook
-  ];
 
-  buildInputs = [
-    alsaLib     # needed
+    # TODO: using $PATH to find run time executable does not work with cross compiling
     bc          # run (to adjust grub theme?)
     blur-effect # run (is it really needed?)
     coreutils   # run (is it really needed?)
     fontconfig  # run (is it really needed?)
-    #glib        # ? arch
+    rfkill      # run
+    xcur2png    # run
     grub2       # run (is it really needed?)
+  ];
+
+  buildInputs = [
+    go-dbus-factory      # needed
+    go-gir-generator     # needed
+    go-lib               # build
+
+    alsaLib     # needed
+    #glib        # ? arch
     gtk3        # build run
     libcanberra # build run
     libgudev    # needed
     librsvg     # build run
     poppler     # build run
     pulseaudio  # needed
-    rfkill      # run
-    xcur2png    # run
     #locales     # run (locale-helper needs locale-gen, which is unavailable on NixOS?)
   ];