diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-11-01 03:27:17 +0100 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-11-01 22:49:44 +0100 |
commit | 115f084d45b3b462a253a0893f13a1f1279fca20 (patch) | |
tree | df573128f0a9ec5bd79af478e19738d5aaf4e915 /pkgs/development/libraries | |
parent | 9b93a812d1213b323ba15c4df8977c34db38f702 (diff) |
argparse: fix build
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/argparse/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/argparse/default.nix b/pkgs/development/libraries/argparse/default.nix index a903ba9b711b9..a52dc730f73ef 100644 --- a/pkgs/development/libraries/argparse/default.nix +++ b/pkgs/development/libraries/argparse/default.nix @@ -11,6 +11,13 @@ stdenv.mkDerivation rec { sha256 = "sha256-vbf4kePi5gfg9ub4aP1cCK1jtiA65bUS9+5Ghgvxt/E="; }; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace '$'{CMAKE_INSTALL_LIBDIR_ARCHIND} '$'{CMAKE_INSTALL_LIBDIR} + substituteInPlace packaging/pkgconfig.pc.in \ + --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@ + ''; + nativeBuildInputs = [ cmake ]; |