summary refs log tree commit diff
path: root/pkgs/tools/package-management/rpm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/package-management/rpm/default.nix')
-rw-r--r--pkgs/tools/package-management/rpm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/rpm/default.nix b/pkgs/tools/package-management/rpm/default.nix
index d9cf24f6e519..c0a4f7f693d5 100644
--- a/pkgs/tools/package-management/rpm/default.nix
+++ b/pkgs/tools/package-management/rpm/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
 
   postPatch = ''
     # For Python3, the original expression evaluates as 'python3.4' but we want 'python3.4m' here
-    substituteInPlace configure --replace 'python''${PYTHON_VERSION}' ${python.executable}
+    substituteInPlace configure.ac --replace 'python''${PYTHON_VERSION}' ${python.executable}
 
     substituteInPlace Makefile.am --replace '@$(MKDIR_P) $(DESTDIR)$(localstatedir)/tmp' ""
   '';