From 2e61c609bb4cd20701796856be679f08ea3bc687 Mon Sep 17 00:00:00 2001 From: zsuper Date: Thu, 3 Apr 2025 21:13:45 -0700 Subject: [PATCH] Updated INSTALL.md --- INSTALL.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index c5b6905..2cb85f2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -34,16 +34,30 @@ If you instead want to include it as a flake input, the following `flake.nix` sh ... }: let system = "x86_64-linux"; - pkgs = import nixpkgs {system = "x86_64-linux";}; + pkgs = import nixpkgs { + system = "x86_64-linux"; + overlays = [ + (_: _: { + # Add an overlay with this line to add proxytunnel's default features to your nixpkgs + proxytunnel = proxytunnel.packages.${system}.default; + + # Add an overlay with this line to override options (i.e. disable SSL support) + proxytunnel = proxytunnel.packages.${system}.default.override { use-ssl = false }; + + # For a full list of override options, see `nix/proxytunnel.nix` + }) + ] + }; in { devShells.${system}.default = pkgs.mkShell { - buildInputs = [ + packages = [ # Make the `proxytunnel` binary available in a Nix Shell proxytunnel.packages.${system}.default # And include any other packages as desired... pkgs.gcc pkgs.glibc.dev + # ... ]; }; };