diff options
| -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 ''; |
