about summary refs log tree commit diff
path: root/pkgs/applications/science/chemistry/siesta
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@fysik.su.se>2022-05-10 12:53:22 +0200
committerMarkus Kowalewski <markus.kowalewski@fysik.su.se>2022-05-10 12:53:22 +0200
commitde869f039d591f205e6bf09fd4cc7a55246f1ee2 (patch)
tree6cab30c60e15d4f053633fa4b3ce61e30c8c0125 /pkgs/applications/science/chemistry/siesta
parent09675d874b0f3bd54ad06092b3c9409d0fa3d561 (diff)
siesta: fix hardcoded path to rm
Diffstat (limited to 'pkgs/applications/science/chemistry/siesta')
-rw-r--r--pkgs/applications/science/chemistry/siesta/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/science/chemistry/siesta/default.nix b/pkgs/applications/science/chemistry/siesta/default.nix
index 4c3d1d4c1a7d2..f49b9d1f45f9f 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;
   };