depot/default.nix
Luke Granger-Brown 79c7b70a96 porcorosso: add javaws bin that drops into a FHS env.
This allows me to use Supermicro's BMC, which appears to drop a
stunnel binary into /tmp and then execute it, which doesn't work
properly in Nix because nothing is where it is expected to be.
2020-05-06 10:01:46 +01:00

19 lines
370 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;
nix = import ./nix ch;
lib = self.third_party.nixpkgs.lib;
})