diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-05-07 17:50:51 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-05-07 17:55:32 +0300 |
commit | 24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c (patch) | |
tree | 6fc9a6d343d7fab3405577ca6cd21ffdbc9390eb /pkgs/tools/package-management/rpm | |
parent | 5b90702cd6d94d1a67dc9e6f3ca17d3fa039c2f8 (diff) | |
download | nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.tar nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.tar.gz nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.tar.bz2 nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.tar.lz nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.tar.xz nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.tar.zst nixpkgs-24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c.zip |
rpm: Fix python3 detection hack
Commit 5dff3c4b68e16 made rpm use autoreconfHook, so the patch that we are making to `configure` gets lost when the file is regenerated. To fix this, just patch the equivalent string in the `configure.ac` file instead. Fixes #15287
Diffstat (limited to 'pkgs/tools/package-management/rpm')
-rw-r--r-- | pkgs/tools/package-management/rpm/default.nix | 2 |
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 d9cf24f6e51..c0a4f7f693d 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' "" ''; |