summary refs log tree commit diff
path: root/pkgs/tools/X11
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-06-21 16:31:56 +0800
committerNick Cao <nickcao@nichi.co>2023-06-23 17:21:49 +0800
commit31dcc4242749c3a7df317820cee1e763eac7b70c (patch)
tree5f871f57ed57eb0fa81ecd1f04d92f6fa4ad8441 /pkgs/tools/X11
parent83805599a9f347b9f37735f960dd7ef5a69836f3 (diff)
downloadnixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.tar
nixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.tar.gz
nixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.tar.bz2
nixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.tar.lz
nixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.tar.xz
nixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.tar.zst
nixpkgs-31dcc4242749c3a7df317820cee1e763eac7b70c.zip
dex: fix cross compilation, set strictDeps
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r--pkgs/tools/X11/dex/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/tools/X11/dex/default.nix b/pkgs/tools/X11/dex/default.nix
index c0d1c5e6e4a..5e0ef6002ce 100644
--- a/pkgs/tools/X11/dex/default.nix
+++ b/pkgs/tools/X11/dex/default.nix
@@ -1,4 +1,9 @@
-{ lib, stdenv, fetchFromGitHub, python3 }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, python3
+, sphinx
+}:
 
 stdenv.mkDerivation rec {
   pname = "dex";
@@ -11,8 +16,10 @@ stdenv.mkDerivation rec {
     sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
   };
 
-  propagatedBuildInputs = [ python3 ];
-  nativeBuildInputs = [ python3.pkgs.sphinx ];
+  strictDeps = true;
+
+  nativeBuildInputs = [ sphinx ];
+  buildInputs = [ python3 ];
   makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
 
   meta = with lib; {
@@ -20,5 +27,6 @@ stdenv.mkDerivation rec {
     homepage = "https://github.com/jceb/dex";
     platforms = platforms.linux;
     license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ nickcao ];
   };
 }