https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
203 B
Nix
8 lines
203 B
Nix
{ lib
|
|
, newScope
|
|
}:
|
|
lib.makeScope newScope (self: {
|
|
libwg = self.callPackage ./libwg.nix { };
|
|
mullvad = self.callPackage ./mullvad.nix { };
|
|
openvpn-mullvad = self.callPackage ./openvpn.nix { };
|
|
})
|