mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
fixup! nix: develop: add tests for interactive shell
This commit is contained in:
parent
ceab20d056
commit
eaa3629532
2 changed files with 2 additions and 1 deletions
|
@ -45,6 +45,7 @@ if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
|
|||
DAEMON_PATH="${NIX_DAEMON_PACKAGE}/bin:$DAEMON_PATH"
|
||||
fi
|
||||
coreutils=@coreutils@
|
||||
lsof=@lsof@
|
||||
|
||||
export dot=@dot@
|
||||
export SHELL="@bash@"
|
||||
|
|
|
@ -54,7 +54,7 @@ BASH_INTERACTIVE_EXECUTABLE="$PWD/bash-interactive/bin/bash"
|
|||
[[ "$(
|
||||
nix develop --no-write-lock-file .#hello <<EOF
|
||||
export PATH="$PATH"
|
||||
ps --pid $$ --format exe --no-headers
|
||||
$lsof -a -d txt -p \$$ 2>&1 | grep -o '/.*/bash'
|
||||
EOF
|
||||
)" -ef "$BASH_INTERACTIVE_EXECUTABLE" ]]
|
||||
|
||||
|
|
Loading…
Reference in a new issue