Created
September 8, 2016 20:42
-
-
Save sleexyz/a90f0ff53818e9f5831aa58bb822d3dd to your computer and use it in GitHub Desktop.
ngrok fhsuserenv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| with import <nixpkgs> {}: | |
| let fhs = pkgs.buildFHSUserEnv { | |
| name = "ngrok-env"; | |
| targetPkgs = pkgs: with pkgs; | |
| [ glibc | |
| ]; | |
| }; | |
| in pkgs.stdenv.mkDerivation { | |
| name = "ngrok"; | |
| buildInputs = [ | |
| fhs | |
| ]; | |
| shellHook = "exec ngrok-env"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment