mirror of
https://github.com/nix-community/linuxkit-nix.git
synced 2024-08-17 07:50:37 +03:00
overlay: use super instead of self
Rename "super" to "pkgs" as this is the default-one to use. This change allows for further overrides of the overlay.
This commit is contained in:
parent
5e365a278d
commit
4e6316625a
26
overlay.nix
26
overlay.nix
@ -1,19 +1,19 @@
|
||||
self: super: {
|
||||
pkgsForLinux = import self.path {
|
||||
self: pkgs: {
|
||||
pkgsForLinux = import pkgs.path {
|
||||
system = "x86_64-linux";
|
||||
overlays = [ (import ./overlay.nix) ];
|
||||
};
|
||||
|
||||
hyperkit = self.callPackage ./hyperkit {
|
||||
inherit (self.darwin.apple_sdk.frameworks) Hypervisor vmnet;
|
||||
inherit (self.darwin.apple_sdk.libs) xpc;
|
||||
inherit (self.darwin) libobjc;
|
||||
hyperkit = pkgs.callPackage ./hyperkit {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Hypervisor vmnet;
|
||||
inherit (pkgs.darwin.apple_sdk.libs) xpc;
|
||||
inherit (pkgs.darwin) libobjc;
|
||||
};
|
||||
virtsock = self.callPackage ./virtsock { };
|
||||
vpnkit = self.callPackage ./vpnkit { };
|
||||
go-vpnkit = self.callPackage ./go-vpnkit { };
|
||||
linuxkit = self.callPackage ./linuxkit { };
|
||||
linuxkit-builder = self.callPackage ./linuxkit-builder { };
|
||||
nix-linuxkit-runner = (self.callPackage ./nix-linuxkit-runner/Cargo.nix { }).nix_linuxkit_runner {};
|
||||
nix-script-store-plugin = self.callPackage ./nix-script-store-plugin { };
|
||||
virtsock = pkgs.callPackage ./virtsock { };
|
||||
vpnkit = pkgs.callPackage ./vpnkit { };
|
||||
go-vpnkit = pkgs.callPackage ./go-vpnkit { };
|
||||
linuxkit = pkgs.callPackage ./linuxkit { };
|
||||
linuxkit-builder = pkgs.callPackage ./linuxkit-builder { };
|
||||
nix-linuxkit-runner = (pkgs.callPackage ./nix-linuxkit-runner/Cargo.nix { }).nix_linuxkit_runner {};
|
||||
nix-script-store-plugin = pkgs.callPackage ./nix-script-store-plugin { };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user