about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2024-05-25 20:47:16 +0200
committerJörg Thalheim <joerg@thalheim.io>2024-05-25 20:47:26 +0200
commitfda42f1beeda22cfe110562f5da943420eb06a09 (patch)
tree2cdb39c3c0cd4969bc596c1ca64dcd9f8281aef8
parent6de51d98ec2ae46730f11845e221aab9d2470a8a (diff)
editline: enable sigstop
SIGSTOP is send when a user presses CTRL-Z.
It will send the application to the background.
Without this option, ctrl-z will be ignored.
With this option, it's possible to suspend
editline-based applications such as Nix.
-rw-r--r--pkgs/development/libraries/editline/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/editline/default.nix b/pkgs/development/libraries/editline/default.nix
index 4f891a24f1f0a..e3c9ba32f3921 100644
--- a/pkgs/development/libraries/editline/default.nix
+++ b/pkgs/development/libraries/editline/default.nix
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
     })
   ];
 
+  configureFlags = [ (lib.enableFeature true "sigstop") ];
+
   nativeBuildInputs = [ autoreconfHook ];
 
   outputs = [ "out" "dev" "man" "doc" ];