Skip to content

Commit

Permalink
build.nix: Enable passing nixpkgs as an argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrop72 committed Feb 1, 2020
1 parent e837e8d commit 2bfa72d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
with import <nixpkgs> {};
{ pkgs ? (import <nixpkgs> {}) }:
with pkgs;
rec {
badvpnFunc = import ./badvpn.nix;
badvpn = pkgs.callPackage badvpnFunc {};
Expand Down

0 comments on commit 2bfa72d

Please sign in to comment.