aboutsummaryrefslogtreecommitdiff
path: root/package.nix
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-05-23 21:07:35 -0600
committerQyriad <qyriad@qyriad.me>2024-05-24 03:10:12 +0000
commit65da3e7199903d422866a35e5e7ead60d75c380a (patch)
treed3edbcaba4f42418a7f4bf535ebea7b7c0ba5134 /package.nix
parent2b397c66297bab65c2b5719367a414f9a2efb7e7 (diff)
make CTRL+Z work in the REPL
Editline just wasn't being built with --enable-sigstop lol Change-Id: I35a78f74ea100d97f26b2b41990deb373fd9cd9a
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/package.nix b/package.nix
index adb629dd6..c888d67d4 100644
--- a/package.nix
+++ b/package.nix
@@ -18,6 +18,7 @@
cmake,
curl,
doxygen,
+ editline-lix ? __forDefaults.editline-lix,
editline,
flex,
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 { };
build-release-notes = pkgs.callPackage ./maintainers/build-release-notes.nix { };
},
@@ -236,7 +241,7 @@ stdenv.mkDerivation (finalAttrs: {
bzip2
xz
brotli
- editline
+ editline-lix
openssl
sqlite
libarchive
@@ -376,7 +381,7 @@ stdenv.mkDerivation (finalAttrs: {
# Export the patched version of boehmgc.
# flake.nix exports that into its overlay.
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
# it's easier to parameterize the devShell off an already called package.nix.