bashdb: improve & build for darwin
- Pull in the normal bash in buildInputs (instead of bashMinimal which was implicit). This avoids various runtime errors. - Enable auto update with nix-update. - Make available for unix (including darwin).
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
perl,
|
||||
|
||||
python3,
|
||||
bash,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -35,6 +37,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = [
|
||||
# used at runtime by term-highlight.py
|
||||
(python3.withPackages (ps: [ ps.pygments ]))
|
||||
bash
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
@@ -43,6 +46,8 @@ stdenv.mkDerivation {
|
||||
"--with-dbg-main=${placeholder "out"}/share/bashdb/bashdb-main.inc"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://bashdb.sourceforge.net/";
|
||||
description = "A gdb-like debugger for bash";
|
||||
@@ -55,6 +60,6 @@ stdenv.mkDerivation {
|
||||
maintainers = with lib.maintainers; [
|
||||
jk
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user