release.nix: runCommand

This commit is contained in:
Astro 2019-03-19 23:09:56 +01:00
parent faab0d4546
commit 3928005bbf

View File

@ -3,9 +3,15 @@
rustManifest ? ./nix/channel-rust-nightly.toml rustManifest ? ./nix/channel-rust-nightly.toml
}: }:
{ with pkgs;
adc2tcp = pkgs.lib.hydraJob (pkgs.callPackage (import ./default.nix) { let
adc2tcp = callPackage (import ./default.nix) {
inherit rustManifest; inherit rustManifest;
mozillaOverlay = import <mozillaOverlay>; mozillaOverlay = import <mozillaOverlay>;
}); };
in
{
build = runCommand "build-adc2tcp" {
buildInputs = [ adc2tcp ];
};
} }