Merge "make CTRL+Z work in the REPL" into main
This commit is contained in:
commit
adfc22c3e3
7
doc/manual/rl-next/repl-tstp.md
Normal file
7
doc/manual/rl-next/repl-tstp.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
synopsis: "REPL now supports CTRL+Z to suspend"
|
||||||
|
credits: [Qyriad]
|
||||||
|
category: Improvements
|
||||||
|
---
|
||||||
|
|
||||||
|
Editline is now built with SIGTSTP support, so now typing CTRL+Z in the REPL will suspend the REPL and allow it to be resumed later or backgrounded.
|
|
@ -18,6 +18,7 @@
|
||||||
cmake,
|
cmake,
|
||||||
curl,
|
curl,
|
||||||
doxygen,
|
doxygen,
|
||||||
|
editline-lix ? __forDefaults.editline-lix,
|
||||||
editline,
|
editline,
|
||||||
flex,
|
flex,
|
||||||
git,
|
git,
|
||||||
|
@ -73,6 +74,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
editline-lix = editline.overrideAttrs (prev: {
|
||||||
|
configureFlags = prev.configureFlags or [ ] ++ [ (lib.enableFeature true "sigstop") ];
|
||||||
|
});
|
||||||
|
|
||||||
lix-doc = pkgs.callPackage ./lix-doc/package.nix { };
|
lix-doc = pkgs.callPackage ./lix-doc/package.nix { };
|
||||||
build-release-notes = pkgs.callPackage ./maintainers/build-release-notes.nix { };
|
build-release-notes = pkgs.callPackage ./maintainers/build-release-notes.nix { };
|
||||||
},
|
},
|
||||||
|
@ -236,7 +241,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
bzip2
|
bzip2
|
||||||
xz
|
xz
|
||||||
brotli
|
brotli
|
||||||
editline
|
editline-lix
|
||||||
openssl
|
openssl
|
||||||
sqlite
|
sqlite
|
||||||
libarchive
|
libarchive
|
||||||
|
@ -376,7 +381,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
# Export the patched version of boehmgc.
|
# Export the patched version of boehmgc.
|
||||||
# flake.nix exports that into its overlay.
|
# flake.nix exports that into its overlay.
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit (__forDefaults) boehmgc-nix build-release-notes;
|
inherit (__forDefaults) boehmgc-nix editline-lix build-release-notes;
|
||||||
|
|
||||||
# The collection of dependency logic for this derivation is complicated enough that
|
# The collection of dependency logic for this derivation is complicated enough that
|
||||||
# it's easier to parameterize the devShell off an already called package.nix.
|
# it's easier to parameterize the devShell off an already called package.nix.
|
||||||
|
|
Loading…
Reference in a new issue