summary refs log tree commit diff
path: root/pkgs/development/libraries/libgsf/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-08-07 01:48:42 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:20:54 +0300
commitda9a9a440415b236f22f57ba67a24ab3fb53f595 (patch)
tree4e4051387f30d70f4de11e846b16067a02f0d79b /pkgs/development/libraries/libgsf/default.nix
parenta32cd711efe2b934b7a32b175f15ecba9962ba9b (diff)
downloadnixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.tar
nixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.tar.gz
nixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.tar.bz2
nixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.tar.lz
nixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.tar.xz
nixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.tar.zst
nixpkgs-da9a9a440415b236f22f57ba67a24ab3fb53f595.zip
treewide: cross fixes
Diffstat (limited to 'pkgs/development/libraries/libgsf/default.nix')
-rw-r--r--pkgs/development/libraries/libgsf/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libgsf/default.nix b/pkgs/development/libraries/libgsf/default.nix
index 30324b04d85..6897ed5a097 100644
--- a/pkgs/development/libraries/libgsf/default.nix
+++ b/pkgs/development/libraries/libgsf/default.nix
@@ -55,6 +55,14 @@ stdenv.mkDerivation rec {
     patchShebangs ./tests/
   '';
 
+  # checking pkg-config is at least version 0.9.0... ./configure: line 15213: no: command not found
+  # configure: error: in `/build/libgsf-1.14.50':
+  # configure: error: The pkg-config script could not be found or is too old.  Make sure it
+  # is in your PATH or set the PKG_CONFIG environment variable to the full
+  preConfigure = ''
+    export PKG_CONFIG="$(command -v "$PKG_CONFIG")"
+  '';
+
   passthru = {
     updateScript = gnome.updateScript {
       packageName = pname;