tvl-depot/third_party/nixery/default.nix
Vincent Ambo 2e30f0d4f5 feat(3p/nixery): Import Nixery repository build targets
Change-Id: I214247a25766dd9284ae8676636c594acb0171c4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3279
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2021-08-06 13:24:48 +00:00

18 lines
458 B
Nix

# Import the Nixery repository as-is, but pass our own package set
# instead of the pin it has.
{ depot, pkgs, ... }:
let
inherit (depot.nix.utils) drvTargets;
commit = "e85b7260b58e5cd60630c0f7e72d4eebe21c6617";
src = pkgs.fetchFromGitHub {
owner = "google";
repo = "nixery";
rev = commit;
sha256 = "1f459syg0ssw4l51yii83gq12gcsmdpzdq4kd2wj2qry6z16ayj4";
};
in drvTargets (import src {
inherit pkgs;
commitHash = _: commit;
})