diff options
| author | Joachim Breitner <mail@joachim-breitner.de> | 2023-02-18 20:22:33 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-02-18 21:49:34 +0000 |
| commit | 1a575b856ac86a8bb6cd46f13b925c39342355f0 (patch) | |
| tree | 1cb549d61beb112a1d8baec18591ac3a4546ceb5 | |
| parent | Resurrect patch, use substituteInPlace (diff) | |
| download | nixpkgs-origin/backport-216926-to-release-22.11.tar.gz | |
(cherry picked from commit c7e4b3c969294405ebbeaf1f44d902c3c42da0da)
| -rw-r--r-- | pkgs/tools/graphics/ploticus/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/graphics/ploticus/default.nix b/pkgs/tools/graphics/ploticus/default.nix index db12bad2320b..7735f2a5f492 100644 --- a/pkgs/tools/graphics/ploticus/default.nix +++ b/pkgs/tools/graphics/ploticus/default.nix @@ -32,10 +32,6 @@ stdenv.mkDerivation (finalAttrs: { ./use-gd-package.patch ]; - postPatch = '' - substituteInPlace src/pl.h --subst-var out - ''; - buildInputs = [ zlib libX11 @@ -47,6 +43,10 @@ stdenv.mkDerivation (finalAttrs: { hardeningDisable = [ "format" ]; + postPatch = '' + substituteInPlace src/pl.h --subst-var out + ''; + preBuild = '' cd src ''; |
