release.nix: runCommand

master
Astro 2019-03-19 23:09:56 +01:00
parent faab0d4546
commit 3928005bbf
1 changed files with 9 additions and 3 deletions

View File

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