depot/default.nix
Luke Granger-Brown 1006e41bfb ops/nixos/porcorosso: create
Summary:
Adds porcorosso to the depot, and also adds the supporting Nix architecture required to make this work.

This also tests that encryption is working correctly.

Reviewers: tazjin

Reviewed By: tazjin

Subscribers: tazjin

Differential Revision: https://phab.lukegb.com/D8
2020-04-30 05:49:19 +01:00

18 lines
343 B
Nix

{ ... }:
let
fix = f: let x = f x; in x;
config = depot: {
inherit depot;
pkgs = depot.third_party.nixpkgs;
};
in fix (self:
let ch = (self.config // { inherit (self) lib; });
in {
config = config self;
third_party = import ./third_party ch;
ops = import ./ops ch;
lib = self.third_party.nixpkgs.lib;
})