summary refs log tree commit diff
path: root/pkgs/tools/networking/dropbear/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-25 14:40:10 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-25 14:40:10 +0000
commite1a78aa1a0d9caf2727810c5796517dc75a0bf1e (patch)
tree5b100fb36859f78bc3de5631438c7758bcc2fbea /pkgs/tools/networking/dropbear/default.nix
parentd7325f69ddd11b569053f1373f9e3eb471b79d18 (diff)
downloadnixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.tar
nixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.tar.gz
nixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.tar.bz2
nixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.tar.lz
nixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.tar.xz
nixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.tar.zst
nixpkgs-e1a78aa1a0d9caf2727810c5796517dc75a0bf1e.zip
Making dropbear sessions inherit the PATH
svn path=/nixpkgs/trunk/; revision=26967
Diffstat (limited to 'pkgs/tools/networking/dropbear/default.nix')
-rw-r--r--pkgs/tools/networking/dropbear/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dropbear/default.nix b/pkgs/tools/networking/dropbear/default.nix
index 986c9806591..836778673e1 100644
--- a/pkgs/tools/networking/dropbear/default.nix
+++ b/pkgs/tools/networking/dropbear/default.nix
@@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
 
   configureFlags = stdenv.lib.optional enableStatic "LDFLAGS=-static";
 
+  patches = [
+    # Allow sessions to inherit the PATH from the parent dropbear.
+    # Otherwise they only get the usual /bin:/usr/bin kind of PATH
+    ./pass-path.patch
+  ];
+
   buildInputs = [ zlib ];
 
   meta = {