simple-dftd3: fix pkg-config

This commit is contained in:
Ryan Swart 2023-03-30 18:52:12 +08:00
parent 15be8180f5
commit d86d2e7f5a

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
postInstall = ''
substituteInPlace $out/lib/pkgconfig/s-dftd3.pc \
--replace "''${prefix}" ""
--replace "''${prefix}/" ""
'';
doCheck = true;
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Reimplementation of the DFT-D3 program";
license = with licenses; [lgpl3Only gpl3Only];
license = with licenses; [ lgpl3Only gpl3Only ];
homepage = "https://github.com/dftd3/simple-dftd3";
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.sheepforce ];