Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build.nix')
-rw-r--r--build.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.nix b/build.nix
index 8a5264d..8589ea2 100644
--- a/build.nix
+++ b/build.nix
@@ -1,4 +1,5 @@
-with import <nixpkgs> {};
+{ pkgs ? (import <nixpkgs> {}) }:
+with pkgs;
rec {
badvpnFunc = import ./badvpn.nix;
badvpn = pkgs.callPackage badvpnFunc {};