From d86d2e7f5a64bd1306a0aadf1be4318429220117 Mon Sep 17 00:00:00 2001 From: Ryan Swart Date: Thu, 30 Mar 2023 18:52:12 +0800 Subject: [PATCH] simple-dftd3: fix pkg-config --- .../libraries/science/chemistry/simple-dftd3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/chemistry/simple-dftd3/default.nix b/pkgs/development/libraries/science/chemistry/simple-dftd3/default.nix index a9bd2c8faa73..57139f8bcd00 100644 --- a/pkgs/development/libraries/science/chemistry/simple-dftd3/default.nix +++ b/pkgs/development/libraries/science/chemistry/simple-dftd3/default.nix @@ -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 ];