summary refs log tree commit diff
path: root/pkgs/development/libraries/libqrtr-glib/default.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-05-23 19:56:59 +0200
committerJanne Heß <janne@hess.ooo>2022-05-23 19:56:59 +0200
commit3673f148b3e71f8dafdb11ba0335253d5659ff9f (patch)
treeb743e44f7c48f9b16fea7c0a662947ae41e45ed1 /pkgs/development/libraries/libqrtr-glib/default.nix
parent41cc1d5d9584103be4108c1815c350e07c807036 (diff)
parentf51499324ca76ffcf2f00caff5fc32b3f3e8237c (diff)
downloadnixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.tar
nixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.tar.gz
nixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.tar.bz2
nixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.tar.lz
nixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.tar.xz
nixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.tar.zst
nixpkgs-3673f148b3e71f8dafdb11ba0335253d5659ff9f.zip
Merge remote-tracking branch 'origin/staging-next'
* origin/staging-next: (62 commits)
  Re-Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)"
  openldap: fix cross-compilation
  makeBinaryWrapper: fix codesign on aarch64-darwin
  python3Packages.ldap: fix linking with openldap 2.5+
  Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)"
  wine: enable parallel build again
  pkgsi686Linux.gdb: fix formatting for 32-bit systems
  gtk4: Fix incorrect merge
  nixos/openldap: use upstream unit defaults
  openldap: update maintainers
  openldap: 2.4.58 -> 2.6.2
  Revert "Add mingwW64-llvm cross-system."
  lua: fix on darwin by using makeBinaryWrapper (#172749)
  python310Packages.python-mimeparse: execute tests
  pandas: fix darwin build
  gtk3: 3.24.33 -> 3.24.33-2022-03-11
  gtk4: patch fixing g-c-c crashes
  e2fsprogs: patch for CVE-2022-1304
  firefox-unwrapped: fix cross compilation
  rustc: expose correct llvmPackages for cross compile
  ...
Diffstat (limited to 'pkgs/development/libraries/libqrtr-glib/default.nix')
-rw-r--r--pkgs/development/libraries/libqrtr-glib/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libqrtr-glib/default.nix b/pkgs/development/libraries/libqrtr-glib/default.nix
index 29097710a69..aefc61f1ccf 100644
--- a/pkgs/development/libraries/libqrtr-glib/default.nix
+++ b/pkgs/development/libraries/libqrtr-glib/default.nix
@@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
     sha256 = "MNh5sq3m+PRh3vOmd3VdtcAji6v2iNXIPAOz5qvjXO4=";
   };
 
+  strictDeps = true;
+
+  depsBuildBuild = [
+    pkg-config
+  ];
+
   nativeBuildInputs = [
     pkg-config
     gobject-introspection
@@ -32,7 +38,7 @@ stdenv.mkDerivation rec {
     glib
   ];
 
-  configureFlags = [
+  configureFlags = lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
     "--enable-gtk-doc"
   ];