From de869f039d591f205e6bf09fd4cc7a55246f1ee2 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Tue, 10 May 2022 12:53:22 +0200 Subject: [PATCH] siesta: fix hardcoded path to rm --- pkgs/applications/science/chemistry/siesta/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/chemistry/siesta/default.nix b/pkgs/applications/science/chemistry/siesta/default.nix index 4c3d1d4c1a7..f49b9d1f45f 100644 --- a/pkgs/applications/science/chemistry/siesta/default.nix +++ b/pkgs/applications/science/chemistry/siesta/default.nix @@ -16,6 +16,10 @@ stdenv.mkDerivation rec { sha256 = "0lz8rfl5xwdj17zn7a30ipi7cgjwqki21a7wg9rdg7iwx27bpnmg"; }; + postPatch = '' + substituteInPlace Src/siesta_init.F --replace '/bin/rm' 'rm' + ''; + passthru = { inherit mpi; };