summary refs log tree commit diff
path: root/pkgs/development/libraries/physics
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-07-11 14:49:16 +0100
committerGitHub <noreply@github.com>2022-07-11 09:49:16 -0400
commitc78023cbbfed055866fa6e876f19b4249ddb1c5a (patch)
tree3d8c8e57220343fabe13b2844178d49782f73dea /pkgs/development/libraries/physics
parente2f14dd31a02ca8a1345081ee8d42426effbc6d6 (diff)
downloadnixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.tar
nixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.tar.gz
nixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.tar.bz2
nixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.tar.lz
nixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.tar.xz
nixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.tar.zst
nixpkgs-c78023cbbfed055866fa6e876f19b4249ddb1c5a.zip
fastjet-contrib: explicitly set 'configurePlatforms = [ ];' (#181062)
Without the change build with config.configurePlatformsByDefault = true
fails as:

    $ nix build -f. fastjet-contrib --arg config '{ configurePlatformsByDefault = true; }' -L
    configure flags: --prefix=/nix/store/mzfdbr6ygxw23w3fdnzbghjd819b5x72-fastjet-contrib-1.048 --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu
    Error: --build=x86_64-unknown-linux-gnu: unrecognised argument
    Use fastjet-config --help for more information
Diffstat (limited to 'pkgs/development/libraries/physics')
-rw-r--r--pkgs/development/libraries/physics/fastjet-contrib/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/physics/fastjet-contrib/default.nix b/pkgs/development/libraries/physics/fastjet-contrib/default.nix
index 9f1b396e475..7bb28825d24 100644
--- a/pkgs/development/libraries/physics/fastjet-contrib/default.nix
+++ b/pkgs/development/libraries/physics/fastjet-contrib/default.nix
@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
     patchShebangs ./configure ./utils/check.sh ./utils/install-sh
   '';
 
+  # Written in shell manually, does not support autoconf-style
+  # --build=/--host= options:
+  #   Error: --build=x86_64-unknown-linux-gnu: unrecognised argument
+  configurePlatforms = [ ];
+
   enableParallelBuilding = true;
 
   doCheck = true;