about summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/ragel/default.nix
diff options
context:
space:
mode:
authorSebastián Mancilla <smancill@smancill.dev>2021-08-17 20:14:20 -0400
committerSebastián Mancilla <smancill@smancill.dev>2021-08-20 19:08:42 -0400
commit8f94a33b38fdd8b5e1c3e57303855364887ec332 (patch)
treeb2482923cda2bb402fdde538e52dd021bf728d60 /pkgs/development/tools/parsing/ragel/default.nix
parent1d87f9866c857b72f60eb6c9f7f4701a38ac2136 (diff)
treewide: ensure pre/post phase hooks are strings
Some derivations use lib.optional or lib.optionals when setting pre/post
phase hooks. Ensure the proper lib.optionalString is used.
Diffstat (limited to 'pkgs/development/tools/parsing/ragel/default.nix')
-rw-r--r--pkgs/development/tools/parsing/ragel/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/parsing/ragel/default.nix b/pkgs/development/tools/parsing/ragel/default.nix
index 6bbcf36cd2c22..c23b352deceaf 100644
--- a/pkgs/development/tools/parsing/ragel/default.nix
+++ b/pkgs/development/tools/parsing/ragel/default.nix
@@ -15,7 +15,7 @@ let
 
       buildInputs = lib.optional build-manual [ transfig ghostscript tex ];
 
-      preConfigure = lib.optional build-manual ''
+      preConfigure = lib.optionalString build-manual ''
         sed -i "s/build_manual=no/build_manual=yes/g" DIST
       '';