mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 14:12:32 -08:00
Bump plan9netshell for go4org/plan9netshell@f7dfc18b3a, which fixes interactive shells (broken since Go 1.25 by syscall.Exec), ^C, and hangup on disconnect. Also stop creating the Plan 9 incubator with exec.CommandContext, which killed it on any disconnect, unlike the graceful disconnect semantics the Unix monitor path now has. For PTY sessions that orphaned the shell and its foreground job. Now closing its stdio makes netshell hang up the shell instead. Updates #5794 Change-Id: I95cbca4997a6700c14d022fbf0d0c42486840782 Signed-off-by: Brad Fitzpatrick <[email protected]>
20 lines
788 B
Nix
20 lines
788 B
Nix
# This is a shell.nix file used to describe the environment that
|
|
# tailscale needs for development.
|
|
#
|
|
# For more information about this and why this file is useful, see here:
|
|
# https://nixos.org/guides/nix-pills/developing-with-nix-shell.html
|
|
#
|
|
# Also look into direnv: https://direnv.net/, this can make it so that you can
|
|
# automatically get your environment set up when you change folders into the
|
|
# project.
|
|
(import (
|
|
let
|
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
in fetchTarball {
|
|
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
|
sha256 = lock.nodes.flake-compat.locked.narHash; }
|
|
) {
|
|
src = ./.;
|
|
}).shellNix
|
|
# nix-direnv cache busting line: sha256-UhlYeMCFqSuP6aLG3D9PFyjXf8ff68HO6MBvu/DDAOQ=
|